summaryrefslogtreecommitdiff
path: root/src/berry_tag_screen.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-09-09 20:31:56 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-09-09 20:31:56 +0200
commitcf8898071d0aa02438be2b1b1d03a6e6b33892be (patch)
tree645e643948653d0ae99a9187aab5e769c1ac3737 /src/berry_tag_screen.c
parent4d1df7ecbe69cf151d00976648aa34faae8cd6e9 (diff)
parente21b91cc2f48c4b6bf2cb2d8e97ea1d55c0163bb (diff)
Merge branch 'decompile_frontier_2' of https://github.com/DizzyEggg/pokeemerald into decompile_frontier_2
Diffstat (limited to 'src/berry_tag_screen.c')
-rw-r--r--src/berry_tag_screen.c40
1 files changed, 36 insertions, 4 deletions
diff --git a/src/berry_tag_screen.c b/src/berry_tag_screen.c
index 7623decd3..d30af944e 100644
--- a/src/berry_tag_screen.c
+++ b/src/berry_tag_screen.c
@@ -101,10 +101,42 @@ static const u8 sTextColors[2][3] =
static const struct WindowTemplate sWindowTemplates[] =
{
- {0x01, 0x0b, 0x04, 0x08, 0x02, 0x0f, 0x0045}, // WIN_BERRY_NAME
- {0x01, 0x0b, 0x07, 0x12, 0x04, 0x0f, 0x0055}, // WIN_SIZE_FIRM
- {0x01, 0x04, 0x0e, 0x19, 0x04, 0x0f, 0x009d}, // WIN_DESC
- {0x00, 0x02, 0x00, 0x08, 0x02, 0x0f, 0x0101}, // WIN_BERRY_TAG
+ { // WIN_BERRY_NAME
+ .priority = 1,
+ .tilemapLeft = 11,
+ .tilemapTop = 4,
+ .width = 8,
+ .height = 2,
+ .paletteNum = 15,
+ .baseBlock = 69,
+ },
+ { // WIN_SIZE_FIRM
+ .priority = 1,
+ .tilemapLeft = 11,
+ .tilemapTop = 7,
+ .width = 18,
+ .height = 4,
+ .paletteNum = 15,
+ .baseBlock = 85,
+ },
+ { // WIN_DESC
+ .priority = 1,
+ .tilemapLeft = 4,
+ .tilemapTop = 14,
+ .width = 25,
+ .height = 4,
+ .paletteNum = 15,
+ .baseBlock = 157,
+ },
+ { // WIN_BERRY_TAG
+ .priority = 0,
+ .tilemapLeft = 2,
+ .tilemapTop = 0,
+ .width = 8,
+ .height = 2,
+ .paletteNum = 15,
+ .baseBlock = 257,
+ },
DUMMY_WIN_TEMPLATE
};