mirror of https://github.com/pret/pokecrystal.git
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:
parent
17f45b5c95
commit
2e200ce85e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue