summaryrefslogtreecommitdiff
path: root/include/pokemon.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-07 23:44:45 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-07 23:44:45 -0500
commit46a8dd57dacb79919d94f316e887578afa175afc (patch)
treeae82584f9ae99b3cff17eeada664f87b73a6193c /include/pokemon.h
parentd4df8046d45e50e19d2305bd4388e47087949960 (diff)
parent6b38db228befa044a2cfe31ed78555e3f0bd3935 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into assert
Diffstat (limited to 'include/pokemon.h')
-rw-r--r--include/pokemon.h14
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 *);