summaryrefslogtreecommitdiff
path: root/home/handshake.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/handshake.asm
parentc5fb2c947ffcdd0ddd80319a24a6acbe828d9598 (diff)
parent5d94fb22ed0e4c9edfca506b80f50ef71fd78664 (diff)
Merge pull request #338 from PikalaxALT/master
Battle anims, HP Bar anim
Diffstat (limited to 'home/handshake.asm')
-rw-r--r--home/handshake.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/home/handshake.asm b/home/handshake.asm
index e53e78a5b..2f067e7f6 100644
--- a/home/handshake.asm
+++ b/home/handshake.asm
@@ -16,35 +16,35 @@ AskSerial:: ; 2063
ld a, [wc2d4]
bit 0, a
ret z
-
+
ld a, [wc2d5]
and a
ret nz
-
+
; once every 6 frames
ld hl, wca8a
inc [hl]
ld a, [hl]
cp 6
ret c
-
+
xor a
ld [hl], a
-
+
ld a, $c
ld [wc2d5], a
-
+
; handshake
ld a, $88
ld [rSB], a
-
+
; switch to internal clock
ld a, %00000001
ld [rSC], a
-
+
; start transfer
ld a, %10000001
ld [rSC], a
-
+
ret
; 208a