Clean up contest_opponents.inc

This commit is contained in:
Phlosioneer 2019-03-09 01:38:38 -05:00
parent 5b4b0a245b
commit 153499ed6f
3 changed files with 414 additions and 585 deletions

File diff suppressed because it is too large Load Diff

View File

@ -208,15 +208,17 @@ struct ContestPokemon
{
/*0x00*/ u16 species;
/*0x02*/ u8 nickname[POKEMON_NAME_LENGTH + 1];
/*0x0D*/ u8 trainerName[8];
/*0x0D*/ u8 trainerName[PLAYER_NAME_LENGTH + 1];
/*0x15*/ u8 trainerGfxId;
// Temp note: 2 bytes of padding
/*0x18*/ u32 flags;
/*0x1C*/ u8 whichRank:2;
u8 aiPool_Cool:1;
u8 aiPool_Beauty:1;
u8 aiPool_Cute:1;
u8 aiPool_Smart:1;
u8 aiPool_Tough:1;
/*0x1C*/ u8 whichRank:2; // 0x1 0x2
u8 aiPool_Cool:1; // 0x4
u8 aiPool_Beauty:1; // 0x8
u8 aiPool_Cute:1; // 0x10
u8 aiPool_Smart:1; // 0x20
u8 aiPool_Tough:1; // 0x40
// Temp note: 1 byte of padding
/*0x1E*/ u16 moves[4]; // moves
/*0x26*/ u8 cool; // cool
/*0x27*/ u8 beauty; // beauty
@ -227,7 +229,7 @@ struct ContestPokemon
/*0x2C*/ u8 unk2C[12];
/*0x38*/ u32 personality; // personality
/*0x3C*/ u32 otId; // otId
}; // wow
};
struct Shared18000
{

View File

@ -78,3 +78,9 @@ const struct ContestWinner gUnknown_08587FA4[] =
.contestRank = CONTEST_RANK_MASTER
}
};
/*
const struct ContestPokemon gContestOpponents[] =
{
};*/
extern const struct ContestPokemon gContestOpponents[96];