shithub: pokecrystal

Download patch

ref: b04f41da98c9457c1200fdfe1c49ab20af86e3fa
parent: 0eeb00d6ac67199b3343c5a6ddc739b251f7a68f
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Wed Jan 31 07:21:36 EST 2018

enum_start like const_def

--- a/macros/scripts/battle_commands.asm
+++ b/macros/scripts/battle_commands.asm
@@ -181,7 +181,6 @@
 	command startloop               ; ae
 	command curl                    ; af
 
-__enum__ set $fe
-
+	enum_start $fe
 	command endturn                 ; fe
 	command endmove                 ; ff
--- a/macros/scripts/trade_anims.asm
+++ b/macros/scripts/trade_anims.asm
@@ -21,7 +21,7 @@
 	db tradeanim_enter_link_tube_command
 ENDM
 
-__enum__ set $5
+	enum_start $05
 
 	enum tradeanim_exit_link_tube_command ; $05
 tradeanim_exit_link_tube: MACRO
@@ -33,7 +33,7 @@
 	db tradeanim_tube_to_ot_command
 ENDM
 
-__enum__ set $0e
+	enum_start $0e
 
 	enum tradeanim_tube_to_player_command ; $0e
 tradeanim_tube_to_player: MACRO
@@ -40,7 +40,7 @@
 	db tradeanim_tube_to_player_command
 ENDM
 
-__enum__ set $16
+	enum_start $16
 
 	enum tradeanim_sent_to_ot_text_command ; $16
 tradeanim_sent_to_ot_text: MACRO
@@ -92,7 +92,7 @@
 	db tradeanim_scroll_out_right_command
 ENDM
 
-__enum__ set $21
+	enum_start $21
 
 	enum tradeanim_wait_80_command ; $21
 tradeanim_wait_80: MACRO
@@ -119,7 +119,7 @@
 	db tradeanim_wait_anim_command
 ENDM
 
-__enum__ set $27
+	enum_start $27
 
 	enum tradeanim_poof_command ; $27
 tradeanim_poof: MACRO
@@ -185,7 +185,7 @@
 	db mobiletradeanim_sendmon_command
 ENDM
 
-__enum__ set $05
+	enum_start $05
 
 	enum mobiletradeanim_05_command ; $05
 mobiletradeanim_05: MACRO
@@ -207,7 +207,7 @@
 	db mobiletradeanim_receivemon_command
 ENDM
 
-__enum__ set $0b
+	enum_start $0b
 
 	enum mobiletradeanim_showgetmon_command ; $0b
 mobiletradeanim_showgetmon: MACRO