diff options
author | Marco Willems (M17.1) <progreon@gmail.com> | 2018-01-09 02:39:57 +0100 |
---|---|---|
committer | Marco Willems (M17.1) <progreon@gmail.com> | 2018-01-09 02:39:57 +0100 |
commit | c17a46823e55c5b60592963d7edb9425255aea8d (patch) | |
tree | 158b2ee43ebbac1150ea36203310752813c3a6ad /include/pokemon.h | |
parent | 353a083d97be81cbc612ecb8de46b62a0e523362 (diff) | |
parent | c4c885504729b56c00aa245aea6e284a1b6a1719 (diff) |
Merge branch 'master' into some_battle_sound_stuff
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 a1c30f1f3..71b35e65c 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 *); |