mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-21 06:58:45 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
19
home/sprite_updates.asm
Normal file
19
home/sprite_updates.asm
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
DisableSpriteUpdates::
|
||||
xor a
|
||||
ldh [hMapAnims], a
|
||||
ld a, [wVramState]
|
||||
res 0, a
|
||||
ld [wVramState], a
|
||||
xor a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ret
|
||||
|
||||
EnableSpriteUpdates::
|
||||
ld a, $1
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ld a, [wVramState]
|
||||
set 0, a
|
||||
ld [wVramState], a
|
||||
ld a, $1
|
||||
ldh [hMapAnims], a
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue