summaryrefslogtreecommitdiff
path: root/src/battle_setup.c
diff options
context:
space:
mode:
authorultima-soul <akshayjhanji@hotmail.com>2020-03-15 19:44:47 -0700
committerultima-soul <akshayjhanji@hotmail.com>2020-03-15 19:44:47 -0700
commite1f7efb8e67fb5587a8baf20f421c20e134e8b24 (patch)
treef6aaefcb79c3ac6ec09c7592464b67942de8d745 /src/battle_setup.c
parentdd24bd3116021039c136a44470ee7c87e6118d8f (diff)
Document some metatile behaviors and address review comments.
Diffstat (limited to 'src/battle_setup.c')
-rw-r--r--src/battle_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_setup.c b/src/battle_setup.c
index ed9e7a552..1abbbcec6 100644
--- a/src/battle_setup.c
+++ b/src/battle_setup.c
@@ -461,7 +461,7 @@ u8 BattleSetup_GetTerrainId(void)
return BATTLE_TERRAIN_GRASS;
if (MetatileBehavior_IsLongGrass(tileBehavior))
return BATTLE_TERRAIN_LONG_GRASS;
- if (MetatileBehavior_IsMB21OrWaterfallBottom(tileBehavior))
+ if (MetatileBehavior_IsSandOrShallowFlowingWater(tileBehavior))
return BATTLE_TERRAIN_SAND;
switch (gMapHeader.mapType)
{