More support for MAX_LEVEL = 255

(ValidateOTTrademon and Function102bdc have `cp MAX_LEVEL + 1` operations that would still fail with such a correction, so there isn't perfect support.)
This commit is contained in:
Remy Oukaour 2017-12-25 15:52:03 -05:00
parent 17f45b5c95
commit 2e200ce85e
1 changed files with 1 additions and 1 deletions

View File

@ -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