summaryrefslogtreecommitdiff
path: root/src/dungeon_ai_attack_1.c
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-20 21:59:07 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-20 21:59:23 -0500
commit60a19d681cda14c4ebeab5d18a98e3b07a5e93a3 (patch)
treef660e34515e72a33f68af5f8822dd2eb1628dc08 /src/dungeon_ai_attack_1.c
parent96372eb336d21e5da66246983e0522212f370bdf (diff)
Decomped GetMapTile_2
Diffstat (limited to 'src/dungeon_ai_attack_1.c')
-rw-r--r--src/dungeon_ai_attack_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeon_ai_attack_1.c b/src/dungeon_ai_attack_1.c
index 8a186ea..641bc8c 100644
--- a/src/dungeon_ai_attack_1.c
+++ b/src/dungeon_ai_attack_1.c
@@ -57,7 +57,7 @@ bool8 IsTargetStraightAhead(struct DungeonEntity *pokemon, struct DungeonEntity
break;
}
while (0); // Extra label needed to swap branch locations in ASM.
- mapTile = GetMapTileAtPosition(currentPosX, currentPosY);
+ mapTile = GetMapTile_1(currentPosX, currentPosY);
if (!(mapTile->tileType & (TILE_TYPE_FLOOR | TILE_TYPE_LIQUID)))
{
break;