Rework UnkSubstruct_203F458_000C_004 structure

This commit is contained in:
scnorton
2019-01-03 16:13:18 -05:00
parent 0bf0161379
commit 3e4a7c8edd
2 changed files with 106 additions and 77 deletions
+27
View File
@@ -241,6 +241,33 @@ struct LinkBattleRecords
u8 languages[LINK_B_RECORDS_COUNT]; u8 languages[LINK_B_RECORDS_COUNT];
}; };
struct BattleTowerPokemon
{
u16 species;
u16 heldItem;
u16 moves[4];
u8 level;
u8 ppBonuses;
u8 hpEV;
u8 attackEV;
u8 defenseEV;
u8 speedEV;
u8 spAttackEV;
u8 spDefenseEV;
u32 otId;
u32 hpIV:5;
u32 attackIV:5;
u32 defenseIV:5;
u32 speedIV:5;
u32 spAttackIV:5;
u32 spDefenseIV:5;
u32 gap:1;
u32 altAbility:1;
u32 personality;
u8 nickname[POKEMON_NAME_LENGTH + 1];
u8 friendship;
};
struct UnknownSaveBlock2Struct struct UnknownSaveBlock2Struct
{ {
u8 field_0; u8 field_0;
+7 -5
View File
@@ -25,13 +25,15 @@ struct UnkStruct_8479D34
struct UnkSubstruct_203F458_000C_004 struct UnkSubstruct_203F458_000C_004
{ {
/* 0x004 */ u8 unk_000[11]; /* 0x000 */ u8 unk_000[11];
/* 0x00F */ u8 unk_00B; /* 0x00B */ u8 unk_00B;
/* 0x010 */ u8 unk_00C; /* 0x00C */ u8 unk_00C;
/* 0x011 */ u8 unk_00D[13]; /* 0x00D */ u8 unk_00D;
/* 0x00E */ u16 unk_00E[6];
/* 0x01A */ u16 unk_01A[6]; /* 0x01A */ u16 unk_01A[6];
/* 0x026 */ u16 unk_026[6]; /* 0x026 */ u16 unk_026[6];
/* 0x032 */ u8 filler_032[0x116]; /* 0x032 */ u16 unk_032[6];
/* 0x040 */ struct BattleTowerPokemon unk_040[PARTY_SIZE];
}; // size: 328 }; // size: 328
struct UnkSubstruct_203F458_000C struct UnkSubstruct_203F458_000C