hStackBank -> hTempBank

This commit is contained in:
Rangi
2020-04-06 13:02:23 -04:00
parent 1ec60810b8
commit 10909e6b43
7 changed files with 27 additions and 27 deletions

View File

@@ -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