aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-09-29 11:24:35 -0400
committerGitHub <noreply@github.com>2024-09-29 10:24:35 -0500
commit7d9858fec42d0cef1f0349c3cef250003c5ed66d (patch)
tree7cf362d6e8949e098159cb7778bbcf40301ad4de /engine/battle
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-7d9858fec42d0cef1f0349c3cef250003c5ed66d.tar.gz
pokeyellow-7d9858fec42d0cef1f0349c3cef250003c5ed66d.tar.xz
pokeyellow-7d9858fec42d0cef1f0349c3cef250003c5ed66d.zip
Identify more bit flags (#119)
* Identify more bit flags * Bit serves dual use in debug mode
Diffstat (limited to 'engine/battle')
-rw-r--r--engine/battle/core.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 926910fc..919de01c 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -2820,7 +2820,10 @@ SelectMenuItem_CursorDown:
jp SelectMenuItem
Func_3d4f5:
- bit 3, a
+IF DEF(_DEBUG)
+ ASSERT BIT_START == BIT_TRAINER_BATTLE
+ENDC
+ bit BIT_TRAINER_BATTLE, a
ld a, $0
jr nz, .asm_3d4fd
ld a, $1