summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-21 15:59:34 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-21 17:03:34 -0500
commit598a588589cb581b269f2e46373c657ec897a3a3 (patch)
tree7a7cc3f2b8fc689e764b2a09f20233897f8ada9c /include
parent33d2d6175067e75cd222b8f05234221ec2d2b82b (diff)
Decomped CanAttackInFront()
Diffstat (limited to 'include')
-rw-r--r--include/dungeon_ai_targeting.h9
-rw-r--r--include/dungeon_ai_targeting_1.h (renamed from include/dungeon_ai.h)4
-rw-r--r--include/dungeon_ai_targeting_2.h (renamed from include/dungeon_ai_1.h)4
3 files changed, 13 insertions, 4 deletions
diff --git a/include/dungeon_ai_targeting.h b/include/dungeon_ai_targeting.h
new file mode 100644
index 0000000..945c490
--- /dev/null
+++ b/include/dungeon_ai_targeting.h
@@ -0,0 +1,9 @@
+#ifndef GUARD_DUNGEON_AI_TARGETING_H
+#define GUARD_DUNGEON_AI_TARGETING_H
+
+#include "dungeon_entity.h"
+
+// 0x71138
+bool8 CanAttackInFront(struct DungeonEntity *pokemon, s32 direction);
+
+#endif
diff --git a/include/dungeon_ai.h b/include/dungeon_ai_targeting_1.h
index e3f7a37..49b700f 100644
--- a/include/dungeon_ai.h
+++ b/include/dungeon_ai_targeting_1.h
@@ -1,5 +1,5 @@
-#ifndef GUARD_DUNGEON_AI_H
-#define GUARD_DUNGEON_AI_H
+#ifndef GUARD_DUNGEON_AI_TARGETING_1_H
+#define GUARD_DUNGEON_AI_TARGETING_1_H
#include "dungeon_entity.h"
diff --git a/include/dungeon_ai_1.h b/include/dungeon_ai_targeting_2.h
index dace65a..c314646 100644
--- a/include/dungeon_ai_1.h
+++ b/include/dungeon_ai_targeting_2.h
@@ -1,5 +1,5 @@
-#ifndef GUARD_DUNGEON_AI_1_H
-#define GUARD_DUNGEON_AI_1_H
+#ifndef GUARD_DUNGEON_AI_TARGETING_2_H
+#define GUARD_DUNGEON_AI_TARGETING_2_H
#include "dungeon_entity.h"