summaryrefslogtreecommitdiff
path: root/home/farcall.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2016-04-18 08:01:12 -0400
committeryenatch <yenatch@gmail.com>2016-04-18 08:01:12 -0400
commit7aef59841489ea449b9a34d424c681a4b48b88ab (patch)
tree72d46f1cc076564f62b11f5379960cd745a7fc9a /home/farcall.asm
parentc5fb2c947ffcdd0ddd80319a24a6acbe828d9598 (diff)
parent5d94fb22ed0e4c9edfca506b80f50ef71fd78664 (diff)
Merge pull request #338 from PikalaxALT/master
Battle anims, HP Bar anim
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]