mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Use window constants in berry_tag_screen
This commit is contained in:
parent
b8bf9dea56
commit
f254df9a1a
@ -102,7 +102,7 @@ static const u8 sTextColors[2][3] =
|
|||||||
|
|
||||||
static const struct WindowTemplate sWindowTemplates[] =
|
static const struct WindowTemplate sWindowTemplates[] =
|
||||||
{
|
{
|
||||||
{ // WIN_BERRY_NAME
|
[WIN_BERRY_NAME] = {
|
||||||
.bg = 1,
|
.bg = 1,
|
||||||
.tilemapLeft = 11,
|
.tilemapLeft = 11,
|
||||||
.tilemapTop = 4,
|
.tilemapTop = 4,
|
||||||
@ -111,7 +111,7 @@ static const struct WindowTemplate sWindowTemplates[] =
|
|||||||
.paletteNum = 15,
|
.paletteNum = 15,
|
||||||
.baseBlock = 69,
|
.baseBlock = 69,
|
||||||
},
|
},
|
||||||
{ // WIN_SIZE_FIRM
|
[WIN_SIZE_FIRM] = {
|
||||||
.bg = 1,
|
.bg = 1,
|
||||||
.tilemapLeft = 11,
|
.tilemapLeft = 11,
|
||||||
.tilemapTop = 7,
|
.tilemapTop = 7,
|
||||||
@ -120,7 +120,7 @@ static const struct WindowTemplate sWindowTemplates[] =
|
|||||||
.paletteNum = 15,
|
.paletteNum = 15,
|
||||||
.baseBlock = 85,
|
.baseBlock = 85,
|
||||||
},
|
},
|
||||||
{ // WIN_DESC
|
[WIN_DESC] = {
|
||||||
.bg = 1,
|
.bg = 1,
|
||||||
.tilemapLeft = 4,
|
.tilemapLeft = 4,
|
||||||
.tilemapTop = 14,
|
.tilemapTop = 14,
|
||||||
@ -129,7 +129,7 @@ static const struct WindowTemplate sWindowTemplates[] =
|
|||||||
.paletteNum = 15,
|
.paletteNum = 15,
|
||||||
.baseBlock = 157,
|
.baseBlock = 157,
|
||||||
},
|
},
|
||||||
{ // WIN_BERRY_TAG
|
[WIN_BERRY_TAG] = {
|
||||||
.bg = 0,
|
.bg = 0,
|
||||||
.tilemapLeft = 2,
|
.tilemapLeft = 2,
|
||||||
.tilemapTop = 0,
|
.tilemapTop = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user