From 04d0490c4c55366220310b9b8e1c4a181e07d842 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sun, 15 Jul 2018 11:56:57 +0200 Subject: Fix anim_ret_command --- macros/scripts/battle_anims.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/scripts') diff --git a/macros/scripts/battle_anims.asm b/macros/scripts/battle_anims.asm index 76300e78f..f25b6da22 100644 --- a/macros/scripts/battle_anims.asm +++ b/macros/scripts/battle_anims.asm @@ -295,7 +295,7 @@ anim_call: MACRO dw \1 ; address ENDM - enum anim_ret_command ; $ff +anim_ret_command EQU -1 ; $ff anim_ret: MACRO db anim_ret_command ENDM -- cgit v1.2.3 From ffa63c51df4d954e5fd9af99f376e1a4837b9dad Mon Sep 17 00:00:00 2001 From: mid-kid Date: Tue, 17 Jul 2018 23:11:17 +0200 Subject: Clean up TX_ commands Some of the TX_ commands didn't use the TX_ prefix for their constants, and the label names were inconsistent. I've chosen to adopt the `TextCommand_` prefix as opposed to `Text_`, as it has a clear difference in namespace compared to the possibly-used `Text_` namespace for actual dialogue text. --- macros/scripts/text.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'macros/scripts') diff --git a/macros/scripts/text.asm b/macros/scripts/text.asm index bff18c7ea..d1fec35db 100644 --- a/macros/scripts/text.asm +++ b/macros/scripts/text.asm @@ -46,9 +46,9 @@ text_low: MACRO db TX_LOW ENDM - enum WAIT_BUTTON ; $06 + enum TX_WAIT_BUTTON ; $06 text_waitbutton: MACRO - db WAIT_BUTTON + db TX_WAIT_BUTTON ENDM enum TX_SCROLL ; $07 @@ -56,9 +56,9 @@ text_scroll: MACRO db TX_SCROLL ENDM - enum START_ASM ; $08 + enum TX_START_ASM ; $08 start_asm: MACRO - db START_ASM + db TX_START_ASM ENDM enum TX_NUM ; $09 -- cgit v1.2.3