if (global.dunes_flag[41] < 1 || global.dunes_flag[41] >= 6)
{
instance_destroy()
return;
}
walk_dir = "right"