summaryrefslogtreecommitdiff
path: root/src/berry_tag_screen.c
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-09-07 11:50:23 +0100
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-09-07 11:50:23 +0100
commit9dec2bdef891653d10060a45417609c4d31b14c7 (patch)
treef9080cfc922a15570aeeee98d1ff695596e55ccb /src/berry_tag_screen.c
parentbc42c5054c335f4de8a6b43135673ce931991c3e (diff)
parentef62393289b7a1d2e20fe195e24830d5c1f2f973 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into spritesheet
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 fb4bf6817..0c13e7085 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
};