This commit is contained in:
dannye 2023-04-19 20:04:38 -05:00
commit 772520c2c2
63 changed files with 4114 additions and 1216 deletions

View file

@ -1,15 +1,17 @@
; copy text of fixed length NAME_LENGTH (like player name, rival name, mon names, ...)
CopyFixedLengthText:
CopyDebugName:
ld bc, NAME_LENGTH
jp CopyData
SetDefaultNamesBeforeTitlescreen::
ld hl, NintenText
PrepareTitleScreen::
; These debug names are already copied later in PrepareOakSpeech.
; Removing the unused copies below has no apparent impact.
; CopyDebugName can also be safely deleted afterwards.
ld hl, DebugNewGamePlayerName
ld de, wPlayerName
call CopyFixedLengthText
ld hl, SonyText
call CopyDebugName
ld hl, DebugNewGameRivalName
ld de, wRivalName
call CopyFixedLengthText
call CopyDebugName
xor a
ldh [hWY], a
ld [wLetterPrintingDelayFlags], a
@ -395,5 +397,8 @@ PrintGameVersionOnTitleScreen:
VersionOnTitleScreenText:
db $61,$62,$63,$64,$65,$66,$67,$68,"@" ; "Blue Version"
NintenText: db "NINTEN@"
SonyText: db "SONY@"
DebugNewGamePlayerName:
db "NINTEN@"
DebugNewGameRivalName:
db "SONY@"