diff options
Diffstat (limited to 'include/dungeon_ai_attack.h')
-rw-r--r-- | include/dungeon_ai_attack.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/dungeon_ai_attack.h b/include/dungeon_ai_attack.h index 75abcab..1878889 100644 --- a/include/dungeon_ai_attack.h +++ b/include/dungeon_ai_attack.h @@ -3,7 +3,16 @@ #include "dungeon_entity.h" -// 0x7C9F8 -bool8 IsTargetStraightAhead(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, s32 facingDir, s32 maxRange); +struct MoveTargetResults +{ + bool8 moveUsable; + u8 targetDir; + s32 moveWeight; +}; + +// 0x7BB94 +void DecideAttack(struct DungeonEntity *pokemon); +// 0x7C04C +s32 FindMoveTarget(struct MoveTargetResults *moveTargetResults, struct DungeonEntity *pokemon, struct PokemonMove *move); #endif |