mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 23:22:26 +13:00
Sync home and macro code with pokeyellow
This commit is contained in:
parent
abaf9fee7c
commit
d3e81422d5
16 changed files with 44 additions and 122 deletions
|
|
@ -2,13 +2,5 @@ UpdateSprites::
|
|||
ld a, [wUpdateSpritesEnabled]
|
||||
dec a
|
||||
ret nz
|
||||
ldh a, [hLoadedROMBank]
|
||||
push af
|
||||
ld a, BANK(_UpdateSprites)
|
||||
ldh [hLoadedROMBank], a
|
||||
ld [MBC1RomBank], a
|
||||
call _UpdateSprites
|
||||
pop af
|
||||
ldh [hLoadedROMBank], a
|
||||
ld [MBC1RomBank], a
|
||||
homecall _UpdateSprites
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue