MAX_LEVEL = 255 should still compile

This commit is contained in:
Remy Oukaour 2017-12-25 15:46:24 -05:00
parent 7dd6c8c3b2
commit 17f45b5c95

View File

@ -6,7 +6,7 @@ CalcLevel: ; 50e1b
.next_level
inc d
ld a, d
cp MAX_LEVEL + 1
cp LOW(MAX_LEVEL + 1)
jr z, .got_level
call CalcExpAtLevel
push hl