From 4bf154654bbf3dbb259e5ce6985e17d24260a72e Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Sun, 26 Dec 2021 00:03:03 -0600 Subject: Decomped TargetThrownItem() --- include/dungeon_ai_items.h | 2 ++ include/dungeon_entity.h | 1 + 2 files changed, 3 insertions(+) (limited to 'include') 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" -- cgit v1.2.3