
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "sʋ V20n 擪";
	PluginAuthor = "n";
	IconTexture = "icon.png";
	Description = "ōxF70km/h(ߓŜ95km/h)";
	Description = "";
	Description = "Ґ(2026N7)";
	Description = "[21]01-18";
	Description = "[22]01-05,07-12,51-54,62,63";
	Description = "[23]01-20,56";
	Description = "[24]Pށi2022N_01-04,56j";
	Description = "[25]01-17";
	Description = "SҐXVρEioOELEDOƓ";
	Description = "";
	Description = "]Ґf[^";
	Description = "[22]606[23]656";
	Description = "[23]606[24]656[23]606";
	Description = "[24]601-604[22]651-654";
	Description = "[24]605-611[22]655-661";
	Description = "[OTS]651[]651[22]662";
	Description = "[OTS]652[]652[22]663";
	Description = "";
	Description = "pԍς̕Ґ";
	Description = "[22]13-19,55-61";
	Description = "[23]21,22";
	Description = "SҐXV";
	Description = "";
	Description = "PÍAO`̏CPBRXCb`ǉȂǕIȏCsق́AJł̃fE`t@C\𓥏PĂ܂B";
	Description = "O̎ԂƂ̑_ČĂȂdĺAXVɎ\łB";
}
TrainInfo{
	FrontLimit = 9.55;
	TailLimit = -9.35;
	MaxVelocity = 95.0;
	MaxAcceleration = 2.5;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "{ݒ"{
}
DefineSwitch "d"{
GroupCommon = "nomtbn20d";
	Entry = "";
	Entry = "";
}
DefineSwitch "s()"{
GroupCommon = "nomtbn20s()";
	Entry = "";		//21n͖dlƃSŕ\開ς܂B
	Entry = "";
	Entry = "~---l-";
	Entry = "---X-";
	Entry = "--Z-`-[";
	Entry = "----";
	Entry = "-s-k--";
	Entry = "----";
	Entry = "V---R-";
	Entry = "V---o-";
	Entry = "]----";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "^]";
	Entry = "Վ";
}
DefineSwitch "s()"{
GroupCommon = "nomtbn20s()";
	Entry = "";		//24n͍ΉLƕҐŕ\開ς܂B
	Entry = "";
	Entry = "~---l-";
	Entry = "---X-";
	Entry = "--Z-`-[";
	Entry = "----";
	Entry = "-s-k--";
	Entry = "----";
	Entry = "V---R-";
	Entry = "V---o-";
	Entry = "]----";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "^]";
	Entry = "Վ";
}
DefineSwitch "Ηސݒ-"{
}
DefineSwitch "OƓ"{
GroupCommon = "nomtbn20OƓ";
	Entry = "";
	Entry = "(Id)";
	Entry = "(wu)";
}
DefineSwitch ""{
GroupCommon = "nomtbn20";
	Entry = "";
	Entry = "(ցEwu)";
	Entry = "";
}

DefineSwitch "^]iԁj"{
	Entry = "(c[})";
	Entry = "(}E͂Ȑs)";
	Entry = "";
}
DefineSwitch "Ռiԁj"{
	Entry = "";		//isɕ
	Entry = "J";
	Entry = "";
}
DefineSwitch "qƖ"{
GroupCommon = "nomtbn20q";
	Entry = "";
	Entry = "";
}
DefineSwitch "YtA"{
GroupCommon = "nomtbn20LF";
	Entry = "";
	Entry = "(OƓ̂)";
	Entry = "(̂)";
	Entry = "";
}
DefineSwitch "ԗݒ"{
}
DefineSwitch "Ґ"{
GroupCommon = "nomtbn20Ґ";
	Entry = "01";	
	Entry = "02";
	Entry = "03";
	Entry = "04";
	Entry = "05";
	Entry = "06";
	Entry = "07";
	Entry = "08";
	Entry = "09";
	Entry = "10";
	Entry = "11";	//24n܂
	Entry = "12";
	Entry = "13";
	Entry = "14";
	Entry = "15";
	Entry = "16";
	Entry = "17";	//25n܂
	Entry = "18";	//21n܂
	Entry = "19";	//22nړԂ܂
	Entry = "20";
	Entry = "21";
	Entry = "22";	//23n܂
	Entry = "51";	//22n]Ԃ
	Entry = "52";
	Entry = "53";
	Entry = "54";
	Entry = "55";
	Entry = "56";	//23n(22606F)E24n(23606FEɏo߂)
	Entry = "57";
	Entry = "58";
	Entry = "59";
	Entry = "60";
	Entry = "61";
	Entry = "62";	//OTS
	Entry = "63";	//OTS	22n]Ԃ܂
}

DefineSwitch ""{
GroupCommon = "nomtbn20";
	Entry = "21n(䓰ؐ)";
	Entry = "22n(J)";
	Entry = "23n(l)";
	Entry = "24n()";
	Entry = "25n(O)";
}
DefineSwitch "Aʒu"{
	Entry = "1(]//~c/ӽ/F)";	//2600
	Entry = "4/5/6/9/10(])";				//2900
}
DefineSwitch "j[A"{
GroupCommon = "nomtbn20j[A";
	Entry = "{H";
	Entry = "{H";
}

DefineSwitch "dlݒ(ו)"{
}
DefineSwitch "dl-ҐS"{
GroupCommon = "nomtbn20dl";
	Entry = "wioOǉ";
	Entry = "";
	Entry = "oꎞ";
}
DefineSwitch "]h~y"{
GroupCommon = "nomtbn20]h~y";
	Entry = "L(2000`)";
	Entry = "";
	Entry = "(ԎԊ)";
}
DefineSwitch "S"{
GroupCommon = "nomtbn20S";
	Entry = "Osaka Metro(2018.4.1`)";
	Entry = "sʋ";	
}
DefineSwitch "xr[J[}[N"{
GroupCommon = "nomtbn20xr[J[}[N";
	Entry = "L(2014`)";
	Entry = "";
}
DefineSwitch "ʖԔ"{
GroupCommon = "nomtbn20ʖԔ";
	Entry = "";	
	Entry = "(ꕔҐ)";
}
DefineSwitch "OƓdl"{			
GroupCommon = "nomtbn20OƓdl";
	Entry = "XV";	
	Entry = "^";	
}
DefineSwitch "ԊOXebJ[L"{			
GroupCommon = "nomtbn20ԊOXebJ[L";
	Entry = "";	
	Entry = "1(sTCYE2024?`)";
	Entry = "2(TCY)";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
}
DefineSwitch "ݒ"{
}
DefineSwitch "ȈՉe"{
	GroupCommon = "nomtbn20ȈՉA";
	Entry = "";
	Entry = "";
}
DefineSwitch "gp܂"{
	GroupCommon = "nomtbn208000pbr";
	Entry = "gp܂";
}

PrimaryAssembly{

/*---------------------------------------ԗ֒`---------------------------------------*/

	Axle "wheel1"{
		ModelFileName = "../n_omtbn20_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (7.3,0.43);
	}
	Axle "wheel2"{
		ModelFileName = "../n_omtbn20_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (5.1,0.43);
	}
	Axle "wheel3"{
		ModelFileName = "../n_omtbn20_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-5.1,0.43);
	}
	Axle "wheel4"{
		ModelFileName = "../n_omtbn20_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-7.3,0.43);
	}
/*---------------------------------------ԗ֒`܂---------------------------------------*/

/*---------------------------------------Ԓ`---------------------------------------*/
	Body "Bogie1"{
		ModelFileName = "bogie_t.x";
		ApplySwitch ""{
		Case 1,2,3:
			ApplySwitch "Aʒu"{
			Case 0:
				ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
			}
		Case 4:
			ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
		}
		JointZY "wheel1"{
			AttachCoord = (0,0);
			LocalCoord = (1.1, 0.0);
		}
		JointZY "wheel2"{
			AttachCoord = (0,0);
			LocalCoord = (-1.1, 0.0);
		}
	}
	Body "Bogie2"{
		ModelFileName = "bogie_t.x";
		ApplySwitch ""{
		Case 1,2,3:
			ApplySwitch "Aʒu"{
			Case 0:
				ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
			}
		Case 4:
			ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
		}
		JointZY "wheel3"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (1.1, 0.0);
		}
		JointZY "wheel4"{
			AttachCoord = (0,0);
			LocalCoord = (-1.1, 0.0);
		}
	}
/*---------------------------------------Ԓ`܂---------------------------------------*/

/*---------------------------------------_~[ԑ̒`---------------------------------------*/
	Body "Dummy"{
		ModelFileName = "";
		JointZY "Bogie1"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (6.2, 1.0);
		}
		JointZY "Bogie2"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (-6.2, 1.0);
		}
	}
