LOW(MAX_LEVEL + 1) would still fail for MAX_LEVEL = 255, so don't try supporting it here

This commit is contained in:
Remy Oukaour 2017-12-25 16:21:31 -05:00
parent 85aa236c34
commit 29b41068cb

View File

@ -730,7 +730,7 @@ BattleCommand_CheckObedience: ; 343db
; risingbadge
bit RISINGBADGE, [hl]
ld a, LOW(MAX_LEVEL + 1)
ld a, MAX_LEVEL + 1
jr nz, .getlevel
; stormbadge