diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2022-02-17 21:45:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 21:45:57 -0800 |
commit | 3555fb7c945ef5152910a84390ecbd1a38ea585d (patch) | |
tree | 4237c0ab086005ea05539b8de7c10b867eec43db /include/dungeon_pokemon_attributes.h | |
parent | 1d64db5214b455bbd6f50ad6369ec04420e03984 (diff) | |
parent | ece475a4804a64790cfa86dfa0ba577a732adee8 (diff) |
Merge pull request #96 from AnonymousRandomPerson/master
Attack AI decomp
Diffstat (limited to 'include/dungeon_pokemon_attributes.h')
-rw-r--r-- | include/dungeon_pokemon_attributes.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dungeon_pokemon_attributes.h b/include/dungeon_pokemon_attributes.h index 941c966..40b13ee 100644 --- a/include/dungeon_pokemon_attributes.h +++ b/include/dungeon_pokemon_attributes.h @@ -5,5 +5,21 @@ // 0x71824 bool8 HasAbility(struct DungeonEntity *pokemon, u8 ability); +// 0x71858 +bool8 HasType(struct DungeonEntity *pokemon, u8 type); +// 0x71884 +bool8 CanSeeInvisible(struct DungeonEntity *pokemon); +// 0x718AC +bool8 HasTactic(struct DungeonEntity *pokemon, u8 tactic); +// 0x718D8 +bool8 HasIQSkill(struct DungeonEntity *pokemon, u8 IQSkill); + +void LoadIQSkills(struct DungeonEntity *pokemon); +bool8 CanSeeTeammate(struct DungeonEntity * pokemon); +u8 GetMoveTypeForPokemon(struct DungeonEntity *pokemon, struct PokemonMove *pokeMove); + +// 0x71A44 +s32 CalculateMovePower(struct DungeonEntity *pokemon, struct PokemonMove *pokeMove); +bool8 ToolboxEnabled(struct DungeonEntityData *pokemon); #endif |