summaryrefslogtreecommitdiff
path: root/src/text_window.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2021-11-03 20:49:14 -0400
committerGitHub <noreply@github.com>2021-11-03 20:49:14 -0400
commit7940f121f66bb0ebe0932bc642c3d9b4015f79a7 (patch)
tree12e56d31471fc2506a4d03c6ca1c52c717b6b6ff /src/text_window.c
parent6bdf6f25f4b24207cd17b25b5d7f4b68da48fcc0 (diff)
parent3e49ac804b53cdb4d39b4f92de949eb858efcee4 (diff)
Merge pull request #1539 from GriffinRichards/doc-finalmisc
Document files with a few remaining symbols
Diffstat (limited to 'src/text_window.c')
-rw-r--r--src/text_window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text_window.c b/src/text_window.c
index 864bd0831..798b791ce 100644
--- a/src/text_window.c
+++ b/src/text_window.c
@@ -6,7 +6,6 @@
#include "bg.h"
#include "graphics.h"
-// const rom data
const u8 gTextWindowFrame1_Gfx[] = INCBIN_U8("graphics/text_window/1.4bpp");
static const u8 sTextWindowFrame2_Gfx[] = INCBIN_U8("graphics/text_window/2.4bpp");
static const u8 sTextWindowFrame3_Gfx[] = INCBIN_U8("graphics/text_window/3.4bpp");
@@ -190,7 +189,8 @@ const u16 *GetOverworldTextboxPalettePtr(void)
return gMessageBox_Pal;
}
-void sub_8098C6C(u8 bg, u16 destOffset, u8 palOffset)
+// Effectively LoadUserWindowBorderGfx but specifying the bg directly instead of a window from that bg
+void LoadUserWindowBorderGfxOnBg(u8 bg, u16 destOffset, u8 palOffset)
{
LoadBgTiles(bg, sWindowFrames[gSaveBlock2Ptr->optionsWindowFrameType].tiles, 0x120, destOffset);
LoadPalette(GetWindowFrameTilesPal(gSaveBlock2Ptr->optionsWindowFrameType)->pal, palOffset, 0x20);