Decomped TargetThrownItem()

This commit is contained in:
AnonymousRandomPerson
2021-12-26 00:03:03 -06:00
parent 6512ebff67
commit 4bf154654b
5 changed files with 79 additions and 206 deletions

View File

@@ -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

View File

@@ -2,6 +2,7 @@
#define GUARD_DUNGEON_ENTITY_H
#include "constants/move.h"
#include "global.h"
#include "item.h"
#include "position.h"