From 0a2c709535bd79d8b62f3e8aafda9171670c1ecf Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Thu, 7 Jun 2018 19:46:44 -0500 Subject: Label all metatile behaviors and functions --- src/wild_encounter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wild_encounter.c') diff --git a/src/wild_encounter.c b/src/wild_encounter.c index 99594d3f2..ad11bf566 100644 --- a/src/wild_encounter.c +++ b/src/wild_encounter.c @@ -3727,7 +3727,7 @@ static u16 GetRoute119WaterTileNum(s16 x, s16 y, u8 section) { for (xCur = 0; xCur < gMapHeader.mapData->width; xCur++) { - if (sub_805759C(MapGridGetMetatileBehaviorAt(xCur + 7, yCur + 7)) == TRUE) + if (MetatileBehavior_IsFeebasEncounterable(MapGridGetMetatileBehaviorAt(xCur + 7, yCur + 7)) == TRUE) { tileNum++; if (x == xCur && y == yCur) -- cgit v1.2.3