summaryrefslogtreecommitdiff
path: root/include/dungeon_ai_attack.h
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-13 22:02:17 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-13 22:02:17 -0500
commita02346be01efa13b6d969a89be642e3450f7ca35 (patch)
treefdd3798a122f814186b404e6e18f9af320ed76b1 /include/dungeon_ai_attack.h
parent9939c543ce7a8cbf7abb85d3125b5e6d95204433 (diff)
Decomped FindMoveTarget()
Diffstat (limited to 'include/dungeon_ai_attack.h')
-rw-r--r--include/dungeon_ai_attack.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dungeon_ai_attack.h b/include/dungeon_ai_attack.h
index 77b53fc..1878889 100644
--- a/include/dungeon_ai_attack.h
+++ b/include/dungeon_ai_attack.h
@@ -3,7 +3,16 @@
#include "dungeon_entity.h"
+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