Port homecall macro

This commit is contained in:
pikalaxalt
2016-05-27 10:41:59 -04:00
parent bfe2f6d52e
commit 789ebc7304
8 changed files with 24 additions and 77 deletions

View File

@@ -341,25 +341,11 @@ Special_ReloadSpritesNoPalettes:: ; d91
FarCallSwapTextboxPalettes:: ; db1
ld a, [hROMBank]
push af
ld a, BANK(SwapTextboxPalettes)
rst Bankswitch
call SwapTextboxPalettes
pop af
rst Bankswitch
homecall SwapTextboxPalettes
ret
; dbd
FarCallScrollBGMapPalettes:: ; dbd
ld a, [hROMBank]
push af
ld a, BANK(ScrollBGMapPalettes)
rst Bankswitch
call ScrollBGMapPalettes
pop af
rst Bankswitch
homecall ScrollBGMapPalettes
ret
; dc9