summaryrefslogtreecommitdiff
path: root/include/dungeon_util.h
blob: 77db878d13ce0fe351da2a45ccea2fdc2fceff5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GUARD_DUNGEON_UTIL_H
#define GUARD_DUNGEON_UTIL_H

#include "constants/direction.h"
#include "dungeon_entity.h"
#include "position.h"

extern const struct Position gAdjacentTileOffsets[NUM_DIRECTIONS];

bool8 EntityExists(struct DungeonEntity *pokemon);
u32 GetEntityType(struct DungeonEntity *entity);
struct DungeonEntityData *GetTrapData(struct DungeonEntity *entity);
struct ItemSlot *GetItemData(struct DungeonEntity *entity);
struct MapTile *GetMapTileForDungeonEntity_2(struct DungeonEntity *entity);

#endif