summaryrefslogtreecommitdiff
path: root/src/egg_hatch.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/egg_hatch.c
parent6454740587f9a97105c45d54bf4284015a20d6d1 (diff)
parent135e98a82493b2538c030af9b327cb104e27a3dd (diff)
Merge pull request #12 from Slawter666/factory-data
Move battle factory data to C
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index f72ca04a3..d56f03028 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -253,13 +253,27 @@ static const struct BgTemplate sBgTemplates_EggHatch[2] =
static const struct WindowTemplate sWinTemplates_EggHatch[2] =
{
- {0, 2, 0xF, 0x1A, 4, 0, 0x40},
+ {
+ .priority = 0,
+ .tilemapLeft = 2,
+ .tilemapTop = 15,
+ .width = 26,
+ .height = 4,
+ .paletteNum = 0,
+ .baseBlock = 64
+ },
DUMMY_WIN_TEMPLATE
};
static const struct WindowTemplate sYesNoWinTemplate =
{
- 0, 0x15, 9, 5, 4, 0xF, 0x1A8
+ .priority = 0,
+ .tilemapLeft = 21,
+ .tilemapTop = 9,
+ .width = 5,
+ .height = 4,
+ .paletteNum = 15,
+ .baseBlock = 424
};
static const s16 sEggShardVelocities[][2] =