diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-14 12:45:27 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-14 12:45:27 -0400 |
commit | d6543eb215c80769469bf352330aa9d6387f859a (patch) | |
tree | 2d9e9c180c2989c68b5861203533f32617e90e13 /include/pokemon.h | |
parent | c5eb6d2669cdb27cc9f5ad35fae73577edf8aac6 (diff) |
GetMonEvolution
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 66ad03f2..83630d39 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -362,6 +362,37 @@ typedef enum { UNOWN_QUESTION_MARK = 27 } AlternateForms; +typedef enum EvoMethod +{ + EVO_NONE = 0, + EVO_FRIENDSHIP, + EVO_FRIENDSHIP_DAY, + EVO_FRIENDSHIP_NIGHT, + EVO_LEVEL, + EVO_TRADE, + EVO_TRADE_ITEM, + EVO_STONE, + EVO_LEVEL_ATK_GT_DEF, + EVO_LEVEL_ATK_EQ_DEF, + EVO_LEVEL_ATK_LT_DEF, + EVO_LEVEL_PID_LO, + EVO_LEVEL_PID_HI, + EVO_LEVEL_NINJASK, + EVO_LEVEL_SHEDINJA, + EVO_BEAUTY, + EVO_STONE_MALE, + EVO_STONE_FEMALE, + EVO_ITEM_DAY, + EVO_ITEM_NIGHT, + EVO_HAS_MOVE, + EVO_OTHER_PARTY_MON, + EVO_LEVEL_MALE, + EVO_LEVEL_FEMALE, + EVO_CORONET, + EVO_ETERNA, + EVO_ROUTE217, +} EvoMethod; + // Structs typedef struct { @@ -499,6 +530,22 @@ struct UnkStruct_02069038 struct Pokeanm anim; }; +struct Evolution +{ + u16 method; + u16 param; + u16 target; +}; + +#define PARTY_SIZE 6 + +struct PlayerParty +{ + u32 maxCount; + u32 curCount; + struct Pokemon mons[PARTY_SIZE]; +}; + void ZeroMonData(struct Pokemon * pokemon); void ZeroBoxMonData(struct BoxPokemon * boxmon); u32 SizeOfStructPokemon(void); |