summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index f2c6b5d77..c9a001cb8 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -730,7 +730,7 @@ BattleCommand_CheckObedience: ; 343db
; risingbadge
bit RISINGBADGE, [hl]
- ld a, MAX_LEVEL + 1
+ ld a, LOW(MAX_LEVEL + 1)
jr nz, .getlevel
; stormbadge