summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2019-06-04 13:31:22 +0200
committermid-kid <esteve.varela@gmail.com>2019-06-04 13:31:22 +0200
commitb6277408a09b24cecd9d982cce8ff98251752f93 (patch)
tree1f2215f57078ac9f1ab72c87143d216046e6b4b5
parent309079524bd5d28883ad7aa707007673180103ae (diff)
Misc fixes
-rw-r--r--data/text/battle.asm3
-rw-r--r--data/text/common_2.asm2
-rw-r--r--engine/pokemon/bills_pc.asm14
-rw-r--r--home/string.asm2
-rw-r--r--mobile/mobile_46.asm6
5 files changed, 13 insertions, 14 deletions
diff --git a/data/text/battle.asm b/data/text/battle.asm
index 56a1cb8e1..722c3e289 100644
--- a/data/text/battle.asm
+++ b/data/text/battle.asm
@@ -414,9 +414,8 @@ BecameConfusedText:
text "<TARGET>"
line "became confused!"
prompt
-; ItemHealedConfusion
-BattleText_ItemHealedConfusion: ; ItemHealedConfusion
+BattleText_ItemHealedConfusion:
text "A @"
text_ram wStringBuffer1
text " rid"
diff --git a/data/text/common_2.asm b/data/text/common_2.asm
index 6e2d21800..29f5dc0bb 100644
--- a/data/text/common_2.asm
+++ b/data/text/common_2.asm
@@ -815,7 +815,7 @@ UnknownText_0x1c0df3::
UnknownText_0x1c0e24::
text "It's @"
- text_ram wBreedMon1
+ text_ram wBreedMon1Nick
text_start
line "that was left with"
cont "the DAY-CARE MAN."
diff --git a/engine/pokemon/bills_pc.asm b/engine/pokemon/bills_pc.asm
index b63e481f6..8dcde72fc 100644
--- a/engine/pokemon/bills_pc.asm
+++ b/engine/pokemon/bills_pc.asm
@@ -241,16 +241,16 @@ BillsPCDepositMenuHeader:
Unreferenced_BillsPCClearThreeBoxes:
hlcoord 0, 0
- ld b, 4
- ld c, 8
+ ld b, 4
+ ld c, 8
call ClearBox
hlcoord 0, 4
ld b, 10
- ld c, 9
+ ld c, 9
call ClearBox
hlcoord 0, 14
- ld b, 2
- ld c, 8
+ ld b, 2
+ ld c, 8
call ClearBox
ret
@@ -1854,7 +1854,7 @@ TryWithdrawPokemon:
ld h, b
ld de, wStringBuffer1
call PlaceString
- ld a, $e7
+ ld a, "!"
ld [bc], a
ld c, 50
call DelayFrames
@@ -1913,7 +1913,7 @@ ReleasePKMN_ByePKMN:
call PlaceString
ld l, c
ld h, b
- ld [hl], $e7
+ ld [hl], "!"
ld c, 50
call DelayFrames
ret
diff --git a/home/string.asm b/home/string.asm
index 702ab50ff..86de2e273 100644
--- a/home/string.asm
+++ b/home/string.asm
@@ -6,7 +6,7 @@ InitString::
InitName::
; Intended for names, so this function is limited to ten characters.
push hl
- ld c, 10
+ ld c, NAME_LENGTH - 1
_InitString::
; if the string pointed to by hl is empty (defined as "zero or more spaces
; followed by a null"), then initialize it to the string pointed to by de.
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm
index 78b728e46..e28cb2aeb 100644
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -3796,9 +3796,9 @@ BattleTowerRoomMenu_WaitForMessage:
call BattleTowerRoomMenu_IncrementJumptable
BattleTowerRoomMenu_DelayRestartMenu:
- ; Loops while (--[wcd50] != 0),
- ; to create some sort of "delay" after the message is written on the screen,
- ; before starting the menu again.
+ ; Loops while (--[wcd50] != 0),
+ ; to create some sort of "delay" after the message is written on the screen,
+ ; before starting the menu again.
ld hl, wcd50
dec [hl]
ret nz