aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-01-28 23:31:15 -0500
committerGitHub <noreply@github.com>2025-01-28 23:31:15 -0500
commitafb899016938d03911eaafb85c7caa1c67680210 (patch)
tree26e5d73301ab16e060c4a16171e0a5aa3c47d732 /engine/battle/core.asm
parentComment on size of union (diff)
downloadpokeyellow-afb899016938d03911eaafb85c7caa1c67680210.tar.gz
pokeyellow-afb899016938d03911eaafb85c7caa1c67680210.tar.xz
pokeyellow-afb899016938d03911eaafb85c7caa1c67680210.zip
Miscellaneous cleanup (#488)
Co-authored-by: SatoMew <SatoMew@users.noreply.github.com>
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index a951a072..4e68b5c5 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -2015,6 +2015,7 @@ DisplayBattleMenu::
call DisplayTextBoxID
; handle menu input if it's not the old man tutorial
ld a, [wBattleType]
+ ASSERT BATTLE_TYPE_OLD_MAN == 1
dec a
jp nz, .handleBattleMenuInput
; the following happens for the old man tutorial