summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-01-07 01:45:35 -0600
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-01-07 01:45:35 -0600
commit42bcb068b61656f083009816b927207393a35b10 (patch)
tree2d5924a28e208e14d302c24f9ea5f0a17a8e81a2 /include
parent05768ae71decc1539bd7f6e2c6d371b8c619cb24 (diff)
Decomped CanTargetAdjacentPokemon()
Diffstat (limited to 'include')
-rw-r--r--include/dungeon_ai_item_weight.h2
-rw-r--r--include/dungeon_util.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/include/dungeon_ai_item_weight.h b/include/dungeon_ai_item_weight.h
index 705c0ca..a498744 100644
--- a/include/dungeon_ai_item_weight.h
+++ b/include/dungeon_ai_item_weight.h
@@ -5,5 +5,7 @@
// 0x48F28
u32 EvaluateItem(struct DungeonEntity *targetPokemon, struct ItemSlot *item, u32 itemTargetFlags);
+// 0x494EC
+bool8 CanTargetAdjacentPokemon(struct DungeonEntity *pokemon);
#endif
diff --git a/include/dungeon_util.h b/include/dungeon_util.h
index 82d44ba..4d91b29 100644
--- a/include/dungeon_util.h
+++ b/include/dungeon_util.h
@@ -1,7 +1,11 @@
#ifndef GUARD_DUNGEON_UTIL_H
#define GUARD_DUNGEON_UTIL_H
+#include "constants/direction.h"
#include "dungeon_entity.h"
+#include "position.h"
+
+extern const struct Position gAdjacentTileOffsets[NUM_DIRECTIONS];
// 0x450E0
bool8 EntityExists(struct DungeonEntity *pokemon);