Resolve #428: Use HIGH(X)
and LOW(X)
instead of X / $100
and X % $100
or X >> 8
and X & $ff
This commit is contained in:
@@ -6,7 +6,7 @@ CalcLevel: ; 50e1b
|
||||
.next_level
|
||||
inc d
|
||||
ld a, d
|
||||
cp (MAX_LEVEL + 1) % $100
|
||||
cp MAX_LEVEL + 1
|
||||
jr z, .got_level
|
||||
call CalcExpAtLevel
|
||||
push hl
|
||||
|
Reference in New Issue
Block a user