summaryrefslogtreecommitdiff
path: root/home/joypad.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-10-07 13:19:41 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-10-07 13:19:41 -0400
commitedf42a54d5b95780725e50605672fec29a9936f1 (patch)
treec3c9fd0799a1f91a0804a315ec0ffdffaf5b2c13 /home/joypad.asm
parent7176eff7aafda5378305a593c459d158ac27601f (diff)
More labels, including fns responsible for partymon generation
Diffstat (limited to 'home/joypad.asm')
-rw-r--r--home/joypad.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/home/joypad.asm b/home/joypad.asm
index 78a1ac143..c07157376 100644
--- a/home/joypad.asm
+++ b/home/joypad.asm
@@ -354,12 +354,12 @@ Functiona57:: ; a57
; a80
Functiona80:: ; a80
- ld a, [$ffaf]
+ ld a, [hConnectionStripLength]
push af
ld a, [$ffb0]
push af
xor a
- ld [$ffaf], a
+ ld [hConnectionStripLength], a
ld a, $6
ld [$ffb0], a
.asm_a8d
@@ -374,7 +374,7 @@ Functiona80:: ; a80
pop af
ld [$ffb0], a
pop af
- ld [$ffaf], a
+ ld [hConnectionStripLength], a
ret
; aa5
@@ -452,9 +452,9 @@ Functionb06:: ; b06
cp b
pop bc
jr nz, .asm_b27
- ld a, [$ffaf]
+ ld a, [hConnectionStripLength]
dec a
- ld [$ffaf], a
+ ld [hConnectionStripLength], a
ret nz
ld a, [$ffb0]
dec a
@@ -463,20 +463,20 @@ Functionb06:: ; b06
ld a, $7a
ld [hl], a
ld a, $ff
- ld [$ffaf], a
+ ld [hConnectionStripLength], a
ld a, $6
ld [$ffb0], a
ret
.asm_b27
- ld a, [$ffaf]
+ ld a, [hConnectionStripLength]
and a
ret z
dec a
- ld [$ffaf], a
+ ld [hConnectionStripLength], a
ret nz
dec a
- ld [$ffaf], a
+ ld [hConnectionStripLength], a
ld a, [$ffb0]
dec a
ld [$ffb0], a