diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-05-15 16:59:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 18:59:55 -0500 |
commit | f402e46cd3c8b7236673d6edbae77903a7cc0618 (patch) | |
tree | 37a19f3ab35a73c29d4d6da565741beaf7bb547f /include/pokemon.h | |
parent | f65dee5a143bd543c74c010d7252eb76893ee243 (diff) |
Sese's April/May Dump (#37)
* splitting lots of pokemon square and labeling lots of other things
* actually commit this stuff
* more moving data and things
* more screen work
* split out some pokemon dungeon data
* lots of data work
* push more data work
* split kecleon, decomp another kanghaskhan func, and try to doc UpdateBGControl more
* lots of item work
* label more item things
* subtype -> category and doc types/category
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index df87594..8014015 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -55,14 +55,19 @@ struct gPokemon /* 0x33 */ bool8 unk33; /* 0x34 */ struct EvolveStruct1 pre; /* 0x38 */ struct EvolveNeeds need; - /* 0x3C */ s16 unk3C[2]; // dexNo and internalNo + /* 0x3C */ s16 dexInternal[2]; // dexNo and internalNo /* 0x40 */ s16 base_recruit; - /* 0x42 */ s16 unk42[2]; // alphabetNo and parentNo + /* 0x42 */ s16 alphabetParent[2]; // alphabetNo and parentNo }; +void CopySpeciesNametoBuffer(u8 * buffer, s16 index); +void CopyYellowSpeciesNametoBuffer(u8 *buffer, s16 index); +void CopyCyanSpeciesNametoBuffer(u8 *buffer, s16 index); + u8 *GetCategoryString(s16 index); u8 GetPokemonSize(s16 index); u8 GetShadowSize(s16 index); +char * GetMonSpecies(s16 index); s32 GetMoveSpeed(s16 index); u8 GetWalkableTiles(s16 index); u8 GetUnk1B(s16 index); @@ -79,12 +84,12 @@ 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 GetDexInternalNo(s16 index, u32 r1); s16 GetBaseRecruit(s16 index); -s16 sub_808DCDC(s16 index, s32 r1); -s16 sub_808DCFC(s16 index); +s16 GetAlphabetParentNo(s16 index, s32 r1); +s16 GetInternalNo(s16 index); u32 CalculateEXPGain(s16 index, s32 level); -s16 sub_808DD48(s16 index, struct unkEvolve *r1); +s16 GetPokemonEvolveConditons(s16 index, struct unkEvolve *r1); u8 GetPokemonOverworldPalette(s16 index, u32 r1); bool8 IsPokemonDialogueSpriteAvail(s16 index, s32 r1); struct OpenedFile *OpenPokemonDialogueSpriteFile(s16 index); |