You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
LY_BLANK and rLCDC constants
This commit is contained in:
@@ -23,8 +23,8 @@ GetSquareRoot: ; 13b87
|
||||
ret
|
||||
|
||||
.Squares: ; 13b98
|
||||
root set 1
|
||||
root = 1
|
||||
rept $ff
|
||||
dw root*root
|
||||
root set root+1
|
||||
dw root * root
|
||||
root = root + 1
|
||||
endr
|
||||
|
@@ -17,7 +17,7 @@ PhoneRing_CopyTilemapAtOnce: ; 4d188
|
||||
ld [hMapAnims], a
|
||||
.wait
|
||||
ld a, [rLY]
|
||||
cp $8f
|
||||
cp LY_VBLANK - 1
|
||||
jr c, .wait
|
||||
|
||||
di
|
||||
@@ -31,7 +31,7 @@ PhoneRing_CopyTilemapAtOnce: ; 4d188
|
||||
call .CopyTilemapAtOnce
|
||||
.wait2
|
||||
ld a, [rLY]
|
||||
cp $8f
|
||||
cp LY_VBLANK - 1
|
||||
jr c, .wait2
|
||||
ei
|
||||
|
||||
|
Reference in New Issue
Block a user