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 567272651..5e8da29a3 100644
--- a/home/farcall.asm
+++ b/home/farcall.asm
@@ -28,9 +28,9 @@ ReturnFarCall::
; 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 [wFarCallBC], a
ld a, c
- ld [wFarCallBCBuffer + 1], a
+ ld [wFarCallBC + 1], a
; Restore the working bank.
pop bc
@@ -38,9 +38,9 @@ ReturnFarCall::
rst Bankswitch
; Restore the contents of bc.
- ld a, [wFarCallBCBuffer]
+ ld a, [wFarCallBC]
ld b, a
- ld a, [wFarCallBCBuffer + 1]
+ ld a, [wFarCallBC + 1]
ld c, a
ret