Skip to content

Commit

Permalink
anim_ret_command is an index in a table after all
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mid-kid committed Jul 28, 2018
1 parent 0aac0f9 commit 595127b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/scripts/battle_anims.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 595127b

Please sign in to comment.