From 67d1364c7acfd5e8e2256080e16a14cfa59a5abc Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 24 Jun 2018 23:22:50 -0400 Subject: Fix triple newlines left over from removing address comments --- macros/scripts/maps.asm | 2 -- macros/scripts/trade_anims.asm | 1 - 2 files changed, 3 deletions(-) (limited to 'macros/scripts') diff --git a/macros/scripts/maps.asm b/macros/scripts/maps.asm index d5f5b00e1..7f5947a55 100644 --- a/macros/scripts/maps.asm +++ b/macros/scripts/maps.asm @@ -3,7 +3,6 @@ map_id: MACRO db GROUP_\1, MAP_\1 ENDM - scene_script: MACRO ;\1: script pointer dw \1 @@ -75,7 +74,6 @@ object_event: MACRO dw \9 ENDM - trainer: MACRO ;\1: trainer group ;\2: trainer id diff --git a/macros/scripts/trade_anims.asm b/macros/scripts/trade_anims.asm index 633047b82..6227f2022 100644 --- a/macros/scripts/trade_anims.asm +++ b/macros/scripts/trade_anims.asm @@ -166,7 +166,6 @@ tradeanim_wait_180_if_ot_egg: MACRO db tradeanim_wait_180_if_ot_egg_command ENDM - ; Mobile enum_start $01 -- cgit v1.2.3 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