summaryrefslogtreecommitdiff
path: root/home/farcall.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/farcall.asm')
-rw-r--r--home/farcall.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/farcall.asm b/home/farcall.asm
index 7c9fe1050..944087465 100644
--- a/home/farcall.asm
+++ b/home/farcall.asm
@@ -31,17 +31,17 @@ FarCall_hl:: ; 2d63
ReturnFarCall:: ; 2d6e
; We want to retain the contents of f.
; To do this, we can pop to bc instead of af.
-
+
ld a, b
ld [wFarCallBCBuffer], a
ld a, c
ld [wFarCallBCBuffer + 1], a
-
+
; Restore the working bank.
pop bc
ld a, b
rst Bankswitch
-
+
ld a, [wFarCallBCBuffer]
ld b, a
ld a, [wFarCallBCBuffer + 1]