pmd-red/include/dungeon_util.h
Cheng Hann Gan a34c9ab91b
AI decomp + type cleanup (#82)
* Decomped SetAction()

* Changed MapTile.tileType to u16 bit field

* Decomped FindStraightThrowableTargets()

* Cleaned up CannotAttack()

* Cleaned up some externs

* Converted dungeon action to substruct
2021-12-09 10:56:12 -08:00

17 lines
428 B
C

#ifndef GUARD_DUNGEON_UTIL_H
#define GUARD_DUNGEON_UTIL_H
#include "dungeon_entity.h"
// 0x450E0
bool8 EntityExists(struct DungeonEntity *pokemon);
// 0x450F8
u32 GetEntityType(struct DungeonEntity *entity);
// 0x45104
struct DungeonEntityData *GetTrapData(struct DungeonEntity *entity);
// 0x45108
struct ItemSlot *GetItemData(struct DungeonEntity *entity);
struct MapTile *sub_8045128(struct DungeonEntity *entity);
#endif