PluginHeader{
	RailSimVersion = 2.15;
	PluginType = Train;
	PluginName = "yEnthˋԁzYERfjTOO`";
	PluginAuthor = "Enthiesia";
	IconTexture = "../Common_Enth/enthiesiaicon.png";
	Description = "`t@CXV:210116";
}
TrainInfo{
	FrontLimit = 10.0;
	TailLimit = -10.0;
	MaxVelocity = 120.0;
	MaxAcceleration = 3.0;
	MaxDeceleration = 3.0;
	DoorClosingTime = 7;
}
DefineSwitch"\\d\\"{
	Entry = "@";
}
DefineSwitch"d"{
	GroupCommon = "d"; 
	Entry = "";
	Entry = "ij";
	Entry = "؁ivEƖSj";
	Entry = "p^";
}
DefineSwitch"\\ځiAj[Vj\\"{
	Entry = "@";
}
DefineSwitch"PR}"{
	GroupCommon = "PR}";
	Entry = "ftHg";
	Entry = "ו";
	Entry = "";
	Entry = "^]";
}
DefineSwitch"PR}グ"{
	GroupCommon = "PR}グ";
	Entry = "ftHg";
	Entry = "ו";
	Entry = "";
	Entry = "^]";
}
DefineSwitch"Ȃ"{
	Entry = "ЕuftHgvɂĉ";
}
DefineSwitch"qhAJ"{
	GroupCommon = "qhAJ";
	Entry = "iz[ԎɊJj";
	Entry = "펞";
	Entry = "펞isJ";
	Entry = "펞isEJ";
	Entry = "펞J";
}
DefineSwitch"OʃhAi擪Ԃ̂ݗLj"{
	Entry = "";
	Entry = "45JiAʗpj";
	Entry = "90J";
}
DefineSwitch"\\ځiÓIj\\"{
	Entry = "@";
}
DefineSwitch"^"{
	GroupCommon = "^";
	Entry = "OPx";
	Entry = "OQx";
	Entry = "ORx";
	Entry = "OSx";
	Entry = "OTj";
	Entry = "OUj";
	Entry = "OVj";
	Entry = "OWl";
	Entry = "OXl";
	Entry = "POl";
	Entry = "XX";
	Entry = "ij";
}
DefineSwitch"dA"{
	Entry = "";
	Entry = "Ȃ";
}
DefineSwitch"p^Ot"{
	GroupCommon = "p^Ot";
	Entry = "㏸";
	Entry = "~";
}
DefineSwitch"ω"{
	Entry = "îPj";
	Entry = "îQj";
	Entry = "îRj";
	Entry = "Ȃ";
}
DefineSwitch"\\bݒ\\"{
	Entry = "@";
}
DefineSwitch"ȈՃVhE"{
	GroupCommon = "ȈՃVhE";
	Entry = "";
	Entry = "Ȃ";
}
DefineSwitch"O"{
	GroupCommon = "O";
	Entry = "O1067mm";
	Entry = "WO1435mm";
}
DefineSwitch""{
	Entry = "@@TOOԁiTc j";
	Entry = "@@TOPԁiMj";
	Entry = "@@TOQԁiTj";
	Entry = "@@TORԁiM(c)j";
	Entry = "@@TOSԁiMc j";
	Entry = "@@TOTԁiMcj";
}
DefineSwitch"Ґ"{
	GroupCommon = "Ґ";
	Entry = "TOPe";
	Entry = "TOQe";
	Entry = "TORe";
	Entry = "TOSe";
	Entry = "TOTe";
	Entry = "TOUe";
	Entry = "TOVe";
	Entry = "TOWe";
}
PrimaryAssembly{
	Axle"syarinn1"{
		ModelFileName = "model_syarin86_n.x";
		ModelScale = 1.0;
		Turn = no;
		CastShadow = yes;

		ApplySwitch"O"{
			Case 1: ChangeModel = "model_syarin86_w.x",1.0;
		}//Ԃɒ

		Diameter = 0.86;
		Symmetric = 12;
		Coord = (8.2,0.43);
		WheelSound = yes;
	}
	Axle"syarinn2"{
		ModelFileName = "model_syarin86_n.x";
		ModelScale = 1.0;
		Turn = no;
		CastShadow = yes;

		ApplySwitch"O"{
			Case 1: ChangeModel = "model_syarin86_w.x",1.0;
		}//Ԃɒ

		Diameter = 0.86;
		Symmetric = 12;
		Coord = (6.1,0.43);
		WheelSound = yes;
	}
	Axle"syarinn3"{
		ModelFileName = "model_syarin86_n.x";
		ModelScale = 1.0;
		Turn = no;
		CastShadow = yes;

		ApplySwitch"O"{
			Case 1: ChangeModel = "model_syarin86_w.x",1.0;
		}//Ԃɒ

		Diameter = 0.86;
		Symmetric = 12;
		Coord = (-6.1,0.43);
		WheelSound = yes;
	}
	Axle"syarinn4"{
		ModelFileName = "model_syarin86_n.x";
		ModelScale = 1.0;
		Turn = no;
		CastShadow = yes;

		ApplySwitch"O"{
			Case 1: ChangeModel = "model_syarin86_w.x",1.0;
		}//Ԃɒ

		Diameter = 0.86;
		Symmetric = 12;
		Coord = (-8.2,0.43);
		WheelSound = yes;
	}
	Body"daisya1"{
		ModelFileName = "model_daisya_n.x";
		ModelScale = 1.0;
		Turn = no;
		CastShadow = yes;

		ApplySwitch"O"{
			Case 1: ChangeModel = "model_daisya_w.x",1.0;
		}

		JointZY"syarinn1"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (1.05,0.43);
		}
		JointZY"syarinn2"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (-1.05,0.43);
		}
	}
	Body"daisya2"{
		ModelFileName = "model_daisya_n.x";
		ModelScale = 1.0;
		Turn = no;
		CastShadow = yes;

		ApplySwitch"O"{
			Case 1: ChangeModel = "model_daisya_w.x",1.0;
		}

		JointZY"syarinn3"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (1.05,0.43);
		}
		JointZY"syarinn4"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (-1.05,0.43);
		}
	}
	Body"syatai"{
		ModelFileName = "";
		ModelScale = 1.0;
		Turn = no;
		CastShadow = yes;

		NoCastShadow = 0,1,10,11,12,13,16;
		Transparent = 0,1,10,11,12,13,16;

		ApplySwitch""{
			Case 0, 4, 5:
			ChangeModel = "model_body_s20_2.x", 1.0;
			Case 1, 2:
			ChangeModel = "model_body_t20_2.x", 1.0;
			Case 3:
			ChangeModel = "model_body_c20_2.x", 1.0;
		}
//Ƃ̂Ƃ
		If!"_FRONT"{
		If!"_CONNECT1"{
			If("d" < 2){
				ChangeTexture =17, "tex_exterior.png";
			}
		}
		}
//̂Ƃ
		If"_FRONT"{
		If!"_CONNECT1"{
			If("d" < 2){
				ChangeTexture =18, "tex_exterior.png";
			}
		}
		}
//˕
		If("d" < 2){
			If ("_DOOR1" || "_DOOR2"){
				ChangeTexture = 19, "tex_exterior.png";
			}
			If("qhAJ" > 1){
				ChangeTexture = 19, "tex_exterior.png";
			}
		}
		ApplySwitch"Ґ"{
			Case 1:ShiftTexture = 10, 0.50, 0.00;
			Case 2:ShiftTexture = 10, 0.00, 0.25;
			Case 3:ShiftTexture = 10, 0.50, 0.25;
			Case 4:ShiftTexture = 10, 0.00, 0.50;
			Case 5:ShiftTexture = 10, 0.50, 0.50;
			Case 6:ShiftTexture = 10, 0.00, 0.75;
			Case 7:ShiftTexture = 10, 0.50, 0.75;
		}
		ApplySwitch""{ //ԃXebJAԔ
			Case 1:ShiftTexture = 12, 0.05, 0.00; ChangeTexture = 10, "tex_numside_2.png";
			Case 2:ShiftTexture = 12, 0.00, 0.05; ChangeTexture = 10, "tex_numside_3.png";
			Case 3:ShiftTexture = 12, 0.05, 0.05; ChangeTexture = 10, "tex_numside_4.png";
			Case 4:ShiftTexture = 12, 0.00, 0.10; ChangeTexture = 10, "tex_numside_5.png";
			Case 5:ShiftTexture = 12, 0.05, 0.10; ChangeTexture = 10, "tex_numside_6.png";
		}
//Ђp^
		ApplySwitch""{ Case 1, 3, 5:
			ChangeTexture = 16, "../Common_Enth/tomei.png";
		}
		JointZY"daisya1"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (7.15,0.0);
		}
		JointZY"daisya2"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (-7.15,0.0);
		}
	}
	Object3D"bodyshadow"{
		ModelFileName = "";
		ModelScale = 1.0;
		CastShadow = no;
		NoShadow = 0;
		Transparent = 0;

		ApplySwitch"ȈՃVhE"{
			Case 0:ChangeModel = "model_shadow.x", 1.0;
			Case 1:ChangeModel = "", 1.0;
		}
		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}
