diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-26 13:21:40 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-10 22:32:17 -0500 |
commit | 17a6ab37944e3cc9fc98ee93262bd4385bf4e626 (patch) | |
tree | 45a9dd41f29f59c762b379f1845a03a52cf727e6 /src/dungeon_ai_attack_1.c | |
parent | ea1aa9c0c5c3a4167912d1078fffdd5e69cbbe98 (diff) |
Decomped CanUseOnTargetWithStatusChecker()
Diffstat (limited to 'src/dungeon_ai_attack_1.c')
-rw-r--r-- | src/dungeon_ai_attack_1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeon_ai_attack_1.c b/src/dungeon_ai_attack_1.c index 023df14..8421cc9 100644 --- a/src/dungeon_ai_attack_1.c +++ b/src/dungeon_ai_attack_1.c @@ -9,6 +9,7 @@ #include "dungeon_random.h" #include "moves.h" #include "position_util.h" +#include "status_checker.h" #include "status_checks_1.h" extern bool8 gCanAttackInDirection[NUM_DIRECTIONS]; @@ -17,7 +18,6 @@ extern u8 gPotentialAttackTargetDirections[NUM_DIRECTIONS]; extern struct DungeonEntity *gPotentialTargets[NUM_DIRECTIONS]; extern s32 WeightMove(struct DungeonEntity*, s32, struct DungeonEntity*, u8); -extern bool8 CanUseOnTargetWithStatusChecker(struct DungeonEntity*, struct DungeonEntity*, struct PokemonMove*); s32 WeightMoveIfUsable(s32 numPotentialTargets, s32 targetingFlags, struct DungeonEntity *user, struct DungeonEntity *target, struct PokemonMove *move, bool32 hasStatusChecker) { |