summaryrefslogtreecommitdiff
path: root/home/farcall.asm
diff options
context:
space:
mode:
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 be050c642..3e2d6e549 100644
--- a/home/farcall.asm
+++ b/home/farcall.asm
@@ -2,10 +2,10 @@ FarCall_de::
; Call a:de.
; Preserves other registers.
- ldh [hBuffer], a
+ ldh [hStackBank], a
ldh a, [hROMBank]
push af
- ldh a, [hBuffer]
+ ldh a, [hStackBank]
rst Bankswitch
call .de
jr ReturnFarCall
@@ -18,10 +18,10 @@ FarCall_hl::
; Call a:hl.
; Preserves other registers.
- ldh [hBuffer], a
+ ldh [hStackBank], a
ldh a, [hROMBank]
push af
- ldh a, [hBuffer]
+ ldh a, [hStackBank]
rst Bankswitch
call FarCall_JumpToHL