mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-10 07:13:02 +01:00
Remove const
This commit is contained in:
parent
a20745422b
commit
cc018fe6c9
@ -241,7 +241,7 @@ bool8 SetUpFieldMove_Cut(void)
|
|||||||
{
|
{
|
||||||
if (MapGridGetZCoordAt(x, y) == gPlayerFacingPosition.height)
|
if (MapGridGetZCoordAt(x, y) == gPlayerFacingPosition.height)
|
||||||
{
|
{
|
||||||
const u8 tileArrayId = ((sHyperCutStruct[i].y * 5) + 12) + (sHyperCutStruct[i].x);
|
u8 tileArrayId = ((sHyperCutStruct[i].y * 5) + 12) + (sHyperCutStruct[i].x);
|
||||||
tileBehavior = MapGridGetMetatileBehaviorAt(x, y);
|
tileBehavior = MapGridGetMetatileBehaviorAt(x, y);
|
||||||
if (MetatileBehavior_IsPokeGrass(tileBehavior) == TRUE
|
if (MetatileBehavior_IsPokeGrass(tileBehavior) == TRUE
|
||||||
|| MetatileBehavior_IsAshGrass(tileBehavior) == TRUE)
|
|| MetatileBehavior_IsAshGrass(tileBehavior) == TRUE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user