mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
5efce10789
That should be all of them this time
20 lines
293 B
NASM
20 lines
293 B
NASM
DisableSpriteUpdates::
|
|
xor a
|
|
ld [hMapAnims], a
|
|
ld a, [wVramState]
|
|
res 0, a
|
|
ld [wVramState], a
|
|
ld a, $0
|
|
ld [wSpriteUpdatesEnabled], a
|
|
ret
|
|
|
|
EnableSpriteUpdates::
|
|
ld a, $1
|
|
ld [wSpriteUpdatesEnabled], a
|
|
ld a, [wVramState]
|
|
set 0, a
|
|
ld [wVramState], a
|
|
ld a, $1
|
|
ld [hMapAnims], a
|
|
ret
|