diff options
author | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-09-02 17:53:52 +0100 |
---|---|---|
committer | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-09-02 17:53:52 +0100 |
commit | f74adc80c126bd451767c917d53e7240ebcc7950 (patch) | |
tree | ca7b255c93c4b0921a870f323596e6b13e271b23 /src/battle_records.c | |
parent | 61061548016a66bc1d981e7c5c77f6a849f1486c (diff) |
Format more templates
Diffstat (limited to 'src/battle_records.c')
-rw-r--r-- | src/battle_records.c | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/src/battle_records.c b/src/battle_records.c index 1680f3cc4..fc9826e5b 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[] = _("----"); |