summaryrefslogtreecommitdiff
path: root/src/dungeon_ai_attack.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2022-01-07 16:30:55 -0800
committerGitHub <noreply@github.com>2022-01-07 16:30:55 -0800
commit3cdde2a92a187d437dc7d24273177b59ab5b9511 (patch)
tree2d5924a28e208e14d302c24f9ea5f0a17a8e81a2 /src/dungeon_ai_attack.c
parentedf909be4da55a435bf81f96ffcbd156b2120562 (diff)
parent42bcb068b61656f083009816b927207393a35b10 (diff)
Merge pull request #92 from AnonymousRandomPerson/master
More item AI decomp
Diffstat (limited to 'src/dungeon_ai_attack.c')
-rw-r--r--src/dungeon_ai_attack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dungeon_ai_attack.c b/src/dungeon_ai_attack.c
index 48ccdfe..5794038 100644
--- a/src/dungeon_ai_attack.c
+++ b/src/dungeon_ai_attack.c
@@ -5,8 +5,7 @@
#include "dungeon_global_data.h"
#include "dungeon_map_access.h"
#include "dungeon_pokemon_attributes_1.h"
-
-extern struct Position gAdjacentTileOffsets[8];
+#include "dungeon_util.h"
bool8 IsTargetStraightAhead(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, s32 facingDir, s32 maxRange)
{