From a34c9ab91b553fcb1f72b94eb912b94bea58885b Mon Sep 17 00:00:00 2001 From: Cheng Hann Gan Date: Thu, 9 Dec 2021 13:56:12 -0500 Subject: 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 --- include/dungeon_util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/dungeon_util.h') diff --git a/include/dungeon_util.h b/include/dungeon_util.h index f3059b0..ca62184 100644 --- a/include/dungeon_util.h +++ b/include/dungeon_util.h @@ -5,5 +5,12 @@ // 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 -- cgit v1.2.3