diff options
| author | SatoMew <SatoMew@users.noreply.github.com> | 2023-02-26 16:14:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-26 11:14:21 -0500 |
| commit | 5c4795d5bc19edd872adf7b17d0c6264eecd6459 (patch) | |
| tree | 5621adc173976098689944e0afa68f664413a44b /engine/movie/oak_speech | |
| parent | Add list assertion to TrainerNames (diff) | |
| download | pokeyellow-5c4795d5bc19edd872adf7b17d0c6264eecd6459.tar.gz pokeyellow-5c4795d5bc19edd872adf7b17d0c6264eecd6459.tar.xz pokeyellow-5c4795d5bc19edd872adf7b17d0c6264eecd6459.zip | |
Complete and improve debug name labels (#408)
Diffstat (limited to 'engine/movie/oak_speech')
| -rw-r--r-- | engine/movie/oak_speech/oak_speech.asm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engine/movie/oak_speech/oak_speech.asm b/engine/movie/oak_speech/oak_speech.asm index 93cdfaab..3a08372d 100644 --- a/engine/movie/oak_speech/oak_speech.asm +++ b/engine/movie/oak_speech/oak_speech.asm @@ -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 |
