You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -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:
@@ -11,7 +11,7 @@ LoadPushOAM:: ; 4031
|
||||
ret
|
||||
|
||||
.PushOAM: ; 403f
|
||||
ld a, Sprites / $100
|
||||
ld a, HIGH(Sprites)
|
||||
ld [rDMA], a
|
||||
ld a, (SpritesEnd - Sprites) / 4 ; 40
|
||||
.pushoam_loop
|
||||
|
Reference in New Issue
Block a user