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
1 changed files with 1 additions and 1 deletions

View File

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