summaryrefslogtreecommitdiff
path: root/src/hall_of_fame.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-15 00:06:57 -0400
committerGitHub <noreply@github.com>2020-08-15 00:06:57 -0400
commit25f45ffa8441b0f0a999355c9755782ccb4809dc (patch)
tree203d2ba0f2261d76f683ab4b869627b633808dd4 /src/hall_of_fame.c
parent98e68a81120433348296e6947af5a539ec20ae3c (diff)
parent82e322bb96e4f7ecd59d536bdb8315edab61f9b6 (diff)
Merge pull request #1125 from GriffinRichards/doc-namingscr
Document naming screen
Diffstat (limited to 'src/hall_of_fame.c')
-rw-r--r--src/hall_of_fame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hall_of_fame.c b/src/hall_of_fame.c
index f4c971b0b..19217ae85 100644
--- a/src/hall_of_fame.c
+++ b/src/hall_of_fame.c
@@ -702,7 +702,7 @@ static void Task_Hof_DisplayPlayer(u8 taskId)
gTasks[taskId].tPlayerSpriteID = CreateTrainerPicSprite(PlayerGenderToFrontTrainerPicId_Debug(gSaveBlock2Ptr->playerGender, TRUE), 1, 120, 72, 6, 0xFFFF);
AddWindow(&sHof_WindowTemplate);
LoadWindowGfx(1, gSaveBlock2Ptr->optionsWindowFrameType, 0x21D, 0xD0);
- LoadPalette(stdpal_get(1), 0xE0, 0x20);
+ LoadPalette(GetTextWindowPalette(1), 0xE0, 0x20);
gTasks[taskId].tFrameCount = 120;
gTasks[taskId].func = Task_Hof_WaitAndPrintPlayerInfo;
}