diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-02-07 19:10:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 21:10:12 -0600 |
commit | 8dfd044ef3a6ea8da204265b4560716aa67391d1 (patch) | |
tree | 15274fab1fd9b1d4e477bbfddbfb855ade1eabeb /include/pokemon.h | |
parent | 74daf03fd70e7c71b92390c9133c9dd543bcb28d (diff) |
Some Personality and data (#26)
* decomp few personality funcs and clean up some pointers in the dungeon data
* de-pointer-ify friend area dialogue
* clean pointers on a personality test question
* decomp a few more main menu funcs and dump some more data
* label some funcs
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index a4857f7..df87594 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -1,6 +1,8 @@ #ifndef POKEMON_H #define POKEMON_H +#include "file_system.h" + struct EvolveStruct1 { /* 0x34 */ u16 evolve_from; @@ -13,6 +15,13 @@ struct EvolveNeeds /* 0x3A */ u16 evolve_need2; }; +struct unkEvolve +{ + /* 0x0 */ struct EvolveStruct1 conditions; + /* 0x4 */ struct EvolveNeeds needs; +}; + + struct gPokemon { /* 0x0 */ u8* species; @@ -51,4 +60,34 @@ struct gPokemon /* 0x42 */ s16 unk42[2]; // alphabetNo and parentNo }; +u8 *GetCategoryString(s16 index); +u8 GetPokemonSize(s16 index); +u8 GetShadowSize(s16 index); +s32 GetMoveSpeed(s16 index); +u8 GetWalkableTiles(s16 index); +u8 GetUnk1B(s16 index); +bool8 GetIsMoving(s16 index); +u8 GetUnk1D(s16 index); +u16 GetLowKickDmg(s16 index); +u16 GetSizeOrbDmg(s16 index); +u8 GetFriendArea(s16 index); +u16 GetBaseHP(s16 index); +bool8 GetUnk33(s16 index); +u8 GetUnk12(s16 index); +s16 GetPokemonEvolveFrom(s16 index); +u16 GetPokemonAttSpatt(s16 index, u32 r1); +u16 GetPokemonDefSpdef(s16 index, u32 r1); +u8 GetPokemonType(s32 index, u32 typeIndex);; +u8 GetPokemonAbility(s16 index, u32 abilityIndex); +s16 sub_808DCA0(s16 index, u32 r1); +s16 GetBaseRecruit(s16 index); +s16 sub_808DCDC(s16 index, s32 r1); +s16 sub_808DCFC(s16 index); +u32 CalculateEXPGain(s16 index, s32 level); +s16 sub_808DD48(s16 index, struct unkEvolve *r1); +u8 GetPokemonOverworldPalette(s16 index, u32 r1); +bool8 IsPokemonDialogueSpriteAvail(s16 index, s32 r1); +struct OpenedFile *OpenPokemonDialogueSpriteFile(s16 index); +struct OpenedFile *GetDialogueSpriteDataPtr(s16 index); + #endif // POKEMON_H |