diff options
author | mid-kid <esteve.varela@gmail.com> | 2018-07-28 12:14:04 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2018-07-28 12:14:04 +0200 |
commit | 595127ba65317674c6f6d6d469d645df0fa40fe6 (patch) | |
tree | 75831b51ebc1fc0d181eff477c3464292e2d479d | |
parent | 0aac0f9cfc5bc95b378d0c33cb047f136cd361b7 (diff) |
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.
-rw-r--r-- | macros/scripts/battle_anims.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/scripts/battle_anims.asm b/macros/scripts/battle_anims.asm index f25b6da22..76300e78f 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 |