mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Clarify MB_SEMI_DEEP_WATER name
This commit is contained in:
parent
d5a4bfcd6f
commit
d68e81c2be
@ -18,7 +18,7 @@
|
||||
#define MB_MOSSDEEP_GYM_WARP 0x0E
|
||||
#define MB_MT_PYRE_HOLE 0x0F
|
||||
#define MB_POND_WATER 0x10
|
||||
#define MB_SEMI_DEEP_WATER 0x11
|
||||
#define MB_INTERIOR_DEEP_WATER 0x11 // Used by interior maps; functionally the same as MB_DEEP_WATER
|
||||
#define MB_DEEP_WATER 0x12
|
||||
#define MB_WATERFALL 0x13
|
||||
#define MB_SOOTOPOLIS_DEEP_WATER 0x14
|
||||
|
@ -23,7 +23,7 @@ static const u8 sTileBitAttributes[NUM_METATILE_BEHAVIORS] =
|
||||
[MB_MOSSDEEP_GYM_WARP] = TILE_FLAG_UNUSED,
|
||||
[MB_MT_PYRE_HOLE] = TILE_FLAG_UNUSED,
|
||||
[MB_POND_WATER] = TILE_FLAG_UNUSED | TILE_FLAG_SURFABLE | TILE_FLAG_HAS_ENCOUNTERS,
|
||||
[MB_SEMI_DEEP_WATER] = TILE_FLAG_UNUSED | TILE_FLAG_SURFABLE | TILE_FLAG_HAS_ENCOUNTERS,
|
||||
[MB_INTERIOR_DEEP_WATER] = TILE_FLAG_UNUSED | TILE_FLAG_SURFABLE | TILE_FLAG_HAS_ENCOUNTERS,
|
||||
[MB_DEEP_WATER] = TILE_FLAG_UNUSED | TILE_FLAG_SURFABLE | TILE_FLAG_HAS_ENCOUNTERS,
|
||||
[MB_WATERFALL] = TILE_FLAG_UNUSED | TILE_FLAG_SURFABLE,
|
||||
[MB_SOOTOPOLIS_DEEP_WATER] = TILE_FLAG_UNUSED | TILE_FLAG_SURFABLE,
|
||||
@ -852,7 +852,7 @@ bool8 MetatileBehavior_IsMountain(u8 metatileBehavior)
|
||||
|
||||
bool8 MetatileBehavior_IsDiveable(u8 metatileBehavior)
|
||||
{
|
||||
if (metatileBehavior == MB_SEMI_DEEP_WATER
|
||||
if (metatileBehavior == MB_INTERIOR_DEEP_WATER
|
||||
|| metatileBehavior == MB_DEEP_WATER
|
||||
|| metatileBehavior == MB_SOOTOPOLIS_DEEP_WATER)
|
||||
return TRUE;
|
||||
@ -905,7 +905,7 @@ bool8 MetatileBehavior_IsCrackedIce(u8 metatileBehavior)
|
||||
bool8 MetatileBehavior_IsDeepOrOceanWater(u8 metatileBehavior)
|
||||
{
|
||||
if (metatileBehavior == MB_OCEAN_WATER
|
||||
|| metatileBehavior == MB_SEMI_DEEP_WATER
|
||||
|| metatileBehavior == MB_INTERIOR_DEEP_WATER
|
||||
|| metatileBehavior == MB_DEEP_WATER)
|
||||
return TRUE;
|
||||
else
|
||||
@ -1163,7 +1163,7 @@ bool8 MetatileBehavior_IsSurfableFishableWater(u8 metatileBehavior)
|
||||
{
|
||||
if (metatileBehavior == MB_POND_WATER
|
||||
|| metatileBehavior == MB_OCEAN_WATER
|
||||
|| metatileBehavior == MB_SEMI_DEEP_WATER
|
||||
|| metatileBehavior == MB_INTERIOR_DEEP_WATER
|
||||
|| metatileBehavior == MB_DEEP_WATER
|
||||
|| metatileBehavior == MB_SOOTOPOLIS_DEEP_WATER
|
||||
|| (metatileBehavior == MB_EASTWARD_CURRENT
|
||||
|
Loading…
Reference in New Issue
Block a user