summaryrefslogtreecommitdiff
path: root/include/pokemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pokemon.h')
-rw-r--r--include/pokemon.h28
1 files changed, 18 insertions, 10 deletions
diff --git a/include/pokemon.h b/include/pokemon.h
index 9b5a1c1bb..bed60925b 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -255,14 +255,9 @@ struct BattlePokemon
u32 speedIV:5;
u32 spAttackIV:5;
u32 spDefenseIV:5;
- u8 hpStage; // not used
- u8 attackStage;
- u8 defenseStage;
- u8 speedStage;
- u8 spAttackStage;
- u8 spDefenseStage;
- u8 accuracyStage;
- u8 evasionStage;
+ u32 isEgg:1;
+ u32 altAbility:1;
+ u8 statStages[8];
u8 ability;
u8 type1, type2;
u8 unknown;
@@ -273,9 +268,9 @@ struct BattlePokemon
u16 maxHP;
u16 item;
u8 nickname[POKEMON_NAME_LENGTH + 1];
- u8 unknown2;
+ u8 ppBonuses;
u8 otName[8];
- u32 unknown3;
+ u32 experience;
u32 personality;
u32 status1;
u32 status2;
@@ -389,6 +384,19 @@ u8 GiveMonToPlayer(struct Pokemon *mon);
u8 SendMonToPC(struct Pokemon *mon);
u8 CalculatePlayerPartyCount(void);
u8 CalculateEnemyPartyCount(void);
+u8 sub_803DAA0(void);
+u8 GetAbilityBySpecies(u16 species, bool8 altAbility);
+u8 GetMonAbility(struct Pokemon *mon);
+void CreateSecretBaseEnemyParty(struct SecretBaseRecord *secretBaseRecord);
+u8 GetSecretBaseTrainerPicIndex(void);
+u8 GetSecretBaseTrainerNameIndex(void);
+u8 PlayerPartyAndPokemonStorageFull(void);
+u8 PokemonStorageFull(void);
+void GetSpeciesName(u8 *name, u16 species);
+u8 CalculatePPWithBonus(u16 move, u8 ppBonuses, u8 moveIndex);
+void RemoveMonPPBonus(struct Pokemon *mon, u8 moveIndex);
+void RemoveBattleMonPPBonus(struct BattlePokemon *mon, u8 moveIndex);
+void CopyPlayerPartyMonToBattleData(u8 battleIndex, u8 partyIndex);
u8 GetNature(struct Pokemon *mon);
u8 GetNatureFromPersonality(u32 personality);