Misc fixes

This commit is contained in:
mid-kid 2019-06-04 13:31:22 +02:00
parent 309079524b
commit b6277408a0
5 changed files with 13 additions and 14 deletions

View File

@ -414,9 +414,8 @@ BecameConfusedText:
text "<TARGET>" text "<TARGET>"
line "became confused!" line "became confused!"
prompt prompt
; ItemHealedConfusion
BattleText_ItemHealedConfusion: ; ItemHealedConfusion BattleText_ItemHealedConfusion:
text "A @" text "A @"
text_ram wStringBuffer1 text_ram wStringBuffer1
text " rid" text " rid"

View File

@ -815,7 +815,7 @@ UnknownText_0x1c0df3::
UnknownText_0x1c0e24:: UnknownText_0x1c0e24::
text "It's @" text "It's @"
text_ram wBreedMon1 text_ram wBreedMon1Nick
text_start text_start
line "that was left with" line "that was left with"
cont "the DAY-CARE MAN." cont "the DAY-CARE MAN."

View File

@ -241,16 +241,16 @@ BillsPCDepositMenuHeader:
Unreferenced_BillsPCClearThreeBoxes: Unreferenced_BillsPCClearThreeBoxes:
hlcoord 0, 0 hlcoord 0, 0
ld b, 4 ld b, 4
ld c, 8 ld c, 8
call ClearBox call ClearBox
hlcoord 0, 4 hlcoord 0, 4
ld b, 10 ld b, 10
ld c, 9 ld c, 9
call ClearBox call ClearBox
hlcoord 0, 14 hlcoord 0, 14
ld b, 2 ld b, 2
ld c, 8 ld c, 8
call ClearBox call ClearBox
ret ret
@ -1854,7 +1854,7 @@ TryWithdrawPokemon:
ld h, b ld h, b
ld de, wStringBuffer1 ld de, wStringBuffer1
call PlaceString call PlaceString
ld a, $e7 ld a, "!"
ld [bc], a ld [bc], a
ld c, 50 ld c, 50
call DelayFrames call DelayFrames
@ -1913,7 +1913,7 @@ ReleasePKMN_ByePKMN:
call PlaceString call PlaceString
ld l, c ld l, c
ld h, b ld h, b
ld [hl], $e7 ld [hl], "!"
ld c, 50 ld c, 50
call DelayFrames call DelayFrames
ret ret

View File

@ -6,7 +6,7 @@ InitString::
InitName:: InitName::
; Intended for names, so this function is limited to ten characters. ; Intended for names, so this function is limited to ten characters.
push hl push hl
ld c, 10 ld c, NAME_LENGTH - 1
_InitString:: _InitString::
; if the string pointed to by hl is empty (defined as "zero or more spaces ; 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. ; followed by a null"), then initialize it to the string pointed to by de.

View File

@ -3796,9 +3796,9 @@ BattleTowerRoomMenu_WaitForMessage:
call BattleTowerRoomMenu_IncrementJumptable call BattleTowerRoomMenu_IncrementJumptable
BattleTowerRoomMenu_DelayRestartMenu: BattleTowerRoomMenu_DelayRestartMenu:
; Loops while (--[wcd50] != 0), ; Loops while (--[wcd50] != 0),
; to create some sort of "delay" after the message is written on the screen, ; to create some sort of "delay" after the message is written on the screen,
; before starting the menu again. ; before starting the menu again.
ld hl, wcd50 ld hl, wcd50
dec [hl] dec [hl]
ret nz ret nz