summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/joypad.asm22
-rw-r--r--home/map.asm4
-rw-r--r--home/text.asm8
3 files changed, 17 insertions, 17 deletions
diff --git a/home/joypad.asm b/home/joypad.asm
index 78a1ac143..aa7d092af 100644
--- a/home/joypad.asm
+++ b/home/joypad.asm
@@ -331,7 +331,7 @@ Functiona57:: ; a57
jr z, .asm_a63
ld a, [hJoyDown]
.asm_a63
- ld [$ffa9], a
+ ld [hJoyLast], a
ld a, [hJoyPressed]
and a
jr z, .asm_a70
@@ -344,7 +344,7 @@ Functiona57:: ; a57
and a
jr z, .asm_a7a
xor a
- ld [$ffa9], a
+ ld [hJoyLast], a
ret
.asm_a7a
@@ -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
diff --git a/home/map.asm b/home/map.asm
index 8dccf51a0..1deb6c3d2 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -207,10 +207,10 @@ endr
Function222a:: ; 222a
ld a, $fa
- ld [$ff9f], a
+ ld [hMapEntryMethod], a
callba RunMapSetupScript
xor a
- ld [$ff9f], a
+ ld [hMapEntryMethod], a
ret
; 2238
diff --git a/home/text.asm b/home/text.asm
index fdbafec22..79f85d38b 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -16,7 +16,7 @@ ClearBox:: ; fb6
ld a, " "
-Functionfb8::
+FillBoxWithByte::
.col
push bc
push hl
@@ -273,7 +273,7 @@ endm
dict $24, PlacePOKE
dict $25, NextChar
dict2 $1f, " "
- dict $5f, Char5F
+ dict "<DEXEND>", PlaceDexEnd
dict "<TARGET>", PlaceMoveTargetsName
dict "<USER>", PlaceMoveUsersName
dict "<ENEMY>", PlaceEnemysName
@@ -590,7 +590,7 @@ ContText:: ; 1345
; 1356
-Char5F:: ; 1356
+PlaceDexEnd:: ; 1356
; Legacy: ends a Pokédex entry (Red).
; Dex entries are now regular strings.
ld [hl], "."
@@ -972,7 +972,7 @@ Text_09:: ; 14d2
ld a, b
and $f0
swap a
- set 6, a
+ set PRINTNUM_RIGHTALIGN_F, a
ld b, a
call PrintNum
ld b, h