diff options
Diffstat (limited to 'home/farcall.asm')
-rw-r--r-- | home/farcall.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/home/farcall.asm b/home/farcall.asm index 31f62916..b3dac5bf 100644 --- a/home/farcall.asm +++ b/home/farcall.asm @@ -11,9 +11,9 @@ FarCall_hl:: ; 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 @@ -21,9 +21,9 @@ FarCall_hl:: 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 |