summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dungeon_ai_items.h2
-rw-r--r--include/dungeon_entity.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/dungeon_ai_items.h b/include/dungeon_ai_items.h
index 676200a..5daf7b0 100644
--- a/include/dungeon_ai_items.h
+++ b/include/dungeon_ai_items.h
@@ -10,5 +10,7 @@ void DecideUseItem(struct DungeonEntity *pokemon);
void FindStraightThrowableTargets(struct DungeonEntity *pokemon, s32 thrownAIFlag, struct ItemSlot *item, bool8 ignoreRollChance);
// 0x73AA0
void FindRockItemTargets(struct DungeonEntity *pokemon, struct ItemSlot *item, struct Position potentialTargets[], bool8 ignoreRollChance);
+// 0x73B78
+void TargetThrownItem(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, struct ItemSlot *item, s32 targetingFlags, bool8 ignoreRollChance);
#endif
diff --git a/include/dungeon_entity.h b/include/dungeon_entity.h
index 29fda0a..527d817 100644
--- a/include/dungeon_entity.h
+++ b/include/dungeon_entity.h
@@ -2,6 +2,7 @@
#define GUARD_DUNGEON_ENTITY_H
#include "constants/move.h"
+#include "global.h"
#include "item.h"
#include "position.h"