summaryrefslogtreecommitdiff
path: root/src/battle_records.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle_records.c')
-rw-r--r--src/battle_records.c21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/battle_records.c b/src/battle_records.c
index 762cb8aae..feaec74db 100644
--- a/src/battle_records.c
+++ b/src/battle_records.c
@@ -64,11 +64,28 @@ static const struct BgTemplate sTrainerHillRecordsBgTemplates[] =
static const struct WindowTemplate sTrainerHillRecordsWindowTemplates[] =
{
- {0x0, 0x2, 0x1, 0x1A, 0x12, 0xF, 0x14},
+ {
+ .priority = 0,
+ .tilemapLeft = 2,
+ .tilemapTop = 1,
+ .width = 26,
+ .height = 18,
+ .paletteNum = 15,
+ .baseBlock = 20
+ },
DUMMY_WIN_TEMPLATE
};
-static const struct WindowTemplate sLinkBattleRecordsWindow = {0x0, 0x2, 0x1, 0x1A, 0x11, 0xF, 0x1};
+static const struct WindowTemplate sLinkBattleRecordsWindow =
+{
+ .priority = 0,
+ .tilemapLeft = 2,
+ .tilemapTop = 1,
+ .width = 26,
+ .height = 17,
+ .paletteNum = 15,
+ .baseBlock = 1
+};
static const u8 sText_DashesNoPlayer[] = _("-------");
static const u8 sText_DashesNoScore[] = _("----");