summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2021-12-27 23:21:11 -0600
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2021-12-28 21:38:42 -0600
commitd40d2e55a304ec355595b4a0f9f8d51ca3eb2769 (patch)
treeb7657259175175d0bc902b96bbe4962d0912a8f2 /include
parent4bf154654bbf3dbb259e5ce6985e17d24260a72e (diff)
Decomped IsTargetStraightAhead()
Diffstat (limited to 'include')
-rw-r--r--include/dungeon_ai_attack.h9
-rw-r--r--include/map.h4
2 files changed, 11 insertions, 2 deletions
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
diff --git a/include/map.h b/include/map.h
index 2989c6c..bb991ff 100644
--- a/include/map.h
+++ b/include/map.h
@@ -42,8 +42,8 @@ struct MapRoom
enum TileType
{
TILE_TYPE_FLOOR = 1 << 0,
- TILE_TYPE_UNK_1 = 1 << 1,
- TILE_TYPE_LIQUID = 1 << 2, // Water or lava depending on the dungeon.
+ TILE_TYPE_LIQUID = 1 << 1, // Water or lava depending on the dungeon.
+ TILE_TYPE_UNK_2 = 1 << 2,
TILE_TYPE_ROOM_EXIT = 1 << 3,
TILE_TYPE_MAP_EDGE = 1 << 4,
TILE_TYPE_SHOP = 1 << 5,