Use window constants in party_menu
This commit is contained in:
@@ -122,7 +122,7 @@ static const u8 sFontColorTable[][3] =
|
||||
|
||||
static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
{
|
||||
{
|
||||
{ // Party mon 1
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 3,
|
||||
@@ -131,7 +131,7 @@ static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 3,
|
||||
.baseBlock = 0x63,
|
||||
},
|
||||
{
|
||||
{ // Party mon 2
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 1,
|
||||
@@ -140,7 +140,7 @@ static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 4,
|
||||
.baseBlock = 0xA9,
|
||||
},
|
||||
{
|
||||
{ // Party mon 3
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 4,
|
||||
@@ -149,7 +149,7 @@ static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 5,
|
||||
.baseBlock = 0xDF,
|
||||
},
|
||||
{
|
||||
{ // Party mon 4
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 7,
|
||||
@@ -158,7 +158,7 @@ static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 6,
|
||||
.baseBlock = 0x115,
|
||||
},
|
||||
{
|
||||
{ // Party mon 5
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 10,
|
||||
@@ -167,7 +167,7 @@ static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 7,
|
||||
.baseBlock = 0x14B,
|
||||
},
|
||||
{
|
||||
{ // Party mon 6
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 13,
|
||||
@@ -176,7 +176,7 @@ static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 8,
|
||||
.baseBlock = 0x181,
|
||||
},
|
||||
{
|
||||
[WIN_MSG] = {
|
||||
.bg = 2,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 15,
|
||||
@@ -190,7 +190,7 @@ static const struct WindowTemplate sSinglePartyMenuWindowTemplate[] =
|
||||
|
||||
static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
{
|
||||
{
|
||||
{ // Party mon 1
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 1,
|
||||
@@ -199,7 +199,7 @@ static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 3,
|
||||
.baseBlock = 0x63,
|
||||
},
|
||||
{
|
||||
{ // Party mon 2
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 8,
|
||||
@@ -208,7 +208,7 @@ static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 4,
|
||||
.baseBlock = 0xA9,
|
||||
},
|
||||
{
|
||||
{ // Party mon 3
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 1,
|
||||
@@ -217,7 +217,7 @@ static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 5,
|
||||
.baseBlock = 0xEF,
|
||||
},
|
||||
{
|
||||
{ // Party mon 4
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 5,
|
||||
@@ -226,7 +226,7 @@ static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 6,
|
||||
.baseBlock = 0x125,
|
||||
},
|
||||
{
|
||||
{ // Party mon 5
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 9,
|
||||
@@ -235,7 +235,7 @@ static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 7,
|
||||
.baseBlock = 0x15B,
|
||||
},
|
||||
{
|
||||
{ // Party mon 6
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 13,
|
||||
@@ -244,7 +244,7 @@ static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
.paletteNum = 8,
|
||||
.baseBlock = 0x191,
|
||||
},
|
||||
{
|
||||
[WIN_MSG] = {
|
||||
.bg = 2,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 15,
|
||||
@@ -258,7 +258,7 @@ static const struct WindowTemplate sDoublePartyMenuWindowTemplate[] =
|
||||
|
||||
static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
{
|
||||
{
|
||||
{ // Party mon 1
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 1,
|
||||
@@ -267,7 +267,7 @@ static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 3,
|
||||
.baseBlock = 0x63,
|
||||
},
|
||||
{
|
||||
{ // Party mon 2
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 8,
|
||||
@@ -276,7 +276,7 @@ static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 4,
|
||||
.baseBlock = 0xA9,
|
||||
},
|
||||
{
|
||||
{ // Party mon 3
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 2,
|
||||
@@ -285,7 +285,7 @@ static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 5,
|
||||
.baseBlock = 0xEF,
|
||||
},
|
||||
{
|
||||
{ // Party mon 4
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 5,
|
||||
@@ -294,7 +294,7 @@ static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 6,
|
||||
.baseBlock = 0x125,
|
||||
},
|
||||
{
|
||||
{ // Party mon 5
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 9,
|
||||
@@ -303,7 +303,7 @@ static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 7,
|
||||
.baseBlock = 0x15B,
|
||||
},
|
||||
{
|
||||
{ // Party mon 6
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 12,
|
||||
@@ -312,7 +312,7 @@ static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 8,
|
||||
.baseBlock = 0x191,
|
||||
},
|
||||
{
|
||||
[WIN_MSG] = {
|
||||
.bg = 2,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 15,
|
||||
@@ -326,7 +326,7 @@ static const struct WindowTemplate sMultiPartyMenuWindowTemplate[] =
|
||||
|
||||
static const struct WindowTemplate sShowcaseMultiPartyMenuWindowTemplate[] =
|
||||
{
|
||||
{
|
||||
{ // Party mon 1
|
||||
.bg = 0,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 2,
|
||||
@@ -335,7 +335,7 @@ static const struct WindowTemplate sShowcaseMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 3,
|
||||
.baseBlock = 0x63,
|
||||
},
|
||||
{
|
||||
{ // Party mon 2
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 3,
|
||||
@@ -344,7 +344,7 @@ static const struct WindowTemplate sShowcaseMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 5,
|
||||
.baseBlock = 0xA9,
|
||||
},
|
||||
{
|
||||
{ // Party mon 3
|
||||
.bg = 0,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 6,
|
||||
@@ -353,7 +353,7 @@ static const struct WindowTemplate sShowcaseMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 6,
|
||||
.baseBlock = 0xDF,
|
||||
},
|
||||
{
|
||||
{ // Party mon 4
|
||||
.bg = 2,
|
||||
.tilemapLeft = 1,
|
||||
.tilemapTop = 11,
|
||||
@@ -362,7 +362,7 @@ static const struct WindowTemplate sShowcaseMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 4,
|
||||
.baseBlock = 0x115,
|
||||
},
|
||||
{
|
||||
{ // Party mon 5
|
||||
.bg = 2,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 12,
|
||||
@@ -371,7 +371,7 @@ static const struct WindowTemplate sShowcaseMultiPartyMenuWindowTemplate[] =
|
||||
.paletteNum = 7,
|
||||
.baseBlock = 0x16B,
|
||||
},
|
||||
{
|
||||
{ // Party mon 6
|
||||
.bg = 2,
|
||||
.tilemapLeft = 12,
|
||||
.tilemapTop = 15,
|
||||
|
||||
Reference in New Issue
Block a user