diff options
Diffstat (limited to 'engine/events/bug_contest/judging.asm')
-rwxr-xr-x | engine/events/bug_contest/judging.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/bug_contest/judging.asm b/engine/events/bug_contest/judging.asm index a8cb80efe..c63087397 100755 --- a/engine/events/bug_contest/judging.asm +++ b/engine/events/bug_contest/judging.asm @@ -97,7 +97,7 @@ LoadContestantName: ; 13730 push bc ; Get the Trainer Class name and copy it into wBugContestWinnerName. callfar GetTrainerClassName - ld hl, StringBuffer1 + ld hl, wStringBuffer1 ld de, wBugContestWinnerName ld bc, TRAINER_CLASS_NAME_LENGTH call CopyBytes @@ -121,13 +121,13 @@ LoadContestantName: ; 13730 ld b, a callfar GetTrainerName ; Append the name to wBugContestWinnerName. - ld hl, StringBuffer1 + ld hl, wStringBuffer1 pop de ld bc, NAME_LENGTH - 1 jp CopyBytes .player - ld hl, PlayerName + ld hl, wPlayerName ld de, wBugContestWinnerName ld bc, NAME_LENGTH jp CopyBytes |