summaryrefslogtreecommitdiff
path: root/include/dungeon_ai_attack.h
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-03-10 22:20:44 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-03-10 22:33:13 -0500
commitcc4053130f1d9d0bb36c78bd39b0b07e96064f5e (patch)
treeef1292c42922bdb50518d3607070dff130260971 /include/dungeon_ai_attack.h
parent83d097624b48c58ed081ccc8f2cd9e613d290128 (diff)
Decomped TargetRegularAttack()
Diffstat (limited to 'include/dungeon_ai_attack.h')
-rw-r--r--include/dungeon_ai_attack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dungeon_ai_attack.h b/include/dungeon_ai_attack.h
index aa840fd..cd8d9d8 100644
--- a/include/dungeon_ai_attack.h
+++ b/include/dungeon_ai_attack.h
@@ -18,5 +18,7 @@ bool8 IsTargetInLineRange(struct DungeonEntity *user, struct DungeonEntity *targ
s32 WeightMoveIfUsable(s32 numPotentialTargets, s32 targetingFlags, struct DungeonEntity *user, struct DungeonEntity *target, struct PokemonMove *move, u32 hasStatusChecker);
bool8 CanUseStatusMove(s32 targetingFlags, struct DungeonEntity *user, struct DungeonEntity *target, struct PokemonMove *move, bool32 hasStatusChecker);
s32 WeightMove(struct DungeonEntity *user, s32 targetingFlags, struct DungeonEntity *target, u32 moveType);
+bool8 TargetRegularAttack(struct DungeonEntity *pokemon, u32 *targetDir, bool8 checkPetrified);
+bool8 IsTargetStraightAhead(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, s32 facingDir, s32 maxRange);
#endif