mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-27 23:10:50 +00:00
21 lines
563 B
C
21 lines
563 B
C
#ifndef GUARD_DUNGEON_UTIL_H
|
|
#define GUARD_DUNGEON_UTIL_H
|
|
|
|
#include "constants/direction.h"
|
|
#include "structs/dungeon_entity.h"
|
|
#include "structs/str_position.h"
|
|
#include "structs/str_traps.h"
|
|
|
|
extern const Position gAdjacentTileOffsets[NUM_DIRECTIONS];
|
|
|
|
bool8 EntityExists(Entity *pokemon);
|
|
u32 GetEntityType(Entity *entity);
|
|
u8 GetEntityRoom(Entity *entity);
|
|
Trap *GetTrapData(Entity *entity);
|
|
Trap* GetTrapData_1(Entity *entity);
|
|
Item *GetItemData(Entity *entity);
|
|
struct Tile *GetTileAtEntitySafe(Entity *entity);
|
|
Item *GetItemData_1(Entity *entity);
|
|
|
|
#endif
|