You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Optimize some HRAM usage
This commit is contained in:
@@ -193,9 +193,9 @@ BattleAnimDelayFrame:
|
||||
; Like DelayFrame but wastes battery life.
|
||||
|
||||
ld a, 1
|
||||
ld [wVBlankOccurred], a
|
||||
ldh [hVBlankOccurred], a
|
||||
.wait
|
||||
ld a, [wVBlankOccurred]
|
||||
ldh a, [hVBlankOccurred]
|
||||
and a
|
||||
jr nz, .wait
|
||||
ret
|
||||
|
Reference in New Issue
Block a user