mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
11 lines
209 B
NASM
11 lines
209 B
NASM
UpdateSprites::
|
|
ld a, [wUpdateSpritesEnabled]
|
|
dec a
|
|
ret nz
|
|
ld hl, hSkipOAMUpdates
|
|
set 0, [hl]
|
|
homecall _UpdateSprites
|
|
ld hl, hSkipOAMUpdates
|
|
res 0, [hl] ; this prevents v-blank interference - PvK
|
|
ret
|