diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dungeon_ai_item_weight.h | 2 | ||||
-rw-r--r-- | include/dungeon_util.h | 4 |
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); |