diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 21:59:07 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 21:59:23 -0500 |
commit | 60a19d681cda14c4ebeab5d18a98e3b07a5e93a3 (patch) | |
tree | f660e34515e72a33f68af5f8822dd2eb1628dc08 /src/dungeon_util.c | |
parent | 96372eb336d21e5da66246983e0522212f370bdf (diff) |
Decomped GetMapTile_2
Diffstat (limited to 'src/dungeon_util.c')
-rw-r--r-- | src/dungeon_util.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/dungeon_util.c b/src/dungeon_util.c index c5b5695..1d443c0 100644 --- a/src/dungeon_util.c +++ b/src/dungeon_util.c @@ -14,8 +14,6 @@ const struct Position gAdjacentTileOffsets[] = { {-1, 1} }; -extern struct MapTile* GetMapEntity(s16, s16); - bool8 EntityExists(struct DungeonEntity *entity) { if (!entity) @@ -55,12 +53,12 @@ struct DungeonEntityData* sub_8045110(struct DungeonEntity *entity) return entity->entityData; } -struct MapTile* GetMapTileForDungeonEntity(struct DungeonEntity *entity) +struct MapTile* GetMapTileForDungeonEntity_1(struct DungeonEntity *entity) { - return GetMapTileAtPosition(entity->posWorld.x, entity->posWorld.y); + return GetMapTile_1(entity->posWorld.x, entity->posWorld.y); } -struct MapTile* GetMapEntityForDungeonEntity(struct DungeonEntity *entity) +struct MapTile* GetMapTileForDungeonEntity_2(struct DungeonEntity *entity) { - return GetMapEntity(entity->posWorld.x, entity->posWorld.y); + return GetMapTile_2(entity->posWorld.x, entity->posWorld.y); } |