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 /src/dungeon_ai_movement.c | |
parent | 1d64db5214b455bbd6f50ad6369ec04420e03984 (diff) | |
parent | ece475a4804a64790cfa86dfa0ba577a732adee8 (diff) |
Merge pull request #96 from AnonymousRandomPerson/master
Attack AI decomp
Diffstat (limited to 'src/dungeon_ai_movement.c')
-rw-r--r-- | src/dungeon_ai_movement.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dungeon_ai_movement.c b/src/dungeon_ai_movement.c index bc109eb..5fa6d87 100644 --- a/src/dungeon_ai_movement.c +++ b/src/dungeon_ai_movement.c @@ -8,10 +8,11 @@ #include "constants/targeting.h" #include "code_80521D0.h" #include "dungeon_action.h" +#include "dungeon_ai_attack.h" #include "dungeon_ai_items.h" #include "dungeon_capabilities_1.h" #include "dungeon_global_data.h" -#include "dungeon_pokemon_attributes_1.h" +#include "dungeon_pokemon_attributes.h" #include "dungeon_random.h" #include "dungeon_util.h" #include "dungeon_util_1.h" @@ -19,6 +20,7 @@ #include "map.h" #include "pokemon.h" #include "status_checks.h" +#include "targeting.h" extern char gAvailablePokemonNames[]; extern char *gPtrCouldntBeUsedMessage; @@ -27,7 +29,6 @@ extern char *gPtrItsaMonsterHouseMessage; extern void SendImmobilizeEndMessage(struct DungeonEntity*, struct DungeonEntity*); extern void SetMessageArgument(char[], struct DungeonEntity*, u32); extern void ResetAction(u16*); -extern void DecideAttack(struct DungeonEntity*); extern void MoveIfPossible(struct DungeonEntity*, bool8); extern u8 sub_8044B28(void); extern void sub_807AB38(struct DungeonEntity *, u32); @@ -35,7 +36,6 @@ extern void sub_8041888(u32); extern u8 sub_803F428(s16 *); extern void sub_803E708(u32, u32); extern struct DungeonEntity *GetLeaderEntity(); -extern void TargetTileInFront(struct DungeonEntity *); u32 sub_8075818(struct DungeonEntity *entity) { |