diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-08-15 00:06:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-15 00:06:57 -0400 |
commit | 25f45ffa8441b0f0a999355c9755782ccb4809dc (patch) | |
tree | 203d2ba0f2261d76f683ab4b869627b633808dd4 /src/text_window.c | |
parent | 98e68a81120433348296e6947af5a539ec20ae3c (diff) | |
parent | 82e322bb96e4f7ecd59d536bdb8315edab61f9b6 (diff) |
Merge pull request #1125 from GriffinRichards/doc-namingscr
Document naming screen
Diffstat (limited to 'src/text_window.c')
-rw-r--r-- | src/text_window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text_window.c b/src/text_window.c index 98fc09e87..864bd0831 100644 --- a/src/text_window.c +++ b/src/text_window.c @@ -49,7 +49,7 @@ static const u16 sTextWindowFrame18_Pal[] = INCBIN_U16("graphics/text_window/18. static const u16 sTextWindowFrame19_Pal[] = INCBIN_U16("graphics/text_window/19.gbapal"); static const u16 sTextWindowFrame20_Pal[] = INCBIN_U16("graphics/text_window/20.gbapal"); -static const u16 sUnknown_0851017C[][16] = +static const u16 sTextWindowPalettes[][16] = { INCBIN_U16("graphics/text_window/message_box.gbapal"), INCBIN_U16("graphics/text_window/text_pal1.gbapal"), @@ -160,7 +160,7 @@ void rbox_fill_rectangle(u8 windowId) FillBgTilemapBufferRect(bgLayer, 0, tilemapLeft - 1, tilemapTop - 1, width + 2, height + 2, 0x11); } -const u16 *stdpal_get(u8 id) +const u16 *GetTextWindowPalette(u8 id) { switch (id) { @@ -182,7 +182,7 @@ const u16 *stdpal_get(u8 id) break; } - return (const u16 *)(sUnknown_0851017C) + id; + return (const u16 *)(sTextWindowPalettes) + id; } const u16 *GetOverworldTextboxPalettePtr(void) |