diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2022-03-01 19:40:00 -0800 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2022-03-11 10:14:30 -0800 |
commit | a5c90b097045a50df6ecb7cc37ce50f3fc9f142f (patch) | |
tree | cce54799cd907434a72dca593f4c30836156a0b8 /include | |
parent | 30fea2d6f303e0e57b62032f56da86c8223ef1f7 (diff) |
decomp some more saving functions
Diffstat (limited to 'include')
-rw-r--r-- | include/code_8094F88.h | 35 | ||||
-rw-r--r-- | include/pokemon.h | 22 |
2 files changed, 46 insertions, 11 deletions
diff --git a/include/code_8094F88.h b/include/code_8094F88.h new file mode 100644 index 0000000..32ef7a5 --- /dev/null +++ b/include/code_8094F88.h @@ -0,0 +1,35 @@ +#ifndef GUARD_CODE_8094F88_H +#define GUARD_CODE_8094F88_H + +struct unkStruct_203B480 +{ + u8 unk0; + struct unkPokeSubStruct_4 unk4; + u32 unk8; + u32 unkC; + u32 unk10; + u32 unk14; + u32 unk18; + u32 unk1C; + u8 unk20; + u8 unk21; + u8 unk22; + u32 unk24; + u32 unk28; + u8 unk2C; + u8 unk2D; +}; + +struct unkStruct_203B484 +{ + u32 unk0; + struct PokemonStruct unk4; +}; + +struct unkStruct_203B48C +{ + s32 unk0; + s32 unk4[0x20]; +}; + +#endif diff --git a/include/pokemon.h b/include/pokemon.h index 912df49..d72f88e 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -34,21 +34,21 @@ struct unkPokeSubStruct_C struct PokemonStruct { // size: 0x58 - u16 unk0; // recruited?? - u8 unk2; - u8 unkHasNextStage; // set to a random value? - struct unkPokeSubStruct_4 unk4; + /* 0x0 */ u16 unk0; // recruited?? + /* 0x1 */ u8 unk2; + /* 0x3 */ u8 unkHasNextStage; // set to a random value? + /* 0x4 */ struct unkPokeSubStruct_4 unk4; /* 0x8 */ s16 speciesNum; // species # - struct unkPokeSubStruct_C unkC[2]; + /* 0xC */ struct unkPokeSubStruct_C unkC[2]; /* 0x14 */ s16 IQ; /* 0x16 */ u16 pokeHP; // HP /* 0x18 */ struct Offense offense; - u32 unk1C; - u32 IQSkills; - u8 unk24; - u8 fill25[3]; - struct HeldItem heldItem; - struct PokemonMove moves[MAX_MON_MOVES]; + /* 0x1C */ u32 unk1C; + /* 0x20 */ u32 IQSkills; + /* 0x24 */ u8 unk24; + /* 0x25 */ u8 fill25[3]; + /* 0x28 */ struct HeldItem heldItem; + /* 0x2C */ struct PokemonMove moves[MAX_MON_MOVES]; /* 0x4C */ u8 name[POKEMON_NAME_LENGTH]; }; |