summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-11 00:05:20 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-11 00:34:50 -0500
commitd979ac3bf3924051de8bb4154e8398083535eabb (patch)
tree9fbdace0b39e7ce58289720ea556817d7479a204 /src/scrcmd.c
parent6f1d2b870c1426e7f405f3b3bc4ff2b9edb380e1 (diff)
Document main_menu state machine, name window constants
The new names for the constants (and newly named functions) give a much better understanding of what the window system is trying to do.
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 837259a7f..4cc8df82e 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1519,7 +1519,7 @@ bool8 ScrCmd_braillemessage(struct ScriptContext *ctx)
LoadUserWindowBorderGfx(gUnknown_03000F30, 0x214, 0xE0);
NewMenuHelpers_DrawStdWindowFrame(gUnknown_03000F30, 0);
PutWindowTilemap(gUnknown_03000F30);
- FillWindowPixelBuffer(gUnknown_03000F30, 0x11);
+ FillWindowPixelBuffer(gUnknown_03000F30, PIXEL_BUFFER_WHITE);
AddTextPrinterParameterized(gUnknown_03000F30, 6, gStringVar4, xText, yText, 0xFF, 0x0);
CopyWindowToVram(gUnknown_03000F30, 3);
return FALSE;
@@ -2254,7 +2254,7 @@ bool8 ScrCmd_setmonmetlocation(struct ScriptContext *ctx)
void sub_809BDB4(void)
{
- sub_819746C(gUnknown_03000F30, 1);
+ ClearWindowAndBorder(gUnknown_03000F30, 1);
RemoveWindow(gUnknown_03000F30);
}