summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2019-09-23 15:09:49 +0200
committermid-kid <esteve.varela@gmail.com>2019-10-21 00:42:36 +0200
commit7111ae8e582996f2b6ef36427cf54e0c168593ae (patch)
tree4cff533a94f6936680aaf73b8c91f7b4d92aadc9 /mobile
parent29deef86f810c00cc28b3afd9821b26febcde1d5 (diff)
Fix some mobile script and map sign things
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_5f.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm
index d4a7fcd62..c4fae15ac 100644
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -3615,8 +3615,8 @@ _RunMobileScript:
dw Function17f220 ; 5
dw Function17f27b ; 6
dw Function17f2cb ; 7
- dw Function17f2ff ; 8
- dw Function17f334 ; 9
+ dw MobileScript_PlayerName ; 8
+ dw MobileScript_Prefecture ; 9
dw Function17f382 ; a
dw Function17f3c9 ; b
dw Function17f3f0 ; c
@@ -4068,7 +4068,7 @@ Function17f2cb:
and a
ret
-Function17f2ff:
+MobileScript_PlayerName:
pop hl
push bc
ld a, [hli]
@@ -4080,7 +4080,7 @@ Function17f2ff:
ldh [rSVBK], a
ld hl, wPlayerName
ld de, wc608
- ld bc, $6
+ ld bc, NAME_LENGTH_JAPANESE
call CopyBytes
ld a, $4
ldh [rSVBK], a
@@ -4097,7 +4097,7 @@ Function17f2ff:
and a
ret
-Function17f334:
+MobileScript_Prefecture:
pop hl
push bc
ld a, [hli]
@@ -4118,9 +4118,9 @@ Function17f334:
jr .asm_17f35d
.asm_17f355
- ld a, $5
+ ld a, BANK(s5_b2f3)
call GetSRAMBank
- ld a, [$b2f3]
+ ld a, [s5_b2f3]
.asm_17f35d
ld c, a
@@ -4161,9 +4161,9 @@ Function17f382:
jr .asm_17f3ab
.asm_17f3a3
- ld a, $5
+ ld a, BANK(s5_b2f4)
call GetSRAMBank
- ld de, $b2f4
+ ld de, s5_b2f4
.asm_17f3ab
ld a, PRINTNUM_LEADINGZEROS | 2
@@ -4195,7 +4195,7 @@ Function17f3c9:
push hl
ld hl, wc708
ld de, wcd36
- ld bc, $c
+ ld bc, 12
call CopyBytes
pop bc
pop de