diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-06-07 19:46:44 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-06-07 20:54:44 -0500 |
commit | 0a2c709535bd79d8b62f3e8aafda9171670c1ecf (patch) | |
tree | f5a49a53a3813152e41ee8db4f250a3d61b0d660 /src/wild_encounter.c | |
parent | f73ea3d931cad4d4e99bbeb664aca6a0344ea1c7 (diff) |
Label all metatile behaviors and functions
Diffstat (limited to 'src/wild_encounter.c')
-rw-r--r-- | src/wild_encounter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |