You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
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:
@@ -663,10 +663,10 @@ rept 4
|
||||
add hl, hl
|
||||
endr
|
||||
ld a, l
|
||||
add VTiles0 % $100
|
||||
add LOW(VTiles0)
|
||||
ld l, a
|
||||
ld a, h
|
||||
adc VTiles0 / $100
|
||||
adc HIGH(VTiles0)
|
||||
ld h, a
|
||||
ret
|
||||
; 14418
|
||||
|
||||
Reference in New Issue
Block a user