summaryrefslogtreecommitdiff
path: root/src/debug/nakamura_debug_menu.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-06-07 19:46:44 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-06-07 20:54:44 -0500
commit0a2c709535bd79d8b62f3e8aafda9171670c1ecf (patch)
treef5a49a53a3813152e41ee8db4f250a3d61b0d660 /src/debug/nakamura_debug_menu.c
parentf73ea3d931cad4d4e99bbeb664aca6a0344ea1c7 (diff)
Label all metatile behaviors and functions
Diffstat (limited to 'src/debug/nakamura_debug_menu.c')
-rw-r--r--src/debug/nakamura_debug_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/nakamura_debug_menu.c b/src/debug/nakamura_debug_menu.c
index 760b10d01..a20d58319 100644
--- a/src/debug/nakamura_debug_menu.c
+++ b/src/debug/nakamura_debug_menu.c
@@ -761,7 +761,7 @@ static u16 FishingPoints_CountFishingTilesInMapThird(u8 a0)
{
for (x = 0; x < gMapHeader.mapData->width; x++)
{
- if (sub_805759C(MapGridGetMetatileBehaviorAt(x + 7, y + 7)) == TRUE)
+ if (MetatileBehavior_IsFeebasEncounterable(MapGridGetMetatileBehaviorAt(x + 7, y + 7)) == TRUE)
{
retval++;
}
@@ -787,7 +787,7 @@ static u16 FishingPoints_GetIndexOfCurrentFishingSpot(void)
{
for (xx = 0; xx < gMapHeader.mapData->width; xx++)
{
- if (sub_805759C(MapGridGetMetatileBehaviorAt(xx + 7, yy + 7)) == TRUE)
+ if (MetatileBehavior_IsFeebasEncounterable(MapGridGetMetatileBehaviorAt(xx + 7, yy + 7)) == TRUE)
{
retval++;
if (x == xx && y == yy)