//DOORXCb`Z
//
	Object3D"doorRL"{
		ModelFileName = "model_door_LL20.x";
		ModelScale = 1.0;
		NoShadow = 0,1;
		Transparent = 0,1;

		If"_FRONT"{
			ApplySwitch"qhAJ"{
			Case 3:
				StaticMove{
					Displacement = (0,0,0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"qhAJ"{
			Case 2:
				StaticMove{
					Displacement = (0,0,0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"qhAJ"{
		Case 4:
			StaticMove{
				Displacement = (0,0,0.895);
				PreAnimationDelay = 0;
				AnimationTime = 3;
				PostAnimationDelay = 0;
			}
		}
		If"_DOOR1"{
			ApplySwitch"qhAJ"{
			Case 0:
				StaticMove{
					Displacement = (0,0,0.895);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai"{
			AttachCoord = (0,0,0);
		}
	}
//E
	Object3D"doorRR"{
		ModelFileName = "model_door_LR20.x";
		ModelScale = 1.0;
		NoShadow = 0,1;
		Transparent = 0,1;

		If"_FRONT"{
			ApplySwitch"qhAJ"{
				Case 3:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"qhAJ"{
				Case 2:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"qhAJ"{
			Case 4:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
			}
		}
		If"_DOOR1"{
			ApplySwitch"qhAJ"{
				Case 0:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai"{
			AttachCoord = (0,0,0);
		}
	}
//E
	Object3D"doorLL"{
		ModelFileName = "model_door_RL20.x";
		ModelScale = 1.0;
		NoShadow = 0,1;
		Transparent = 0,1;

		If"_FRONT"{
			ApplySwitch"qhAJ"{
				Case 2:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"qhAJ"{
				Case 3:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"qhAJ"{
			Case 4:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
			}
		}
		If"_DOOR2"{
			ApplySwitch"qhAJ"{
				Case 0:StaticMove{
					Displacement = (0,0,-0.895);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai"{
			AttachCoord = (0,0,0);
		}
	}
//EE
	Object3D"doorLR"{
		ModelFileName = "model_door_RR20.x";
		ModelScale = 1.0;
		NoShadow = 0,1;
		Transparent = 0,1;

		If"_FRONT"{
			ApplySwitch"qhAJ"{
				Case 2:StaticMove{
					Displacement = (0,0,0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"qhAJ"{
				Case 3:StaticMove{
					Displacement = (0,0,0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"qhAJ"{
			Case 4:StaticMove{
					Displacement = (0,0,0.895);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
			}
		}
		If"_DOOR2"{
			ApplySwitch"qhAJ"{
				Case 0:StaticMove{
					Displacement = (0,0,0.895);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai"{
			AttachCoord = (0,0,0);
		}
	}
	Object3D"daisyatan"{
		ModelFileName = "";
		ModelScale = 1.0;
		If!"O"{
			ApplySwitch""{ Case 0, 3, 4, 5:ChangeModel = "model_daisyatan_n.x", 1.0; }
		} Else {
			ApplySwitch""{ Case 0, 3, 4, 5:ChangeModel = "model_daisyatan_w.x", 1.0; }
		}
		Joint3D"daisya1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"yukashita"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch""{
			Case 0:ChangeModel = "model_yukashita_Tc20.x", 1.0;
			Case 2:ChangeModel = "model_yukashita_T20.x", 1.0;
			Case 3, 4, 5:ChangeModel = "model_yukashita_Mc20.x", 1.0;
			Case 1:ChangeModel = "model_yukashita_M20.x", 1.0;
		}
		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"airspring"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch"O"{
			Case 0:ChangeModel = "model_airspringbody_n20.x", 1.0;
			Case 1:ChangeModel = "model_airspringbody_w20.x", 1.0;
		}
		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"panta"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch""{ Case 1, 3, 5:
			If("d" < 3){
				If!"p^Ot"{
					ChangeModel = "model_panta_a.x", 1.0;
				} Else {
					ChangeModel = "model_panta_b.x", 1.0;
				}
			} Else {
				ChangeModel = "model_panta_b.x", 1.0;
			}
		}
		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"houkoumaku"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch""{
			Case 0, 4, 5:ChangeModel = "model_houkou_s20.x", 1.0;
		}
		If("d" < 2){
			ChangeTexture = 2, "tex_houkou.png";  ChangeTexture = 3, "tex_houkou.png"; 
		}
		If!"PR}グ"{
			ApplySwitch"PR}"{
				Case 2:ShiftTexture=0, 0, 0.00; ShiftTexture=1, 0, 0.3;
					ShiftTexture=2, 0, 0.00; ShiftTexture=3, 0, 0.3;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=0;}
					StaticMove{Displacement=(0, 0.22, 0); AnimationTime=2; ReverseTime=0;}
				Case 3:ShiftTexture=0, 0, 0.3; ShiftTexture=1, 0, 0.6;
					ShiftTexture=2, 0, 0.3; ShiftTexture=3, 0, 0.6;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=0;}
					StaticMove{Displacement=(0, 0.22, 0); AnimationTime=2; ReverseTime=0;}
				Case 4:ShiftTexture=0, 0, 0.6; ShiftTexture=1, 0, 0.9;
					ShiftTexture=2, 0, 0.6; ShiftTexture=3, 0, 0.9;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=0;}
					StaticMove{Displacement=(0, 0.22, 0); AnimationTime=2; ReverseTime=0;}
				Case 5:ShiftTexture=0, 0, 0.9; ShiftTexture=1, 0, 1.2;
					ShiftTexture=2, 0, 0.9; ShiftTexture=3, 0, 1.2;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=0;}
					StaticMove{Displacement=(0, 0.22, 0); AnimationTime=2; ReverseTime=0;}
			}
		}
		If!"PR}"{
			ApplySwitch"PR}グ"{
				Case 1:ShiftTexture=0, 0, 0.00; ShiftTexture=1, 0, 0.3;
					ShiftTexture=2, 0, 0.00; ShiftTexture=3, 0, 0.3;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=2; ReverseTime=0;}
				Case 2:ShiftTexture=0, 0, 0.3; ShiftTexture=1, 0, 0.6;
					ShiftTexture=2, 0, 0.3; ShiftTexture=3, 0, 0.6;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=2; ReverseTime=0;}
				Case 3:ShiftTexture=0, 0, 0.6; ShiftTexture=1, 0, 0.9;
					ShiftTexture=2, 0, 0.6; ShiftTexture=3, 0, 0.9;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=2; ReverseTime=0;}
				Case 4:ShiftTexture=0, 0, 0.9; ShiftTexture=1, 0, 1.2;
					ShiftTexture=2, 0, 0.9; ShiftTexture=3, 0, 1.2;
					StaticMove{Displacement=(0, -0.22, 0); AnimationTime=2; ReverseTime=0;}
			}
		}
		If("PR}"=="PR}グ"){
			ApplySwitch"PR}"{
				Case 2:ShiftTexture=1, 0, 0.3; ShiftTexture=3, 0, 0.3;
				Case 3:ShiftTexture=1, 0, 0.6; ShiftTexture=3, 0, 0.6;
				Case 4:ShiftTexture=1, 0, 0.9; ShiftTexture=3, 0, 0.9;
				Case 5:ShiftTexture=1, 0, 1.2; ShiftTexture=3, 0, 1.2;
			}
		}

		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"frontdoor"{
		ModelFileName = "";
		ModelScale = 1.0;
		NoShadow = 0;
		NoCastShadow = 7;
		Transparent = 0, 7;

		ApplySwitch""{
			Case 0, 4, 5:
			ChangeModel = "model_frontdoor_s20_2.x", 1.0;
		}
//Ƃ̂Ƃ
		If!"_FRONT"{
		If!"_CONNECT1"{
			If("d" < 2){
				ChangeTexture =9, "tex_exterior.png";
			}
		}
		}
//̂Ƃ
		If"_FRONT"{
		If!"_CONNECT1"{
			If("d" < 2){
				ChangeTexture =10, "tex_exterior.png";
			}
		}
		}
//擪Ԕ
		ApplySwitch"Ґ"{
			Case 1:ShiftTexture = 7, 0.50, 0.00;
			Case 2:ShiftTexture = 7, 0.00, 0.25;
			Case 3:ShiftTexture = 7, 0.50, 0.25;
			Case 4:ShiftTexture = 7, 0.00, 0.50;
			Case 5:ShiftTexture = 7, 0.50, 0.50;
			Case 6:ShiftTexture = 7, 0.00, 0.75;
			Case 7:ShiftTexture = 7, 0.50, 0.75;
		}
		ApplySwitch""{
			Case 4:ChangeTexture = 7, "tex_numfront_4.png";
			Case 5:ChangeTexture = 7, "tex_numfront_5.png";
		}
//^
		If("d" > 1){ //d؂̂ƂɕKɂ
			ShiftTexture = 4, 0.50, 0.8333;
		} Else {
			ChangeTexture = 11, "tex_unban.png";
			ApplySwitch"^"{
				Case 1:ShiftTexture = 11, 0.00, 0.1666;
				Case 2:ShiftTexture = 11, 0.00, 0.3333;
				Case 3:ShiftTexture = 11, 0.00, 0.50;
				Case 4:ShiftTexture = 11, 0.00, 0.6666;
				Case 5:ShiftTexture = 11, 0.00, 0.8333;
				Case 6:ShiftTexture = 11, 0.50, 0.00;
				Case 7:ShiftTexture = 11, 0.50, 0.1666;
				Case 8:ShiftTexture = 11, 0.50, 0.3333;
				Case 9:ShiftTexture = 11, 0.50, 0.50;
				Case 10:ShiftTexture = 11, 0.50, 0.6666;
				Case 11:ShiftTexture = 11, 0.50, 0.8333;
			}
		}
		ApplySwitch"OʃhAi擪Ԃ̂ݗLj"{
			Case 1:
				StaticRotation{
					RotationAxis = (0, 1, 0);
					RotationAngle= 45;
					PreAnimationDelay = 0;
					AnimationTime = 4.0;
					PostAnimationDelay = 0.0;
				}
			Case 2:
				StaticRotation{
					RotationAxis = (0, 1, 0);
					RotationAngle= 90;
					PreAnimationDelay = 0;
					AnimationTime = 4.0;
					PostAnimationDelay = 0.0;
				}
		}

		Joint3D"syatai"{
			AttachCoord = (1.27, 0, 9.65);
		}
	}
	Object3D"denren"{
		ModelFileName = "";
		ModelScale = 1.0;
		If!"dA"{
			ApplySwitch""{
				Case 0, 3, 4, 5:ChangeModel = "model_denren_s20.x", 1.0;
			}
		}
		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"pallet"{
		ModelFileName = "";
		ModelScale = 1.0;
		NoCastShadow = 0, 1;
		Transparent = 0;

		ApplySwitch"ω"{
			Case 0, 1:
				ApplySwitch""{
					Case 0, 4, 5:
					ChangeModel = "model_pallet_hira_s.x", 1.0;
					Case 1, 2:
					ChangeModel = "model_pallet_hira_t.x", 1.0;
					Case 3:
					ChangeModel = "model_pallet_hira_c.x", 1.0;
				}
				If("ω" < 1){
					ShiftTexture = 1, -0.21, 0.00;
				}
			Case 2:
				ApplySwitch""{
					Case 0, 4, 5:
					ChangeModel = "model_pallet_roll_s.x", 1.0;
					Case 1, 2:
					ChangeModel = "model_pallet_roll_t.x", 1.0;
					Case 3:
					ChangeModel = "model_pallet_roll_c.x", 1.0;
			}
		}

		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}

	Object3D"frontwindow"{
		ModelFileName = "";
		ModelScale = 1.0;
		NoShadow = 0;
		Transparent = 0;
		ApplySwitch""{
			Case 0, 4, 5:ChangeModel = "model_frontwindow_s20.x", 1.0;
		}
		Joint3D"syatai"{
			AttachCoord = (0, 0, 0);
		}
	}

	If!"_FRONT"{
	If!"_CONNECT1"{
	If("d" < 2){
	ApplySwitch""{
		Case 0, 4, 5:
			Headlight{
				AttachObject = "syatai";
				SourceCoord = (-0.73, 1.25, 9.61);
				Direction = (0.0, 0.0, 15.0);
				MaxDistance = 100.0;
				LensFlare{
					StartAngle = 75.0;
					Circle{
						Distance = 0.0;
						Radius = 0.2;
						InnerColor = #f0ffffff;
						OuterColor = #00000000;
					}
				}
			}
			If!"OʃhAi擪Ԃ̂ݗLj"{
			Headlight{
				AttachObject = "syatai";
				SourceCoord = (0.73, 1.25, 9.61);
				Direction = (0.0, 0.0, 15.0);
				MaxDistance = 100.0;
				LensFlare{
					StartAngle = 75.0;
					Circle{
						Distance = 0.0;
						Radius = 0.2;
						InnerColor = #f0ffffff;
						OuterColor = #00000000;
					}
				}
			}
			}
		Case 3:
			Headlight{
				AttachObject = "syatai";
				SourceCoord = (-0.73, 1.50, 9.71);
				Direction = (0.0, 0.0, 15.0);
				MaxDistance = 100.0;
				LensFlare{
					StartAngle = 75.0;
					Circle{
						Distance = 0.0;
						Radius = 0.2;
						InnerColor = #f0ffffff;
						OuterColor = #00000000;
					}
				}
			}
			Headlight{
				AttachObject = "syatai";
				SourceCoord = (0.73, 1.50, 9.71);
				Direction = (0.0, 0.0, 15.0);
				MaxDistance = 100.0;
				LensFlare{
					StartAngle = 75.0;
					Circle{
						Distance = 0.0;
						Radius = 0.2;
						InnerColor = #f0ffffff;
						OuterColor = #00000000;
					}
				}
			}
	}
	}
	}
	}
	FrontCabin{
		Joint3D "syatai"{
			AttachCoord = (-0.7, 2.5, 8.4);
			DirLink = "syatai";
		}
	}
}