summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-09-02 15:02:39 +0100
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-09-02 15:02:39 +0100
commit3119aae4b2665052c38b3badaadddd34df91a7ba (patch)
treecc0bb761ea53c0ac166896d547be069ee6bccc90 /src
parentf45c9e75db789c951b6e227ef3291c6801a92a55 (diff)
Format WindowTemplate in berry_tag_screen.c
Diffstat (limited to 'src')
-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
};