diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-07 23:53:43 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-07 23:53:43 -0500 |
commit | 79c64d2b7137f12cccf290ea7f495727ad6b4cca (patch) | |
tree | b2022ddfbc867bab3802465afbbdc7c3843460a9 /include/pokemon.h | |
parent | fd42bcc78ce229d13afc26af4c6d2dd0187b871d (diff) | |
parent | 6b38db228befa044a2cfe31ed78555e3f0bd3935 (diff) |
Merge branch 'master' into pokemon_storage_system
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 7edd3395f..fd1709320 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -363,6 +363,16 @@ enum STAT_STAGE_EVASION, // 7 }; +enum +{ + STAT_HP, // 0 + STAT_ATK, // 1 + STAT_DEF, // 2 + STAT_SPD, // 3 + STAT_SPATK, // 4 + STAT_SPDEF, // 5 +}; + struct BaseStats { /*0x00*/ u8 baseHP; @@ -405,7 +415,7 @@ struct BattleMove u8 pp; u8 secondaryEffectChance; u8 target; - u8 priority; + s8 priority; u8 flags; u8 pad[3]; }; @@ -613,6 +623,8 @@ bool8 IsPokeSpriteNotFlipped(u16); u8 GetLevelUpMovesBySpecies(u16, u16 *); u8 TryIncrementMonLevel(struct Pokemon *); bool8 IsShiny(struct Pokemon *mon); +void RandomlyGivePartyPokerus(struct Pokemon *party); +void PartySpreadPokerus(struct Pokemon *party); struct Sprite *sub_80F7920(u16, u16, const u16 *); |