/*---------------------------------------_~[ԑ̒`܂---------------------------------------*/

/*---------------------------------------`---------------------------------------*/
	Object3D "Interior"{
		ModelFileName = "in_20900.x";
		Transparent = 16;
		If !"d"{
			If !"qƖ"{
				ChangeMaterial{
					MaterialID = 0,1,2,3,4,5,6;
					Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
			If "^]iԁj"==2 || ("^]iԁj"==0 && "_FRONT"){
				ChangeMaterial{
					MaterialID = 7,8,9,10,11,12,13;
					Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
		}
		If ("Ռiԁj"==0 && !"_FRONT")||"Ռiԁj"==2{
			ShiftTexture = 14, 0.25, 0.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------`܂---------------------------------------*/

/*---------------------------------------ԓf`---------------------------------------*/


	Object3D "Doorll_i"{
		ModelFileName = "../n_omtbn20_1/doorill.x";
		Transparent = 3,4,5;
		If !"d"&&!"qƖ"{
			ChangeMaterial{
				MaterialID = 0,1,5,7;
				Emissive = 1.0, 1.0, 1.0;
			}
		}
		If "_DOOR1"{
			StaticMove{
				Displacement = (0.0, 0.0, 0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.05);
				PreAnimationDelay = 2.7;
				AnimationTime = 0.3;
				PreReverseDelay = 2.2;
				ReverseTime = 0.3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorlr_i"{
		ModelFileName = "../n_omtbn20_1/doorilr.x";
		Transparent = 3,4,5;
		If !"d"&&!"qƖ"{
			ChangeMaterial{
				MaterialID = 0,1,5,7;
				Emissive = 1.0, 1.0, 1.0;
			}
		}
		If "_DOOR1" {
			StaticMove{
				Displacement = (0.0, 0.0, -0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.05);
				PreAnimationDelay = 2.7;
				AnimationTime = 0.3;
				 PreReverseDelay = 2.2;
				ReverseTime = 0.3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl_i"{
		ModelFileName = "../n_omtbn20_1/doorirl.x";
		Transparent = 3,4,5;
		If !"d"&&!"qƖ"{
			ChangeMaterial{
				MaterialID = 0,1,5,7;
				Emissive = 1.0, 1.0, 1.0;
			}
		}
		If "_DOOR2"{
			StaticMove{
				Displacement = (0.0, 0.0, 0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.05);
				PreAnimationDelay = 2.7;
				AnimationTime = 0.3;
				 PreReverseDelay = 2.2;
				ReverseTime = 0.3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrr_i"{
		ModelFileName = "../n_omtbn20_1/doorirr.x";
		Transparent = 3,4,5;
		If !"d"&&!"qƖ"{
			ChangeMaterial{
				MaterialID = 0,1,5,7;
				Emissive = 1.0, 1.0, 1.0;
			}
		}
		If "_DOOR2"{
			StaticMove{
				Displacement = (0.0, 0.0, -0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.05);
				PreAnimationDelay = 2.7;
				AnimationTime = 0.3;
				 PreReverseDelay = 2.2;
				ReverseTime = 0.3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

/*---------------------------------------ԓf`܂---------------------------------------*/

/*---------------------------------------ԑ̃f`---------------------------------------*/
	Object3D "MainBody"{
		ModelFileName = "body_20900.x";
		Transparent = 30;
		If !"d"{
			If ("OƓ"==0 && !"_FRONT")||"OƓ"==1{
				ChangeAlpha = 1,1.0;
				NoShadow = 0,1;
@@@@@	@@	}
			If (""==0 && "_FRONT"&&!"_CONNECT1")||""==1{
				ChangeMaterial{
					MaterialID = 4;
					Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
				NoReceiveShadow = 4;
				ShiftTexture = 4, 0.0, -0.03125;
			}
			If !"qƖ"{
				ChangeMaterial{
					MaterialID = 28;
					Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
		}
		ApplySwitch ""{
		Case 1:
			ChangeTexture = 5, "tex/body_22900.png";
			ChangeTexture = 6, "tex/body_22900.png";
			ChangeTexture = 7, "tex/body_22900.png";
		Case 2:
			ChangeTexture = 5, "tex/body_23900.png";
			ChangeTexture = 6, "tex/body_23900.png";
			ChangeTexture = 7, "tex/body_23900.png";
		Case 3:
			If "Ґ">=33{
				ChangeTexture = 5, "tex/body_900.png";
				ChangeTexture = 6, "tex/body_900.png";
				ChangeTexture = 7, "tex/body_900.png";
				ChangeTexture = 8, "tex/face1.png";
			}Else{
				ChangeTexture = 5, "tex/body_24900.png";
				ChangeTexture = 6, "tex/body_24900.png";
				ChangeTexture = 7, "tex/body_24900.png";
			}
		Case 4:
			ChangeTexture = 5, "tex/body_25900.png";
			ChangeTexture = 6, "tex/body_25900.png";
			ChangeTexture = 7, "tex/body_25900.png";
		}
		If !"j[A"{
			ApplySwitch "Aʒu"{
			Case 0:
				ApplySwitch ""{
				Case 0:
					ShiftTexture = 7, -0.0625, 0.0;
				Case 1,4:
					ShiftTexture = 7, -0.625, 0.0;
				Case 2,3:
					ShiftTexture = 7, -0.3125, 0.0;
				}
			Case 1:
				ApplySwitch ""{
				Case 0,2,3:
					ShiftTexture = 7, -0.625, 0.0;
				Case 1:
					ShiftTexture = 7, -0.3125, 0.0;
				Case 4:
					ShiftTexture = 7, -0.4375, 0.0;
				}
			}
			ShiftTexture = 6, 0.0, 0.5625;
		}
		If !"OƓdl"{
			ShiftTexture = 0, 0.0, -0.25;
			ShiftTexture = 1, 0.0, -0.25;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԑ̃f`܂---------------------------------------*/


/*---------------------------------------ԊOf`---------------------------------------*/
	Object3D "Doorll"{
		ModelFileName = "Doorll.x";
		Transparent = 1;
		ApplySwitch ""{
		Case 1:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_22900.png";
		Case 2:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_23900.png";
		Case 3:
			If "Ґ">=33{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_900.png";
			}Else{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_24900.png";
			}
		Case 4:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_25900.png";
		}
		Joint3D "Doorll_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorlr"{
		ModelFileName = "Doorlr.x";
		Transparent = 1;
		ApplySwitch ""{
		Case 1:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_22900.png";
		Case 2:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_23900.png";
		Case 3:
			If "Ґ">=33{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_900.png";
			}Else{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_24900.png";
			}
		Case 4:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_25900.png";
		}
		Joint3D "Doorlr_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "Doorrl.x";
		Transparent = 1;
		ApplySwitch ""{
		Case 1:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_22900.png";
		Case 2:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_23900.png";
		Case 3:
			If "Ґ">=33{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_900.png";
			}Else{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_24900.png";
			}
		Case 4:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_25900.png";
		}
		Joint3D "Doorrl_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrr"{
		ModelFileName = "Doorrr.x";
		Transparent = 1;
		ApplySwitch ""{
		Case 1:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_22900.png";
		Case 2:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_23900.png";
		Case 3:
			If "Ґ">=33{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_900.png";
			}Else{
				ChangeTexture = 0, "../n_omtbn20_1/tex/body_24900.png";
			}
		Case 4:
			ChangeTexture = 0, "../n_omtbn20_1/tex/body_25900.png";
		}
		Joint3D "Doorrr_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԊOf`܂---------------------------------------*/

/*---------------------------------------ʖ`---------------------------------------*/

	Object3D "roll"{
		ModelFileName = "roll_f.x";
		ApplySwitch ""{
		Case 0:
			If( !"_FRONT" && !"Aʒu" )||( "_FRONT" && "Aʒu" ){
				ApplySwitch "s()"{
				Case 0:
					If !"dl-ҐS"&&!"S"{
						ShiftTexture = 0, 0.5, -0.4375;
						ShiftTexture = 1, 0.5, -0.4375;
						ShiftTexture = 2, 0.5, -0.46484375;
					}Else{
						ShiftTexture = 0, 0.0, -0.4375;
						ShiftTexture = 1, 0.0, -0.4375;
						ShiftTexture = 2, 0.0, -0.46484375;
					}
				Case 2:
					ShiftTexture = 0, -0.25, -0.4375;
					ShiftTexture = 1, -0.25, -0.4375;
					ShiftTexture = 2, -0.25, -0.46484375;
				Case 3:
					ShiftTexture = 0, -0.25, -0.375;
					ShiftTexture = 1, -0.25, -0.375;
					ShiftTexture = 2, -0.25, -0.3984375;
				Case 4:
					ShiftTexture = 0, -0.25, -0.3125;
					ShiftTexture = 1, -0.25, -0.3125;
					ShiftTexture = 2, -0.25, -0.33203125;
				Case 5:
					ShiftTexture = 0, 0.0, -0.4375;
					ShiftTexture = 1, 0.0, -0.4375;
					ShiftTexture = 2, 0.0, -0.46484375;
				Case 6:
					ShiftTexture = 0, 0.0, -0.375;
					ShiftTexture = 1, 0.0, -0.375;
					ShiftTexture = 2, 0.0, -0.3984375;
				Case 7:
					ShiftTexture = 0, 0.0, -0.3125;
					ShiftTexture = 1, 0.0, -0.3125;
					ShiftTexture = 2, 0.0, -0.33203125;
				Case 8:
					ShiftTexture = 0, 0.25, -0.4375;
					ShiftTexture = 1, 0.25, -0.4375;
					ShiftTexture = 2, 0.25, -0.46484375;
				Case 9:
					ShiftTexture = 0, 0.25, -0.375;
					ShiftTexture = 1, 0.25, -0.375;
					ShiftTexture = 2, 0.25, -0.3984375;
				Case 10:
					ShiftTexture = 0, 0.25, -0.3125;
					ShiftTexture = 1, 0.25, -0.3125;
					ShiftTexture = 2, 0.25, -0.33203125;
				Case 11:
					If "dl-ҐS"!=1{
						ShiftTexture = 0, 0.5, -0.4375;
						ShiftTexture = 1, 0.5, -0.4375;
						ShiftTexture = 2, 0.5, -0.46484375;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.5;
					}
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}Else{
				ApplySwitch "s()"{
				Case 2:
					ShiftTexture = 0, -0.25, -0.4375;
					ShiftTexture = 1, -0.25, -0.4375;
					ShiftTexture = 2, -0.25, -0.46484375;
				Case 3:
					ShiftTexture = 0, -0.25, -0.375;
					ShiftTexture = 1, -0.25, -0.375;
					ShiftTexture = 2, -0.25, -0.3984375;
				Case 0,4:
					ShiftTexture = 0, -0.25, -0.3125;
					ShiftTexture = 1, -0.25, -0.3125;
					ShiftTexture = 2, -0.25, -0.33203125;
				Case 5:
					ShiftTexture = 0, 0.0, -0.4375;
					ShiftTexture = 1, 0.0, -0.4375;
					ShiftTexture = 2, 0.0, -0.46484375;
				Case 6:
					ShiftTexture = 0, 0.0, -0.375;
					ShiftTexture = 1, 0.0, -0.375;
					ShiftTexture = 2, 0.0, -0.3984375;
				Case 7:
					ShiftTexture = 0, 0.0, -0.3125;
					ShiftTexture = 1, 0.0, -0.3125;
					ShiftTexture = 2, 0.0, -0.33203125;
				Case 8:
					ShiftTexture = 0, 0.25, -0.4375;
					ShiftTexture = 1, 0.25, -0.4375;
					ShiftTexture = 2, 0.25, -0.46484375;
				Case 9:
					ShiftTexture = 0, 0.25, -0.375;
					ShiftTexture = 1, 0.25, -0.375;
					ShiftTexture = 2, 0.25, -0.3984375;
				Case 10:
					ShiftTexture = 0, 0.25, -0.3125;
					ShiftTexture = 1, 0.25, -0.3125;
					ShiftTexture = 2, 0.25, -0.33203125;
				Case 11:
					If "dl-ҐS"!=1{
						ShiftTexture = 0, 0.5, -0.4375;
						ShiftTexture = 1, 0.5, -0.4375;
						ShiftTexture = 2, 0.5, -0.46484375;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.46484375;
					}
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}
		Case 1:
			If( !"_FRONT" && !"Aʒu" )||( "_FRONT" && "Aʒu" ){
				ApplySwitch "s()"{
				Case 2:
					ShiftTexture = 0, -0.25, -0.25;
					ShiftTexture = 1, -0.25, -0.25;
					ShiftTexture = 2, -0.25, -0.265625;
				Case 0,3:
					ShiftTexture = 0, -0.25, -0.1875;
					ShiftTexture = 1, -0.25, -0.1875;
					ShiftTexture = 2, -0.25, -0.19921875;
				Case 4:
					ShiftTexture = 0, -0.25, -0.125;
					ShiftTexture = 1, -0.25, -0.125;
					ShiftTexture = 2, -0.25, -0.1328125;
				Case 5:
					ShiftTexture = 0, 0.0, -0.25;
					ShiftTexture = 1, 0.0, -0.25;
					ShiftTexture = 2, 0.0, -0.265625;
				Case 6:
					ShiftTexture = 0, 0.0, -0.1875;
					ShiftTexture = 1, 0.0, -0.1875;
					ShiftTexture = 2, 0.0, -0.19921875;
				Case 7:
					ShiftTexture = 0, 0.0, -0.125;
					ShiftTexture = 1, 0.0, -0.125;
					ShiftTexture = 2, 0.0, -0.1328125;
				Case 8:
					ShiftTexture = 0, 0.25, -0.25;
					ShiftTexture = 1, 0.25, -0.25;
					ShiftTexture = 2, 0.25, -0.265625;
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}Else{
				ApplySwitch "s()"{
				Case 0,2:
					ShiftTexture = 0, -0.25, -0.25;
					ShiftTexture = 1, -0.25, -0.25;
					ShiftTexture = 2, -0.25, -0.265625;
				Case 3:
					ShiftTexture = 0, -0.25, -0.1875;
					ShiftTexture = 1, -0.25, -0.1875;
					ShiftTexture = 2, -0.25, -0.19921875;
				Case 4:
					ShiftTexture = 0, -0.25, -0.125;
					ShiftTexture = 1, -0.25, -0.125;
					ShiftTexture = 2, -0.25, -0.1328125;
				Case 5:
					ShiftTexture = 0, 0.0, -0.25;
					ShiftTexture = 1, 0.0, -0.25;
					ShiftTexture = 2, 0.0, -0.265625;
				Case 6:
					ShiftTexture = 0, 0.0, -0.1875;
					ShiftTexture = 1, 0.0, -0.1875;
					ShiftTexture = 2, 0.0, -0.19921875;
				Case 7:
					ShiftTexture = 0, 0.0, -0.125;
					ShiftTexture = 1, 0.0, -0.125;
					ShiftTexture = 2, 0.0, -0.1328125;
				Case 8:
					ShiftTexture = 0, 0.25, -0.25;
					ShiftTexture = 1, 0.25, -0.25;
					ShiftTexture = 2, 0.25, -0.265625;
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}
		Case 2:
			If( !"_FRONT" && !"Aʒu" )||( "_FRONT" && "Aʒu" ){
				ApplySwitch "s()"{
				Case 2:
					ShiftTexture = 0, -0.25, -0.0625;
					ShiftTexture = 1, -0.25, -0.0625;
					ShiftTexture = 2, -0.25, -0.06640625;
				Case 3:
					ShiftTexture = 0, -0.25, 0.0;
					ShiftTexture = 1, -0.25, 0.0;
					ShiftTexture = 2, -0.25, 0.0;
				Case 4:
					ShiftTexture = 0, -0.25, 0.0625;
					ShiftTexture = 1, -0.25, 0.0625;
					ShiftTexture = 2, -0.25, 0.06640625;
				Case 0,5:
					ShiftTexture = 0, 0.0, -0.0625;
					ShiftTexture = 1, 0.0, -0.0625;
					ShiftTexture = 2, 0.0, -0.06640625;
				Case 6:
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}Else{
				ApplySwitch "s()"{
				Case 2:
					ShiftTexture = 0, -0.25, -0.0625;
					ShiftTexture = 1, -0.25, -0.0625;
					ShiftTexture = 2, -0.25, -0.06640625;
				Case 3:
					ShiftTexture = 0, -0.25, 0.0;
					ShiftTexture = 1, -0.25, 0.0;
					ShiftTexture = 2, -0.25, 0.0;
				Case 0,4:
					ShiftTexture = 0, -0.25, 0.0625;
					ShiftTexture = 1, -0.25, 0.0625;
					ShiftTexture = 2, -0.25, 0.06640625;
				Case 5:
					ShiftTexture = 0, 0.0, -0.0625;
					ShiftTexture = 1, 0.0, -0.0625;
					ShiftTexture = 2, 0.0, -0.06640625;
				Case 6:
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}
		Case 3:
			If( !"_FRONT" && !"Aʒu" )||( "_FRONT" && "Aʒu" ){
				ApplySwitch "s()"{
				Case 0:
					ShiftTexture = 0, 0.25, 0.125;
					ShiftTexture = 1, 0.25, 0.125;
					ShiftTexture = 2, 0.25, 0.1328125;
				Case 2:
					ShiftTexture = 0, -0.25, 0.125;
					ShiftTexture = 1, -0.25, 0.125;
					ShiftTexture = 2, -0.25, 0.1328125;
				Case 3:
					ShiftTexture = 0, -0.25, 0.1875;
					ShiftTexture = 1, -0.25, 0.1875;
					ShiftTexture = 2, -0.25, 0.19921875;
				Case 4:
					ShiftTexture = 0, -0.25, 0.25;
					ShiftTexture = 1, -0.25, 0.25;
					ShiftTexture = 2, -0.25, 0.265625;
				Case 5:
					ShiftTexture = 0, 0.0, 0.125;
					ShiftTexture = 1, 0.0, 0.125;
					ShiftTexture = 2, 0.0, 0.1328125;
				Case 6:
					ShiftTexture = 0, 0.0, 0.1875;
					ShiftTexture = 1, 0.0, 0.1875;
					ShiftTexture = 2, 0.0, 0.19921875;
				Case 7:
					ShiftTexture = 0, 0.0, 0.25;
					ShiftTexture = 1, 0.0, 0.25;
					ShiftTexture = 2, 0.0, 0.265625;
				Case 8:
					ShiftTexture = 0, 0.25, 0.125;
					ShiftTexture = 1, 0.25, 0.125;
					ShiftTexture = 2, 0.25, 0.1328125;
				Case 9:
					If "dl-ҐS"<2{
						ShiftTexture = 0, 0.25, 0.1875;
						ShiftTexture = 1, 0.25, 0.1875;
						ShiftTexture = 2, 0.25, 0.19921875;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.46484375;
					}
				Case 10:
					If "dl-ҐS"<2{
						ShiftTexture = 0, 0.25, 0.25;
						ShiftTexture = 1, 0.25, 0.25;
						ShiftTexture = 2, 0.25, 0.265625;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.46484375;
					}
				Case 11:
					If "dl-ҐS"!=1{
						ShiftTexture = 0, 0.5, 0.125;
						ShiftTexture = 1, 0.5, 0.125;
						ShiftTexture = 2, 0.5, 0.1328125;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.46484375;
					}
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}Else{
				ApplySwitch "s()"{
				Case 0:
					If "Ґ"<4||"Ґ"==27{
						ShiftTexture = 0, 0.25, 0.1875;
						ShiftTexture = 1, 0.25, 0.1875;
						ShiftTexture = 2, 0.25, 0.19921875;
					}Else{
						ShiftTexture = 0, 0.0, 0.1875;
						ShiftTexture = 1, 0.0, 0.1875;
						ShiftTexture = 2, 0.0, 0.19921875;
					}
				Case 2:
					ShiftTexture = 0, -0.25, 0.125;
					ShiftTexture = 1, -0.25, 0.125;
					ShiftTexture = 2, -0.25, 0.1328125;
				Case 3:
					ShiftTexture = 0, -0.25, 0.1875;
					ShiftTexture = 1, -0.25, 0.1875;
					ShiftTexture = 2, -0.25, 0.19921875;
				Case 4:
					ShiftTexture = 0, -0.25, 0.25;
					ShiftTexture = 1, -0.25, 0.25;
					ShiftTexture = 2, -0.25, 0.265625;
				Case 5:
					ShiftTexture = 0, 0.0, 0.125;
					ShiftTexture = 1, 0.0, 0.125;
					ShiftTexture = 2, 0.0, 0.1328125;
				Case 6:
					ShiftTexture = 0, 0.0, 0.1875;
					ShiftTexture = 1, 0.0, 0.1875;
					ShiftTexture = 2, 0.0, 0.19921875;
				Case 7:
					ShiftTexture = 0, 0.0, 0.25;
					ShiftTexture = 1, 0.0, 0.25;
					ShiftTexture = 2, 0.0, 0.265625;
				Case 8:
					ShiftTexture = 0, 0.25, 0.125;
					ShiftTexture = 1, 0.25, 0.125;
					ShiftTexture = 2, 0.25, 0.1328125;
				Case 9:
					If "dl-ҐS"<2{
						ShiftTexture = 0, 0.25, 0.1875;
						ShiftTexture = 1, 0.25, 0.1875;
						ShiftTexture = 2, 0.25, 0.19921875;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.46484375;
					}
				Case 10:
					If "dl-ҐS"<2{
						ShiftTexture = 0, 0.25, 0.25;
						ShiftTexture = 1, 0.25, 0.25;
						ShiftTexture = 2, 0.25, 0.265625;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.46484375;
					}
				Case 11:
					If "dl-ҐS"!=1{
						ShiftTexture = 0, 0.5, 0.125;
						ShiftTexture = 1, 0.5, 0.125;
						ShiftTexture = 2, 0.5, 0.1328125;
					}Else{
						ShiftTexture = 0, 0.5, 0.5;
						ShiftTexture = 1, 0.5, 0.5;
						ShiftTexture = 2, 0.5, 0.46484375;
					}
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}
		Case 4:
			If( !"_FRONT" && !"Aʒu" )||( "_FRONT" && "Aʒu" ){
				ApplySwitch "s()"{
				Case 0,2:
					ShiftTexture = 0, -0.25, 0.3125;
					ShiftTexture = 1, -0.25, 0.3125;
					ShiftTexture = 2, -0.25, 0.33203125;
				Case 3:
					ShiftTexture = 0, -0.25, 0.375;
					ShiftTexture = 1, -0.25, 0.375;
					ShiftTexture = 2, -0.25, 0.3984375;
				Case 4:
					ShiftTexture = 0, -0.25, 0.4375;
					ShiftTexture = 1, -0.25, 0.4375;
					ShiftTexture = 2, -0.25, 0.46484375;
				Case 5:
					ShiftTexture = 0, 0.0, 0.3125;
					ShiftTexture = 1, 0.0, 0.3125;
					ShiftTexture = 2, 0.0, 0.33203125;
				Case 6:
					ShiftTexture = 0, 0.0, 0.375;
					ShiftTexture = 1, 0.0, 0.375;
					ShiftTexture = 2, 0.0, 0.3984375;
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}Else{
				ApplySwitch "s()"{
				Case 2:
					ShiftTexture = 0, -0.25, 0.3125;
					ShiftTexture = 1, -0.25, 0.3125;
					ShiftTexture = 2, -0.25, 0.33203125;
				Case 0,3:
					ShiftTexture = 0, -0.25, 0.375;
					ShiftTexture = 1, -0.25, 0.375;
					ShiftTexture = 2, -0.25, 0.3984375;
				Case 4:
					ShiftTexture = 0, -0.25, 0.4375;
					ShiftTexture = 1, -0.25, 0.4375;
					ShiftTexture = 2, -0.25, 0.46484375;
				Case 5:
					ShiftTexture = 0, 0.0, 0.3125;
					ShiftTexture = 1, 0.0, 0.3125;
					ShiftTexture = 2, 0.0, 0.33203125;
				Case 6:
					ShiftTexture = 0, 0.0, 0.375;
					ShiftTexture = 1, 0.0, 0.375;
					ShiftTexture = 2, 0.0, 0.3984375;
				Case 13:
					ShiftTexture = 0, -0.25, 0.5;
					ShiftTexture = 1, -0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.265625;
				Case 14:
					ShiftTexture = 0, 0.0, 0.5;
					ShiftTexture = 1, 0.0, 0.5;
					ShiftTexture = 2, 0.5, 0.33203125;
				Case 15:
					ShiftTexture = 0, 0.25, 0.5;
					ShiftTexture = 1, 0.25, 0.5;
					ShiftTexture = 2, 0.5, 0.3984375;
				Default:
					ShiftTexture = 0, 0.5, 0.5;
					ShiftTexture = 1, 0.5, 0.5;
					ShiftTexture = 2, 0.5, 0.46484375;
				}
			}
		}
		ApplySwitch "dl-ҐS"{
		Case 0:
			ChangeTexture = 0, "tex/roll_7.png";
			ChangeTexture = 1, "tex/roll_7.png";
			ChangeTexture = 2, "tex/roll_1.png";
		Case 1:
			ChangeTexture = 0, "tex/roll_6.png";
			ChangeTexture = 1, "tex/roll_6.png";
			ChangeTexture = 2, "tex/roll_1.png";
		Case 2:
			ChangeTexture = 0, "tex/roll_5.png";
			ChangeTexture = 1, "tex/roll_5.png";
			ChangeTexture = 2, "tex/roll_0.png";
		}
		If !"d"{
			ChangeMaterial{
				MaterialID = 0,1,2;
				Emissive = 1.0, 1.0, 1.0;
@@@			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ʖ`܂---------------------------------------*/

/*---------------------------------------O}[N`---------------------------------------*/

	Object3D "mark_f"{
		ModelFileName = "mark_vvvf.x";
		CastShadow = no;
		If ""==3 && "Ґ">=33{
			If !"S" {
				ChangeModel = "mark_ots_f.x", 1.0;
			}Else{
				ChangeModel = "mark_vvvf_ots.x", 1.0;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------O}[N`܂---------------------------------------*/

/*---------------------------------------}[N`---------------------------------------*/

	Object3D "mark_s"{
		ModelFileName = "mark_om.x";
		CastShadow = no;
		If !"S"{
			If ""==3 && "Ґ">=33{
				ChangeModel = "mark_ots_s.x", 1.0;
			}
		}Else{
			ApplySwitch ""{
			Case 0:
				ShiftTexture = 0, -0.125, 0.0;
			Case 1:
				ShiftTexture = 0, -0.0625, 0.0;
			Case 2:
			Case 3:
				ShiftTexture = 0, 0.0625, 0.0;
			Case 4:
				ShiftTexture = 0, 0.125, 0.0;
			}
			ChangeModel = "mark_omtb.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------}[N`܂---------------------------------------*/

/*---------------------------------------OԔԒ`---------------------------------------*/

	Object3D "number_f"{
		ModelFileName = "number_20900.x";
		CastShadow = no;
		If (""==1 && "Ґ"<=6)||(""==2 && ("Ґ"<=6||"Ґ"==27))||(""==3 && "Ґ"==27){
			ChangeModel = "number_22901.x", 1.0;
		}
		ApplySwitch ""{
		Case 0:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.0, 0.5625;
			Case 1:
			}
		Case 1:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.0, 0.9375;
			Case 1:
				ShiftTexture = 0, 0.0, 0.625;
			}
		Case 2:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.3125;
			Case 1:
				ShiftTexture = 0, 0.25, 0.0;
			}
		Case 3:
			If "Ґ">=33{
				ChangeModel = "number_951.x", 1.0;
			}
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.6875;
			Case 1:
				ShiftTexture = 0, 0.25, 0.375;
			}
		Case 4:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.9375;
			Case 1:
				ShiftTexture = 0, 0.25, 0.75;
			}
		}
		ApplySwitch "Ґ"{
		Case 0:	
		Case 1:
			ShiftTexture = 1, 0.0, 0.0625;
		Case 2:
			ShiftTexture = 1, 0.0, 0.125;
		Case 3:
			ShiftTexture = 1, 0.0, 0.1875;
		Case 4:
			ShiftTexture = 1, 0.0, 0.25;
		Case 5:
			ShiftTexture = 1, 0.0, 0.3125;
		Case 6:
			ShiftTexture = 1, 0.0, 0.375;
		Case 7:
			ShiftTexture = 1, 0.0, 0.4375;
		Case 8:
			ShiftTexture = 1, 0.0, 0.5;
		Case 9:
			ShiftTexture = 1, 0.0, 0.5625;
		Case 10:
			ShiftTexture = 1, 0.0, 0.625;
		Case 11:
			ShiftTexture = 1, 0.0, 0.6875;
		Case 12:
			ShiftTexture = 1, 0.0, 0.75;
		Case 13:
			ShiftTexture = 1, 0.0, 0.8125;
		Case 14:
			ShiftTexture = 1, 0.0, 0.875;
		Case 15:
			ShiftTexture = 1, 0.0, 0.9375;
		Case 16:
			ShiftTexture = 1, 0.25, 0.0;
		Case 17:
			ShiftTexture = 1, 0.25, 0.0625;
		Case 18:
			ShiftTexture = 1, 0.25, 0.125;
		Case 19:
			ShiftTexture = 1, 0.25, 0.1875;
		Case 20:
			ShiftTexture = 1, 0.25, 0.25;
		Case 21:
			ShiftTexture = 1, 0.25, 0.3125;
		Case 22:
			ShiftTexture = 1, 0.25, 0.375;
		Case 23:
			ShiftTexture = 1, 0.25, 0.4375;
		Case 24:
			ShiftTexture = 1, 0.25, 0.5;
		Case 25:
			ShiftTexture = 1, 0.25, 0.5625;
		Case 26:
			ShiftTexture = 1, 0.25, 0.625;
		Case 27:
			ShiftTexture = 1, 0.25, 0.6875;
		Case 28:
			ShiftTexture = 1, 0.25, 0.75;
		Case 29:
			ShiftTexture = 1, 0.25, 0.8125;
		Case 30:
			ShiftTexture = 1, 0.25, 0.875;
		Case 31:
			ShiftTexture = 1, 0.25, 0.9375;
		Case 32:
			ShiftTexture = 1, 0.5, 0.0;
		Case 33:
			ShiftTexture = 1, 0.5, 0.0625;
		Case 34:
			ShiftTexture = 1, 0.5, 0.125;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------OԔԒ`܂---------------------------------------*/

/*---------------------------------------ԔԒ`---------------------------------------*/

	Object3D "number_s"{
		ModelFileName = "number_20200.x";
		CastShadow = no;
		If ""==3&& "Ґ">=33{
			ChangeModel = "number_251.x", 1.0;
		}
		ApplySwitch ""{
		Case 0:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.0, 0.5625;
			Case 1:
			}
		Case 1:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.0, 0.9375;
			Case 1:
				ShiftTexture = 0, 0.0, 0.625;
			}
		Case 2:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.3125;
			Case 1:
				ShiftTexture = 0, 0.25, 0.0;
			}
		Case 3:
			If "Ґ">=33{
				ChangeModel = "number_951.x", 1.0;
			}
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.6875;
			Case 1:
				ShiftTexture = 0, 0.25, 0.375;
			}
		Case 4:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.9375;
			Case 1:
				ShiftTexture = 0, 0.25, 0.75;
			}
		}
		ApplySwitch "Ґ"{
		Case 0:	
		Case 1:
			ShiftTexture = 1, 0.0, 0.0625;
		Case 2:
			ShiftTexture = 1, 0.0, 0.125;
		Case 3:
			ShiftTexture = 1, 0.0, 0.1875;
		Case 4:
			ShiftTexture = 1, 0.0, 0.25;
		Case 5:
			ShiftTexture = 1, 0.0, 0.3125;
		Case 6:
			ShiftTexture = 1, 0.0, 0.375;
		Case 7:
			ShiftTexture = 1, 0.0, 0.4375;
		Case 8:
			ShiftTexture = 1, 0.0, 0.5;
		Case 9:
			ShiftTexture = 1, 0.0, 0.5625;
		Case 10:
			ShiftTexture = 1, 0.0, 0.625;
		Case 11:
			ShiftTexture = 1, 0.0, 0.6875;
		Case 12:
			ShiftTexture = 1, 0.0, 0.75;
		Case 13:
			ShiftTexture = 1, 0.0, 0.8125;
		Case 14:
			ShiftTexture = 1, 0.0, 0.875;
		Case 15:
			ShiftTexture = 1, 0.0, 0.9375;
		Case 16:
			ShiftTexture = 1, 0.25, 0.0;
		Case 17:
			ShiftTexture = 1, 0.25, 0.0625;
		Case 18:
			ShiftTexture = 1, 0.25, 0.125;
		Case 19:
			ShiftTexture = 1, 0.25, 0.1875;
		Case 20:
			ShiftTexture = 1, 0.25, 0.25;
		Case 21:
			ShiftTexture = 1, 0.25, 0.3125;
		Case 22:
			ShiftTexture = 1, 0.25, 0.375;
		Case 23:
			ShiftTexture = 1, 0.25, 0.4375;
		Case 24:
			ShiftTexture = 1, 0.25, 0.5;
		Case 25:
			ShiftTexture = 1, 0.25, 0.5625;
		Case 26:
			ShiftTexture = 1, 0.25, 0.625;
		Case 27:
			ShiftTexture = 1, 0.25, 0.6875;
		Case 28:
			ShiftTexture = 1, 0.25, 0.75;
		Case 29:
			ShiftTexture = 1, 0.25, 0.8125;
		Case 30:
			ShiftTexture = 1, 0.25, 0.875;
		Case 31:
			ShiftTexture = 1, 0.25, 0.9375;
		Case 32:
			ShiftTexture = 1, 0.5, 0.0;
		Case 33:
			ShiftTexture = 1, 0.5, 0.0625;
		Case 34:
			ShiftTexture = 1, 0.5, 0.125;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԔԒ`܂---------------------------------------*/

/*---------------------------------------ԔԒ`---------------------------------------*/

	Object3D "number_sr"{
		ModelFileName = "";
		CastShadow = no;
		If !"j[A"&&""!=3&&!("ʖԔ"&&((""==0&&"Ґ"<=8)||(""==1&&"Ґ"<=6)||(""==2&&("Ґ"<=8||"Ґ"==27)))){
			ChangeModel = "number_20200r.x", 1.0;
		}
		ApplySwitch ""{
		Case 0:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.0, 0.5625;
			Case 1:
			}
		Case 1:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.0, 0.9375;
			Case 1:
				ShiftTexture = 0, 0.0, 0.625;
			}
		Case 2:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.3125;
			Case 1:
				ShiftTexture = 0, 0.25, 0.0;
			}
		Case 3:
			If "Ґ">=33{
				ChangeModel = "number_951.x", 1.0;
			}
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.6875;
			Case 1:
				ShiftTexture = 0, 0.25, 0.375;
			}
		Case 4:
			ApplySwitch "Aʒu"{
			Case 0:
				ShiftTexture = 0, 0.25, 0.9375;
			Case 1:
				ShiftTexture = 0, 0.25, 0.75;
			}
		}
		ApplySwitch "Ґ"{
		Case 0:	
		Case 1:
			ShiftTexture = 1, 0.0, 0.0625;
		Case 2:
			ShiftTexture = 1, 0.0, 0.125;
		Case 3:
			ShiftTexture = 1, 0.0, 0.1875;
		Case 4:
			ShiftTexture = 1, 0.0, 0.25;
		Case 5:
			ShiftTexture = 1, 0.0, 0.3125;
		Case 6:
			ShiftTexture = 1, 0.0, 0.375;
		Case 7:
			ShiftTexture = 1, 0.0, 0.4375;
		Case 8:
			ShiftTexture = 1, 0.0, 0.5;
		Case 9:
			ShiftTexture = 1, 0.0, 0.5625;
		Case 10:
			ShiftTexture = 1, 0.0, 0.625;
		Case 11:
			ShiftTexture = 1, 0.0, 0.6875;
		Case 12:
			ShiftTexture = 1, 0.0, 0.75;
		Case 13:
			ShiftTexture = 1, 0.0, 0.8125;
		Case 14:
			ShiftTexture = 1, 0.0, 0.875;
		Case 15:
			ShiftTexture = 1, 0.0, 0.9375;
		Case 16:
			ShiftTexture = 1, 0.25, 0.0;
		Case 17:
			ShiftTexture = 1, 0.25, 0.0625;
		Case 18:
			ShiftTexture = 1, 0.25, 0.125;
		Case 19:
			ShiftTexture = 1, 0.25, 0.1875;
		Case 20:
			ShiftTexture = 1, 0.25, 0.25;
		Case 21:
			ShiftTexture = 1, 0.25, 0.3125;
		Case 22:
			ShiftTexture = 1, 0.25, 0.375;
		Case 23:
			ShiftTexture = 1, 0.25, 0.4375;
		Case 24:
			ShiftTexture = 1, 0.25, 0.5;
		Case 25:
			ShiftTexture = 1, 0.25, 0.5625;
		Case 26:
			ShiftTexture = 1, 0.25, 0.625;
		Case 27:
			ShiftTexture = 1, 0.25, 0.6875;
		Case 28:
			ShiftTexture = 1, 0.25, 0.75;
		Case 29:
			ShiftTexture = 1, 0.25, 0.8125;
		Case 30:
			ShiftTexture = 1, 0.25, 0.875;
		Case 31:
			ShiftTexture = 1, 0.25, 0.9375;
		Case 32:
			ShiftTexture = 1, 0.5, 0.0;
		Case 33:
			ShiftTexture = 1, 0.5, 0.0625;
		Case 34:
			ShiftTexture = 1, 0.5, 0.125;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԔԒ`܂---------------------------------------*/



/*---------------------------------------ԊOsNgO`---------------------------------------*/
	Object3D "sticker"{
		ModelFileName = "";
		CastShadow = no;
		If "j[A"{
			If !"xr[J[}[N"{
				ChangeModel = "sticker_1.x", 1.0;
			}Else{
				ChangeModel = "sticker_0.x", 1.0;
			}
		}Else{
			If "S"{
				ChangeModel = "sticker_2.x", 1.0;
			}Else{
				ChangeModel = "sticker_3.x", 1.0;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԊOsNgO`܂---------------------------------------*/


/*---------------------------------------ԃXebJ[`---------------------------------------*/
	Object3D "wsticker_c"{
		ModelFileName = "";
		If !"d"&&!"qƖ"{
			ChangeMaterial{
				MaterialID = 0;
				Emissive = 1.0, 1.0, 1.0;
@@@			}
		}

			ChangeModel = "sticker_w_c.x", 1.0;

		If ((""==0||""==2||""==3)&&"Aʒu")||((""==1||""==4)&&!"Aʒu"){
			ShiftTexture = 0, -0.0625, 0.0;
			ShiftTexture = 1, -0.0625, 0.0;
		}	//1
		If ""==0&&!"Aʒu"{	//10
			ShiftTexture = 0, 0.0625, 0.03125;
			ShiftTexture = 1, 0.0625, 0.03125;
		}
		If (""==1&&"Aʒu")||((""==2||""==3)&&!"Aʒu"){
			ShiftTexture = 0, -0.0625, 0.03125;
			ShiftTexture = 1, -0.0625, 0.03125;
		}
		If ""==4&&"Aʒu"{	//4
			ShiftTexture = 0, 0.03125, 0.0;
			ShiftTexture = 1, 0.03125, 0.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԃXebJ[`܂---------------------------------------*/

/*---------------------------------------ԑ̃XebJ[L`---------------------------------------*/
	Object3D "sticker_ad_body"{
		ModelFileName = "";
		ApplySwitch "ԊOXebJ[L"{
		Case 1:
			ChangeModel = "../n_omtbn20_1/ad/ad_body_1.x", 1.0;
		Case 2:
			ChangeModel = "../n_omtbn20_1/ad/ad_body_2.x", 1.0;
		
	/*ǉ

		Case 3:
			ChangeModel = "../n_omtbn20_1/ad/ad_body_3.x", 1.0;
		Case 4:
			ChangeModel = "../n_omtbn20_1/ad/ad_body_4.x", 1.0;

	Ⴑ܂*/


		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԑ̃XebJ[L`܂---------------------------------------*/

/*---------------------------------------Oʑ`---------------------------------------*/

	Object3D "window"{
		ModelFileName = "window_20900.x";
		CastShadow = no;
		Transparent = 2,3,4;
		If ""==4&&!"j[A"{
			ShiftTexture = 3, 0.0, 0.28125;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------Oʑ`܂---------------------------------------*/

/*---------------------------------------f`---------------------------------------*/
	Object3D "yuka"{
		ModelFileName = "yuka_20600.x";
		If "Aʒu"{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------f`܂---------------------------------------*/

/*---------------------------------------A탂f`---------------------------------------*/
	Object3D "yuka_c"{
		ModelFileName = "yuka_g.x";
		ApplySwitch ""{
		Case 1,3,4:
			ChangeModel = "yuka_f.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------A탂f`܂---------------------------------------*/

/*---------------------------------------]hf`---------------------------------------*/
	Object3D "Horo-z"{
		ModelFileName = "";
		ApplySwitch "]h~y"{
		Case 0,2:
			ChangeModel = "horo.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------]hf`܂---------------------------------------*/

/*---------------------------------------Cp[f`---------------------------------------*/
	Object3D "wiper"{
		ModelFileName = "wiper0.x";
		If !"j[A"&&(""==0||"">2){
			ChangeModel = "wiper1.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------Cp[f`܂---------------------------------------*/

/*---------------------------------------˕f`---------------------------------------*/
	Object3D "Doorl"{
		ModelFileName = "tojime.x";
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180;
		}
		If "_DOOR2"{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180;
				PreAnimationDelay = 1.0;
				AnimationTime = 0.0;
				 PreReverseDelay = 2.5;
				ReverseTime = 0.0;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (1.41, 3.14, -0.43);
		}
	}
	Object3D "Doorr"{
		ModelFileName = "tojime.x";
		If "_DOOR1"{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180;
				PreAnimationDelay = 1.0;
				AnimationTime = 0.0;
				 PreReverseDelay = 2.5;
				ReverseTime = 0.0;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (-1.41, 3.14, 0.43);
		}
	}
/*---------------------------------------˕f`܂---------------------------------------*/

/*---------------------------------------ȈՉef`---------------------------------------*/
	Object3D "Shadow"{
		ModelFileName = "";
		If!"ȈՉe"&&!"_SHADOW" { 
			ChangeModel = "Shadow.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ȈՉef`܂---------------------------------------*/

	If !"d" && ((!"OƓ" && !"_FRONT")|| "OƓ"==1) && "YtA"<=1 {
		If !"OƓdl" {
			Headlight{
			    AttachObject = "Dummy";
			    SourceCoord = (0.13, 1.84, 9.18);
			    Direction = (0.0, 0.0, 1.0);
			    MaxDistance = 10.0;
				LensFlare{
				    StartAngle = 90.0;
				    Twinkle = 0.1;
					Texture{
					    Distance = 0.005;
					    Radius = 0.5;
					    TexFileName = "../n_omtbn20_1/tex/tA.png";
					    Color = #FFe2d4b4;
					}
				}
			}
			Headlight{
			    AttachObject = "Dummy";
			    SourceCoord = (-0.13, 1.84, 9.18);
			    Direction = (0.0, 0.0, 1.0);
			    MaxDistance = 10.0;
			}
		}Else{
			Headlight{
			    AttachObject = "Dummy";
			    SourceCoord = (0.13, 1.78, 9.18);
			    Direction = (0.0, 0.0, 1.0);
			    MaxDistance = 10.0;
				LensFlare{
				    StartAngle = 90.0;
				    Twinkle = 0.1;
					Texture{
					    Distance = 0.005;
					    Radius = 0.5;
					    TexFileName = "tex/tA.png";
					   // Color = #FFe2d4b4;
					    Color = #FFCCA88A;
					}
				}
			}
			Headlight{
			    AttachObject = "Dummy";
			    SourceCoord = (-0.13, 1.78, 9.18);
			    Direction = (0.0, 0.0, 1.0);
			    MaxDistance = 10.0;
			}
		}
	}
	If !"d" && ((!"" && "_FRONT")|| ""==1) && (!"YtA"||"YtA"==2) && !"_CONNECT1" {
		Headlight{
		    AttachObject = "Dummy";
		    SourceCoord = (1.375, 2.53, 9.13);
		    Direction = (0.0, 0.0, 1.0);
		    MaxDistance = 10.0;
			LensFlare{
			    StartAngle = 30.0;
			    Twinkle = 0.1;
				Texture{
				    Distance = 0.005;
				    Radius = 0.5;
				    TexFileName = "tex/tA1.png";
				    Color = #FFd20026;
				}
			}
		}
		Headlight{
		    AttachObject = "Dummy";
		    SourceCoord = (-1.375, 2.53, 9.13);
		    Direction = (0.0, 0.0, 1.0);
		    MaxDistance = 10.0;
		}
	}
	FrontCabin{
		Joint3D "MainBody"{
			AttachCoord = (0.0,0.0,0.0);
		}
	}
}

