if (levtype is "o2d" || levtype is "o3d") {
 if ( !defined(MTG2Switch) || MTG2Switch == 0 ){
  alias mars.step = stepRange;
 }
 else {
  alias mars.step = endStep;
 }
} else {
   alias mars.step = endStep;
}
