mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-20 22:17:18 -05:00
19 lines
481 B
C
19 lines
481 B
C
#ifndef GUARD_DUNGEON_UTIL_H
|
|
#define GUARD_DUNGEON_UTIL_H
|
|
|
|
#include "constants/direction.h"
|
|
#include "dungeon_entity.h"
|
|
#include "position.h"
|
|
|
|
extern const Position gAdjacentTileOffsets[NUM_DIRECTIONS];
|
|
|
|
bool8 EntityExists(Entity *pokemon);
|
|
u32 GetEntityType(Entity *entity);
|
|
u8 GetEntityRoom(Entity *entity);
|
|
EntityInfo *GetTrapData(Entity *entity);
|
|
Item *GetItemData(Entity *entity);
|
|
struct Tile *GetTileAtEntitySafe(Entity *entity);
|
|
Item *GetItemData_1(Entity *entity);
|
|
|
|
#endif
|