From 04d0490c4c55366220310b9b8e1c4a181e07d842 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sun, 15 Jul 2018 11:56:57 +0200 Subject: [PATCH] Fix anim_ret_command --- engine/battle_anims/anim_commands.asm | 2 +- macros/scripts/battle_anims.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm index e68b7d774..600168a9a 100644 --- a/engine/battle_anims/anim_commands.asm +++ b/engine/battle_anims/anim_commands.asm @@ -284,7 +284,7 @@ RunBattleAnimCommand: .loop call GetBattleAnimByte - cp $ff + cp anim_ret_command jr nz, .not_done_with_anim ; Return from a subroutine. 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