From 463d79c7c1b945db53b1d4278e3e05a65bbe1ee1 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 7 Aug 2020 02:00:41 -0400 Subject: Start documenting naming screen --- src/frontier_pass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontier_pass.c') diff --git a/src/frontier_pass.c b/src/frontier_pass.c index 757205656..024a954d1 100644 --- a/src/frontier_pass.c +++ b/src/frontier_pass.c @@ -735,7 +735,7 @@ static bool32 InitFrontierPass(void) case 8: LoadPalette(gUnknown_08DE07C8[0], 0, 0x1A0); LoadPalette(gUnknown_08DE07C8[1 + sPassData->trainerStars], 0x10, 0x20); - LoadPalette(stdpal_get(0), 0xF0, 0x20); + LoadPalette(GetTextWindowPalette(0), 0xF0, 0x20); sub_80C629C(); sub_80C6104(sPassData->cursorArea, sPassData->previousCursorArea); if (sPassData->unkE == 1 || sPassData->unkE == 2) @@ -1378,7 +1378,7 @@ static bool32 InitFrontierMap(void) if (FreeTempTileDataBuffersIfPossible()) return FALSE; LoadPalette(gUnknown_08DE07C8[0], 0, 0x1A0); - LoadPalette(stdpal_get(0), 0xF0, 0x20); + LoadPalette(GetTextWindowPalette(0), 0xF0, 0x20); CopyToBgTilemapBuffer(2, gUnknown_08570E00, 0, 0); CopyBgTilemapBufferToVram(2); break; -- cgit v1.2.3