summaryrefslogtreecommitdiff
path: root/src/battle_records.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-09-09 20:30:41 +0200
committerGitHub <noreply@github.com>2018-09-09 20:30:41 +0200
commite21b91cc2f48c4b6bf2cb2d8e97ea1d55c0163bb (patch)
tree78530380aed8ddfdf706824bf2d557152ec8a94c /src/battle_records.c
parent6454740587f9a97105c45d54bf4284015a20d6d1 (diff)
parent135e98a82493b2538c030af9b327cb104e27a3dd (diff)
Merge pull request #12 from Slawter666/factory-data
Move battle factory data to C
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[] = _("----");