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_ai_items.c | |
parent | 96372eb336d21e5da66246983e0522212f370bdf (diff) |
Decomped GetMapTile_2
Diffstat (limited to 'src/dungeon_ai_items.c')
-rw-r--r-- | src/dungeon_ai_items.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeon_ai_items.c b/src/dungeon_ai_items.c index 183d143..52aacc4 100644 --- a/src/dungeon_ai_items.c +++ b/src/dungeon_ai_items.c @@ -158,7 +158,7 @@ void DecideUseItem(struct DungeonEntity *pokemon) else if (toolboxIndex == 0) { // This seems unused. toolboxIndex can never be 0. - struct MapTile *mapTile = GetMapTileAtPosition(pokemon->posWorld.x, pokemon->posWorld.y); + struct MapTile *mapTile = GetMapTile_1(pokemon->posWorld.x, pokemon->posWorld.y); struct DungeonEntity *mapObject = mapTile->mapObject; if (mapObject != null) { |