summaryrefslogtreecommitdiff
path: root/home/farcall.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-04-06 13:02:23 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-04-06 13:02:23 -0400
commit10909e6b437f6c137c794337e94f32cdc7fe9eb4 (patch)
tree22c38abe4cee26ce3f629ba509e4511398290b07 /home/farcall.asm
parent1ec60810b8226943125c656ff8f0c3f947be7aaa (diff)
hStackBank -> hTempBank
Diffstat (limited to 'home/farcall.asm')
-rw-r--r--home/farcall.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/farcall.asm b/home/farcall.asm
index 3e2d6e549..1c17fb409 100644
--- a/home/farcall.asm
+++ b/home/farcall.asm
@@ -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