mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Complete and improve debug name labels (#408)
This commit is contained in:
parent
e076ee0a40
commit
5c4795d5bc
5 changed files with 28 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
|||
SetDefaultNames:
|
||||
PrepareOakSpeech:
|
||||
ld a, [wLetterPrintingDelayFlags]
|
||||
push af
|
||||
ld a, [wOptions]
|
||||
|
|
@ -22,11 +22,13 @@ SetDefaultNames:
|
|||
ld a, [wOptionsInitialized]
|
||||
and a
|
||||
call z, InitOptions
|
||||
ld hl, NintenText
|
||||
; These debug names are used for StartNewGameDebug.
|
||||
; TestBattle uses the debug names from DebugMenu.
|
||||
ld hl, DebugNewGamePlayerName
|
||||
ld de, wPlayerName
|
||||
ld bc, NAME_LENGTH
|
||||
call CopyData
|
||||
ld hl, SonyText
|
||||
ld hl, DebugNewGameRivalName
|
||||
ld de, wRivalName
|
||||
ld bc, NAME_LENGTH
|
||||
jp CopyData
|
||||
|
|
@ -40,7 +42,7 @@ OakSpeech:
|
|||
call PlayMusic
|
||||
call ClearScreen
|
||||
call LoadTextBoxTilePatterns
|
||||
call SetDefaultNames
|
||||
call PrepareOakSpeech
|
||||
predef InitPlayerData2
|
||||
ld hl, wNumBoxItems
|
||||
ld a, POTION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue