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>"
line "became confused!"
prompt
; ItemHealedConfusion
BattleText_ItemHealedConfusion: ; ItemHealedConfusion
BattleText_ItemHealedConfusion:
text "A @"
text_ram wStringBuffer1
text " rid"

View File

@ -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."

View File

@ -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

View File

@ -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.