From 595127ba65317674c6f6d6d469d645df0fa40fe6 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sat, 28 Jul 2018 12:14:04 +0200 Subject: [PATCH] anim_ret_command is an index in a table after all For some reason I thought BattleAnim_Ret was never used, due to how the battle anim loop would be exited early from. It seems I was wrong. Removing commands before anim_ret without it being part of the `enum` seems to break things. --- macros/scripts/battle_anims.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/scripts/battle_anims.asm b/macros/scripts/battle_anims.asm index f25b6da2239..76300e78f51 100644 --- a/macros/scripts/battle_anims.asm +++ b/macros/scripts/battle_anims.asm @@ -295,7 +295,7 @@ anim_call: MACRO dw \1 ; address ENDM -anim_ret_command EQU -1 ; $ff + enum anim_ret_command ; $ff anim_ret: MACRO db anim_ret_command ENDM