From d40d2e55a304ec355595b4a0f9f8d51ca3eb2769 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Mon, 27 Dec 2021 23:21:11 -0600 Subject: Decomped IsTargetStraightAhead() --- include/dungeon_ai_attack.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/dungeon_ai_attack.h (limited to 'include/dungeon_ai_attack.h') diff --git a/include/dungeon_ai_attack.h b/include/dungeon_ai_attack.h new file mode 100644 index 0000000..75abcab --- /dev/null +++ b/include/dungeon_ai_attack.h @@ -0,0 +1,9 @@ +#ifndef GUARD_DUNGEON_AI_ATTACK_H +#define GUARD_DUNGEON_AI_ATTACK_H + +#include "dungeon_entity.h" + +// 0x7C9F8 +bool8 IsTargetStraightAhead(struct DungeonEntity *pokemon, struct DungeonEntity *targetPokemon, s32 facingDir, s32 maxRange); + +#endif -- cgit v1.2.3