Files
pmd-red/include/dungeon_ai_targeting_1.h
T
2022-04-23 08:29:33 -07:00

15 lines
686 B
C

#ifndef GUARD_DUNGEON_AI_TARGETING_1_H
#define GUARD_DUNGEON_AI_TARGETING_1_H
#include "dungeon_entity.h"
bool8 IsAtJunction(struct DungeonEntity *pokemon);
bool8 ShouldAvoidFirstHit(struct DungeonEntity *pokemon, bool8 forceAvoid);
bool8 ShouldAvoidEnemies(struct DungeonEntity *pokemon);
bool8 ShouldAvoidEnemiesAndShowEffect(struct DungeonEntity *pokemon, bool8 showRunAwayEffect);
void CheckRunAwayVisualFlag(struct DungeonEntity *pokemon, bool8 showRunAwayEffect);
u8 CanTarget(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, bool8 ignoreInvisible, bool8 checkPetrified);
u8 sub_807167C(struct DungeonEntity * pokemon, struct DungeonEntity * target);
#endif