You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Port homecall macro
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user