summaryrefslogtreecommitdiff
path: root/src/mystery_event_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mystery_event_menu.c')
-rw-r--r--src/mystery_event_menu.c22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/mystery_event_menu.c b/src/mystery_event_menu.c
index 68f31584b..8dcb960b7 100644
--- a/src/mystery_event_menu.c
+++ b/src/mystery_event_menu.c
@@ -42,8 +42,24 @@ static const struct BgTemplate sBgTemplates[] =
static const struct WindowTemplate sWindowTemplates[] =
{
- {0, 4, 15, 22, 4, 14, 20},
- {0, 7, 6, 16, 4, 14, 0x6C},
+ {
+ .priority = 0,
+ .tilemapLeft = 4,
+ .tilemapTop = 15,
+ .width = 22,
+ .height = 4,
+ .paletteNum = 14,
+ .baseBlock = 20
+ },
+ {
+ .priority = 0,
+ .tilemapLeft = 7,
+ .tilemapTop = 6,
+ .width = 16,
+ .height = 4,
+ .paletteNum = 14,
+ .baseBlock = 0x6C
+ },
DUMMY_WIN_TEMPLATE
};
@@ -298,5 +314,5 @@ static void PrintMysteryMenuText(u8 windowId, const u8 *text, u8 x, u8 y, s32 sp
textColor[2] = 3;
FillWindowPixelBuffer(windowId, (textColor[0]) | (textColor[0] << 4));
- AddTextPrinterParameterized2(windowId, 1, x, y, letterSpacing, lineSpacing, textColor, speed, text);
+ AddTextPrinterParameterized4(windowId, 1, x, y, letterSpacing, lineSpacing, textColor, speed, text);
}