diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-12-01 16:33:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 14:33:06 -0800 |
commit | 4fc272fea6bc7332fae031ebeb12362cff1c35de (patch) | |
tree | 88092c6da3a6bb741caceab54f5372aee4ad5bae /src/dungeon_util.c | |
parent | fd8720b75c56ef3f641e6c5abf6c446929c824b9 (diff) |
No wifi + 2 days on train = more decomp (#80)
* No wifi + 2 days on train = more decomp
* layin some more
* one func, one file
Diffstat (limited to 'src/dungeon_util.c')
-rw-r--r-- | src/dungeon_util.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/dungeon_util.c b/src/dungeon_util.c index f70148a..f717212 100644 --- a/src/dungeon_util.c +++ b/src/dungeon_util.c @@ -2,17 +2,7 @@ #include "dungeon_util.h" extern struct MapTile* GetMapTileAtPosition(s16, s16); - -struct unk8049590 -{ - u16 unk0; - u16 fill2; - u16 unk4; - u16 unk6; - u8 unk8; -}; - -extern struct unk8049590 *GetMapEntity(s16, s16); +extern struct MapTile *GetMapEntity(s16, s16); bool8 EntityExists(struct DungeonEntity *entity) { @@ -33,7 +23,7 @@ u8 GetEntityRoomIndex(struct DungeonEntity *entity) return entity->roomIndex; } -struct DungeonEntityData *sub_8045104(struct DungeonEntity *entity) +struct DungeonEntityData *GetTrapData(struct DungeonEntity *entity) { return entity->entityData; } @@ -58,7 +48,7 @@ struct MapTile *sub_8045114(struct DungeonEntity *entity) return GetMapTileAtPosition(entity->posWorldX, entity->posWorldY); } -struct unk8049590 *sub_8045128(struct DungeonEntity *entity) +struct MapTile *sub_8045128(struct DungeonEntity *entity) { return GetMapEntity(entity->posWorldX, entity->posWorldY); } |