You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
hStackBank -> hTempBank
This commit is contained in:
@@ -2,10 +2,10 @@ FarCall_de::
|
||||
; Call a:de.
|
||||
; Preserves other registers.
|
||||
|
||||
ldh [hStackBank], a
|
||||
ldh [hTempBank], a
|
||||
ldh a, [hROMBank]
|
||||
push af
|
||||
ldh a, [hStackBank]
|
||||
ldh a, [hTempBank]
|
||||
rst Bankswitch
|
||||
call .de
|
||||
jr ReturnFarCall
|
||||
@@ -18,10 +18,10 @@ FarCall_hl::
|
||||
; Call a:hl.
|
||||
; Preserves other registers.
|
||||
|
||||
ldh [hStackBank], a
|
||||
ldh [hTempBank], a
|
||||
ldh a, [hROMBank]
|
||||
push af
|
||||
ldh a, [hStackBank]
|
||||
ldh a, [hTempBank]
|
||||
rst Bankswitch
|
||||
call FarCall_JumpToHL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user