From 42bcb068b61656f083009816b927207393a35b10 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Fri, 7 Jan 2022 01:45:35 -0600 Subject: Decomped CanTargetAdjacentPokemon() --- src/dungeon_util.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/dungeon_util.c') diff --git a/src/dungeon_util.c b/src/dungeon_util.c index 3594274..5b6bd5a 100644 --- a/src/dungeon_util.c +++ b/src/dungeon_util.c @@ -3,6 +3,17 @@ #include "dungeon_map_access.h" +const struct Position gAdjacentTileOffsets[NUM_DIRECTIONS] = { + {0, 1}, + {1, 1}, + {1, 0}, + {1, -1}, + {0, -1}, + {-1, -1}, + {-1, 0}, + {-1, 1} +}; + extern struct MapTile* GetMapEntity(s16, s16); bool8 EntityExists(struct DungeonEntity *entity) -- cgit v1.2.3