diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2021-12-26 00:03:03 -0600 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2021-12-28 21:38:39 -0600 |
commit | 4bf154654bbf3dbb259e5ce6985e17d24260a72e (patch) | |
tree | bfd54e0ce1e95caee136d11e77c7546079341fce /include | |
parent | 6512ebff67e163a5a6c0f5e19847e2a4dda19ad1 (diff) |
Decomped TargetThrownItem()
Diffstat (limited to 'include')
-rw-r--r-- | include/dungeon_ai_items.h | 2 | ||||
-rw-r--r-- | include/dungeon_entity.h | 1 |
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" |