
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "sʋ V20n Ԏ";
	PluginAuthor = "n";
	IconTexture = "icon.png";
}
TrainInfo{
	FrontLimit = 9.35;
	TailLimit = -9.35;
	MaxVelocity = 70.0;
	MaxAcceleration = 3.0;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "{ݒ"{
}
DefineSwitch "d"{
GroupCommon = "nomtbn20d";
	Entry = "";
	Entry = "";
}
DefineSwitch "Ηސݒ-"{
}
DefineSwitch ""{
GroupCommon = "nomtbn20";
	Entry = "";
	Entry = "";
}
DefineSwitch "qƖ"{
GroupCommon = "nomtbn20q";
	Entry = "";
	Entry = "";
}
DefineSwitch "Ԑݒ"{
}
DefineSwitch "s"{
GroupCommon = "nomtbn20s";
	Entry = "===-===-===-===-===";
	Entry = "M16-T11-Y16-C18-S24";
	Entry = "M29-T36-Y19-C19-S11";
	Entry = "M30-T12-Y11-C11-S21";
	Entry = "M08-T29-Y21-C23-S20";
	Entry = "M27-T17-Y20-C27-S13";
	Entry = "M15-T33-===-C26-===";
	Entry = "M23-T35-===-C10-===";
	Entry = "M13-===-===-C30-===";
	Entry = "M11-===-===-C15-===";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "^]";
	Entry = "Վ";
}
DefineSwitch "ԗݒ"{
}
DefineSwitch ""{
GroupCommon = "nomtbn20";
	Entry = "M";
	Entry = "T";
	Entry = "Y";
	Entry = "C";
	Entry = "S";
}
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";
	Entry = "12";
	Entry = "13";
	Entry = "14";
	Entry = "15";
	Entry = "16";
	Entry = "17";
	Entry = "18";
	Entry = "19";
	Entry = "20";
	Entry = "21";
	Entry = "22";
	Entry = "51";	
	Entry = "52";
	Entry = "53";
	Entry = "54";
	Entry = "55";
	Entry = "56";
	Entry = "57";
	Entry = "58";
	Entry = "59";
	Entry = "60";
	Entry = "61";
	Entry = "62";
	Entry = "63";
}
DefineSwitch "Aʒu"{										/*  M  / TYC /  S  */
	Entry = "2(]//~c/ӽ/F)";	/* 000 / 100 / 100 */
	Entry = "3";					/* 100 /(800)/ 300 */
	Entry = "4";					/* 700 / 300 */	
	Entry = "5";					/* 400 / 200 */
	Entry = "6";					/* 800 */
	Entry = "7";					/* 500 */
	Entry = "8";					/* 300 */
	Entry = "9";					/* 200 */
}
DefineSwitch "]h~y"{
GroupCommon = "nomtbn20]h~y";
	Entry = "L(2000`)";
	Entry = "";
}
DefineSwitch "p"{
GroupCommon = "nomtbn20p";
	Entry = "L(M:2002.11.11`/T:2003.12.15`)";
	Entry = "";
}
DefineSwitch "S"{
GroupCommon = "nomtbn20S";
	Entry = "sʋ";
	Entry = "Osaka Metro(2018.4.1`)";
}
DefineSwitch "xr[J[}[N"{
GroupCommon = "nomtbn20xr[J[}[N";
	Entry = "L(2014.6.18`)";
	Entry = "";
}
DefineSwitch "ȈՉe"{
	GroupCommon = "nomtbn20ȈՉA";
	Entry = "";
	Entry = "";
}

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 = (-7.3,0.43);
	}
	Axle "wheel4"{
		ModelFileName = "../n_omtbn20_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-5.1,0.43);
	}
	Body "Bogie1"{
		ModelFileName = "../n_omtbn20_1/bogie_t.x";
		ApplySwitch ""{
			Case 0:
				ApplySwitch "Aʒu"{
					Case 0,2,3,6,7:
						ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
				}
			Case 1,2,3:
				ApplySwitch "Aʒu"{
					Case 2,3:
						ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
				}
			Case 4:
				ApplySwitch "Aʒu"{
					Case 1:
						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 = "../n_omtbn20_1/bogie_t.x";
		Turn = yes;
		ApplySwitch ""{
			Case 0:
				ApplySwitch "Aʒu"{
					Case 0,1,3,7:
						ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
				}
			Case 1,2,3:
				ApplySwitch "Aʒu"{
					Case 0,3:
						ChangeModel = "../n_omtbn20_1/bogie_m.x", 1.0;
				}
			Case 4:
				ApplySwitch "Aʒu"{
					Case 0:
						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 = "";
		ModelScale = 1.0;
		JointZY "Bogie1"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (6.2, 1.0);
		}
		JointZY "Bogie2"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (-6.2, 1.0);
		}
	}
/*---------------------------------------ԑ̃f`---------------------------------------*/
	Object3D "MainBody"{
		ModelFileName = "../n_omtbn20_1/body_20200.x";
		Transparent = 9,30;
		If "d"==0{
			If ""==0{
					ChangeMaterial{
						MaterialID = 2,3;
						Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}

			}
			If "qƖ"==0{
					ChangeMaterial{
						MaterialID = 19,20,21,22,23,24,25,26,27,28;
						Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
		}
		ApplySwitch ""{
			Case 0:
				ApplySwitch "s"{
					Case 1:
						ShiftTexture = 2, 0.0, 0.125;
						ShiftTexture = 3, 0.0, 0.125;
					Case 2:
						ShiftTexture = 2, 0.0, 0.25;
						ShiftTexture = 3, 0.0, 0.25;
					Case 3:
						ShiftTexture = 2, 0.0, 0.375;
						ShiftTexture = 3, 0.0, 0.375;
					Case 4:
						ShiftTexture = 2, 0.0, 0.5;
						ShiftTexture = 3, 0.0, 0.5;
					Case 5:
						ShiftTexture = 2, 0.0, 0.625;
						ShiftTexture = 3, 0.0, 0.625;
					Case 6:
						ShiftTexture = 2, 0.0, 0.75;
						ShiftTexture = 3, 0.0, 0.75;
					Case 7:
						ShiftTexture = 2, 0.0, 0.875;
						ShiftTexture = 3, 0.0, 0.875;
					Case 8:
						ShiftTexture = 2, 0.25, 0.0;
						ShiftTexture = 3, 0.25, 0.0;
					Case 9:
						ShiftTexture = 2, 0.25, 0.125;
						ShiftTexture = 3, 0.25, 0.125;
					Case 10:
						ShiftTexture = 2, 0.25, 0.25;
						ShiftTexture = 3, 0.25, 0.25;
					Case 11:
						ShiftTexture = 2, 0.25, 0.375;
						ShiftTexture = 3, 0.25, 0.375;
					Case 12:
						ShiftTexture = 2, 0.25, 0.5;
						ShiftTexture = 3, 0.25, 0.5;
					Case 13:
						ShiftTexture = 2, 0.25, 0.625;
						ShiftTexture = 3, 0.25, 0.625;
					Case 14:
						ShiftTexture = 2, 0.25, 0.75;
						ShiftTexture = 3, 0.25, 0.75;
				}
			Case 1:
				ApplySwitch "s"{
					Case 1:
						ShiftTexture = 2, 0.5, 0.0;
						ShiftTexture = 3, 0.5, 0.0;
					Case 2:
						ShiftTexture = 2, 0.5, 0.125;
						ShiftTexture = 3, 0.5, 0.125;
					Case 3:
						ShiftTexture = 2, 0.5, 0.25;
						ShiftTexture = 3, 0.5, 0.25;
					Case 4:
						ShiftTexture = 2, 0.5, 0.375;
						ShiftTexture = 3, 0.5, 0.375;
					Case 5:
						ShiftTexture = 2, 0.5, 0.5;
						ShiftTexture = 3, 0.5, 0.5;
					Case 6:
						ShiftTexture = 2, 0.5, 0.625;
						ShiftTexture = 3, 0.5, 0.625;
					Case 7:
						ShiftTexture = 2, 0.5, 0.75;
						ShiftTexture = 3, 0.5, 0.75;
					Case 12:
						ShiftTexture = 2, 0.25, 0.5;
						ShiftTexture = 3, 0.25, 0.5;
					Case 13:
						ShiftTexture = 2, 0.25, 0.625;
						ShiftTexture = 3, 0.25, 0.625;
					Case 14:
						ShiftTexture = 2, 0.25, 0.75;
						ShiftTexture = 3, 0.25, 0.75;
				}
			ShiftTexture = 5, 0.0, 0.15625;
			ShiftTexture = 6, 0.0, 0.15625;
			ShiftTexture = 7, 0.15625, 0.0;
			Case 2:
				ApplySwitch "s"{
					Case 1:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
					Case 2:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.0, 0.125;
						ShiftTexture = 3, 0.0, 0.125;
					Case 3:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.0, 0.25;
						ShiftTexture = 3, 0.0, 0.25;
					Case 4:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.0, 0.375;
						ShiftTexture = 3, 0.0, 0.375;
					Case 5:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.0, 0.5;
						ShiftTexture = 3, 0.0, 0.5;
					Case 12:
						ShiftTexture = 2, 0.25, 0.5;
						ShiftTexture = 3, 0.25, 0.5;
					Case 13:
						ShiftTexture = 2, 0.25, 0.625;
						ShiftTexture = 3, 0.25, 0.625;
					Case 14:
						ShiftTexture = 2, 0.25, 0.75;
						ShiftTexture = 3, 0.25, 0.75;
				}
			ShiftTexture = 5, 0.0, 0.3125;
			ShiftTexture = 6, 0.0, 0.3125;
			ShiftTexture = 7, 0.3125, 0.0;
			Case 3:
				ApplySwitch "s"{
					Case 1:
						ShiftTexture = 2, 0.75, 0.0;
						ShiftTexture = 3, 0.75, 0.0;
					Case 2:
						ShiftTexture = 2, 0.75, 0.125;
						ShiftTexture = 3, 0.75, 0.125;
					Case 3:
						ShiftTexture = 2, 0.75, 0.25;
						ShiftTexture = 3, 0.75, 0.25;
					Case 4:
						ShiftTexture = 2, 0.75, 0.375;
						ShiftTexture = 3, 0.75, 0.375;
					Case 5:
						ShiftTexture = 2, 0.75, 0.5;
						ShiftTexture = 3, 0.75, 0.5;
					Case 6:
						ShiftTexture = 2, 0.75, 0.625;
						ShiftTexture = 3, 0.75, 0.625;
					Case 7:
						ShiftTexture = 2, 0.75, 0.75;
						ShiftTexture = 3, 0.75, 0.75;
					Case 8:
						ShiftTexture = 2, 0.75, 0.875;
						ShiftTexture = 3, 0.75, 0.875;
					Case 9:
						ShiftTexture = 2, 0.5, 0.875;
						ShiftTexture = 3, 0.5, 0.875;
					Case 10:
						ShiftTexture = 2, 0.25, 0.875;
						ShiftTexture = 3, 0.25, 0.875;
					Case 12:
						ShiftTexture = 2, 0.25, 0.5;
						ShiftTexture = 3, 0.25, 0.5;
					Case 13:
						ShiftTexture = 2, 0.25, 0.625;
						ShiftTexture = 3, 0.25, 0.625;
					Case 14:
						ShiftTexture = 2, 0.25, 0.75;
						ShiftTexture = 3, 0.25, 0.75;
				}
			ShiftTexture = 5, 0.0, 0.46875;
			ShiftTexture = 6, 0.0, 0.46875;
			ShiftTexture = 7, 0.46875, 0.0;
			Case 4:
				ApplySwitch "s"{
					Case 1:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.25, 0.0;
						ShiftTexture = 3, 0.25, 0.0;
					Case 2:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.25, 0.125;
						ShiftTexture = 3, 0.25, 0.125;
					Case 3:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.25, 0.25;
						ShiftTexture = 3, 0.25, 0.25;
					Case 4:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.25, 0.375;
						ShiftTexture = 3, 0.25, 0.375;
					Case 5:
						ChangeTexture = 2, "../n_omtbn20_1/tex/1.png";
						ChangeTexture = 3, "../n_omtbn20_1/tex/1.png";
						ShiftTexture = 2, 0.25, 0.5;
						ShiftTexture = 3, 0.25, 0.5;
					Case 12:
						ShiftTexture = 2, 0.25, 0.5;
						ShiftTexture = 3, 0.25, 0.5;
					Case 13:
						ShiftTexture = 2, 0.25, 0.625;
						ShiftTexture = 3, 0.25, 0.625;
					Case 14:
						ShiftTexture = 2, 0.25, 0.75;
						ShiftTexture = 3, 0.25, 0.75;
				}
			ShiftTexture = 5, 0.0, 0.625;
			ShiftTexture = 6, 0.0, 0.625;
			ShiftTexture = 7, 0.625, 0.0;
		}
		If ""==3 && ("Ґ"==33 || "Ґ"==34){
			ShiftTexture = 5, 0.0, 0.78125;
			ShiftTexture = 6, 0.0, 0.78125;
			ShiftTexture = 7, 0.78125, 0.0;
			ShiftTexture = 8, 0.0, -0.375;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԑ̃f`܂---------------------------------------*/

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

	Object3D "number"{
		ModelFileName = "../n_omtbn20_1/number_20200.x";
		CastShadow = no;
		If ""==3&& ("Ґ"==33 || "Ґ"==34){
			ApplySwitch "Aʒu"{
				Case 0:
					ChangeModel = "../n_omtbn20_1/number_151.x", 1.0;
				Default:
					ChangeModel = "../n_omtbn20_1/number_251.x", 1.0;
			}
		}
		ApplySwitch "S"{
			Case 0:
				ApplySwitch ""{
					Case 1:
						ShiftTexture = 6, 0.0625, 0.0;
					Case 2:
						ShiftTexture = 6, 0.125, 0.0;
					Case 3:
						ShiftTexture = 6, 0.1875, 0.0;
					Case 4:
						ShiftTexture = 6, 0.25, 0.0;
				}
				ChangeAlpha = 7,0.0;
			Case 1:
				If ""==3&& ("Ґ"==33 || "Ґ"==34){
					ChangeAlpha = 5, 0.0;
				}
				ChangeAlpha = 6,0.0;
				ChangeAlpha = 7,1.0;
		}
		ApplySwitch ""{
			Case 0:
				ApplySwitch "Aʒu"{
					Case 0:
						ShiftTexture = 1, 0.0, 0.5;
						ShiftTexture = 3, 0.0, 0.5;
					Case 1:
						ShiftTexture = 1, 0.0, 0.4375;
						ShiftTexture = 3, 0.0, 0.4375;
					Case 2:
						ShiftTexture = 1, 0.0, 0.375;
						ShiftTexture = 3, 0.0, 0.375;
					Case 3:
						ShiftTexture = 1, 0.0, 0.3125;
						ShiftTexture = 3, 0.0, 0.3125;
					Case 4:
						ShiftTexture = 1, 0.0, 0.25;
						ShiftTexture = 3, 0.0, 0.25;
					Case 5:
						ShiftTexture = 1, 0.0, 0.1875;
						ShiftTexture = 3, 0.0, 0.1875;
					Case 6:
						ShiftTexture = 1, 0.0, 0.125;
						ShiftTexture = 3, 0.0, 0.125;
					Case 7:
						ShiftTexture = 1, 0.0, 0.0625;
						ShiftTexture = 3, 0.0, 0.0625;
				}
			Case 1:
				ApplySwitch "Aʒu"{
					Case 0:
						ShiftTexture = 1, 0.0, 0.875;
						ShiftTexture = 3, 0.0, 0.875;
					Case 1:
						ShiftTexture = 1, 0.0, 0.8125;
						ShiftTexture = 3, 0.0, 0.8125;
					Case 2:
						ShiftTexture = 1, 0.0, 0.75;
						ShiftTexture = 3, 0.0, 0.75;
					Case 3:
						ShiftTexture = 1, 0.0, 0.6875;
						ShiftTexture = 3, 0.0, 0.6875;
				}
			Case 2:
				ApplySwitch "Aʒu"{
					Case 0:
						ShiftTexture = 1, 0.25, 0.25;
						ShiftTexture = 3, 0.25, 0.25;
					Case 1:
						ShiftTexture = 1, 0.25, 0.1875;
						ShiftTexture = 3, 0.25, 0.1875;
					Case 2:
						ShiftTexture = 1, 0.25, 0.125;
						ShiftTexture = 3, 0.25, 0.125;
					Case 3:
						ShiftTexture = 1, 0.25, 0.0625;
						ShiftTexture = 3, 0.25, 0.0625;
				}
			Case 3:
				ApplySwitch "Aʒu"{
					Case 0:
						ShiftTexture = 1, 0.25, 0.625;
						ShiftTexture = 3, 0.25, 0.625;
					Case 1:
						ShiftTexture = 1, 0.25, 0.5625;
						ShiftTexture = 3, 0.25, 0.5625;
					Case 2:
						ShiftTexture = 1, 0.25, 0.5;
						ShiftTexture = 3, 0.25, 0.5;
					Case 3:
						ShiftTexture = 1, 0.25, 0.43725;
						ShiftTexture = 3, 0.25, 0.4375;
				}
			Case 4:
				ApplySwitch "Aʒu"{
					Case 0:
						ShiftTexture = 1, 0.25, 0.875;
						ShiftTexture = 3, 0.25, 0.875;
					Case 1:
						ShiftTexture = 1, 0.25, 0.8125;
						ShiftTexture = 3, 0.25, 0.8125;
				}
		}

		ApplySwitch "Ґ"{
			Case 0:
				
			Case 1:
				ShiftTexture = 2, 0.0, 0.0625;
				ShiftTexture = 4, 0.0, 0.0625;
			Case 2:
				ShiftTexture = 2, 0.0, 0.125;
				ShiftTexture = 4, 0.0, 0.125;
			Case 3:
				ShiftTexture = 2, 0.0, 0.1875;
				ShiftTexture = 4, 0.0, 0.1875;
			Case 4:
				ShiftTexture = 2, 0.0, 0.25;
				ShiftTexture = 4, 0.0, 0.25;
			Case 5:
				ShiftTexture = 2, 0.0, 0.3125;
				ShiftTexture = 4, 0.0, 0.3125;
			Case 6:
				ShiftTexture = 2, 0.0, 0.375;
				ShiftTexture = 4, 0.0, 0.375;
			Case 7:
				ShiftTexture = 2, 0.0, 0.4375;
				ShiftTexture = 4, 0.0, 0.4375;
			Case 8:
				ShiftTexture = 2, 0.0, 0.5;
				ShiftTexture = 4, 0.0, 0.5;
			Case 9:
				ShiftTexture = 2, 0.0, 0.5625;
				ShiftTexture = 4, 0.0, 0.5625;
			Case 10:
				ShiftTexture = 2, 0.0, 0.625;
				ShiftTexture = 4, 0.0, 0.625;
			Case 11:
				ShiftTexture = 2, 0.0, 0.6875;
				ShiftTexture = 4, 0.0, 0.6875;
			Case 12:
				ShiftTexture = 2, 0.0, 0.75;
				ShiftTexture = 4, 0.0, 0.75;
			Case 13:
				ShiftTexture = 2, 0.0, 0.8125;
				ShiftTexture = 4, 0.0, 0.8125;
			Case 14:
				ShiftTexture = 2, 0.0, 0.875;
				ShiftTexture = 4, 0.0, 0.875;
			Case 15:
				ShiftTexture = 2, 0.0, 0.9375;
				ShiftTexture = 4, 0.0, 0.9375;
			Case 16:
				ShiftTexture = 2, 0.25, 0.0;
				ShiftTexture = 4, 0.25, 0.0;
			Case 17:
				ShiftTexture = 2, 0.25, 0.0625;
				ShiftTexture = 4, 0.25, 0.0625;
			Case 18:
				ShiftTexture = 2, 0.25, 0.125;
				ShiftTexture = 4, 0.25, 0.125;
			Case 19:
				ShiftTexture = 2, 0.25, 0.1875;
				ShiftTexture = 4, 0.25, 0.1875;
			Case 20:
				ShiftTexture = 2, 0.25, 0.25;
				ShiftTexture = 4, 0.25, 0.25;
			Case 21:
				ShiftTexture = 2, 0.25, 0.3125;
				ShiftTexture = 4, 0.25, 0.3125;
			Case 22:
				ShiftTexture = 2, 0.25, 0.375;
				ShiftTexture = 4, 0.25, 0.375;
			Case 23:
				ShiftTexture = 2, 0.25, 0.4375;
				ShiftTexture = 4, 0.25, 0.4375;
			Case 24:
				ShiftTexture = 2, 0.25, 0.5;
				ShiftTexture = 4, 0.25, 0.5;
			Case 25:
				ShiftTexture = 2, 0.25, 0.5625;
				ShiftTexture = 4, 0.25, 0.5625;
			Case 26:
				ShiftTexture = 2, 0.25, 0.625;
				ShiftTexture = 4, 0.25, 0.625;
			Case 27:
				ShiftTexture = 2, 0.25, 0.6875;
				ShiftTexture = 4, 0.25, 0.6875;
			Case 28:
				ShiftTexture = 2, 0.25, 0.75;
				ShiftTexture = 4, 0.25, 0.75;
			Case 29:
				ShiftTexture = 2, 0.25, 0.8125;
				ShiftTexture = 4, 0.25, 0.8125;
			Case 30:
				ShiftTexture = 2, 0.25, 0.875;
				ShiftTexture = 4, 0.25, 0.875;
			Case 31:
				ShiftTexture = 2, 0.25, 0.9375;
				ShiftTexture = 4, 0.25, 0.9375;
			Case 32:
				ShiftTexture = 2, 0.5, 0.0;
				ShiftTexture = 4, 0.5, 0.0;
			Case 33:
				ShiftTexture = 2, 0.5, 0.0625;
				ShiftTexture = 4, 0.5, 0.0625;
			Case 34:
				ShiftTexture = 2, 0.5, 0.125;
				ShiftTexture = 4, 0.5, 0.125;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ԔԒ`܂---------------------------------------*/

/*---------------------------------------XebJ[`---------------------------------------*/
	Object3D "sticker"{
		ModelFileName = "../n_omtbn20_1/sticker_20900.x";
		CastShadow = no;
		ChangeAlpha = 2,0.0;
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180;
		}
		If ""==0 && "Aʒu"==3 && "p"==0 {
			ChangeAlpha = 2,1.0;
		}
		If ""==1 && "Aʒu"==1 && "p"==0 {
			ChangeAlpha = 2,1.0;
			ChangeModel = "../n_omtbn20_1/sticker_22800.x", 1.0;
		}
		ApplySwitch "xr[J[}[N"{
			Case 1:
				ChangeAlpha = 1,0.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------XebJ[`܂---------------------------------------*/

/*---------------------------------------f`---------------------------------------*/
	Object3D "yuka"{
		ModelFileName = "";
		ApplySwitch ""{
			Case 0:
				ApplySwitch "Aʒu"{
					Case 0,1,3,6,7:
						ChangeModel = "../n_omtbn20_1/yuka_20100.x", 1.0;
					Case 2:
						ChangeModel = "../n_omtbn20_1/yuka_20700.x", 1.0;
					Case 4,5:
						ChangeModel = "../n_omtbn20_1/yuka_20500.x", 1.0;
				}
			Case 1,2,3:
				ApplySwitch "Aʒu"{
					Case 0,2,3:
						ChangeModel = "../n_omtbn20_1/yuka_20100.x", 1.0;
					Case 1:
						ChangeModel = "../n_omtbn20_1/yuka_20500.x", 1.0;
				}
			Case 4:
				ChangeModel = "../n_omtbn20_1/yuka_20100.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

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

/*---------------------------------------]hf`---------------------------------------*/

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

/*---------------------------------------f`---------------------------------------*/
	Object3D "Doorll"{
		ModelFileName = "../n_omtbn20_1/Doorl.x";
		Transparent = 4;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 0,1;
				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.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}
		ApplySwitch ""{
			Case 1:
				ShiftTexture = 2, 0.09375, 0.0;
			Case 2:
				ShiftTexture = 2, 0.1875, 0.0;
			Case 3:
				ShiftTexture = 2, 0.28125, 0.0;
			Case 4:
				ShiftTexture = 2, 0.375, 0.0;
		}
		If ""==3 && ("Ґ"==33 || "Ґ"==34){
			ShiftTexture = 2, 0.46875, 0.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr"{
		ModelFileName = "../n_omtbn20_1/Doorr.x";
		Transparent = 4;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 0,1;
				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.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}
		ApplySwitch ""{
			Case 1:
				ShiftTexture = 2, 0.09375, 0.0;
			Case 2:
				ShiftTexture = 2, 0.1875, 0.0;
			Case 3:
				ShiftTexture = 2, 0.28125, 0.0;
			Case 4:
				ShiftTexture = 2, 0.375, 0.0;
		}
		If ""==3 && ("Ґ"==33 || "Ґ"==34){
			ShiftTexture = 2, 0.46875, 0.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "../n_omtbn20_1/Doorr.x";
		Transparent = 4;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 0,1;
				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.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}
		ApplySwitch ""{
			Case 1:
				ShiftTexture = 2, 0.09375, 0.0;
			Case 2:
				ShiftTexture = 2, 0.1875, 0.0;
			Case 3:
				ShiftTexture = 2, 0.28125, 0.0;
			Case 4:
				ShiftTexture = 2, 0.375, 0.0;
		}
		If ""==3 && ("Ґ"==33 || "Ґ"==34){
			ShiftTexture = 2, 0.46875, 0.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

	Object3D "Doorrr"{
		ModelFileName = "../n_omtbn20_1/Doorl.x";
		Transparent = 4;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 0,1;
				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.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}
		ApplySwitch ""{
			Case 1:
				ShiftTexture = 2, 0.09375, 0.0;
			Case 2:
				ShiftTexture = 2, 0.1875, 0.0;
			Case 3:
				ShiftTexture = 2, 0.28125, 0.0;
			Case 4:
				ShiftTexture = 2, 0.375, 0.0;
		}
		If ""==3 && ("Ґ"==33 || "Ґ"==34){
			ShiftTexture = 2, 0.46875, 0.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
/*---------------------------------------f`܂---------------------------------------*/

/*---------------------------------------˕f`---------------------------------------*/
	Object3D "Doorl"{
		ModelFileName = "../n_omtbn20_1/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 = "../n_omtbn20_1/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 = "../n_omtbn20_1/Shadow.x";
		NoCastShadow = 0;
			ApplySwitch "ȈՉe"{
			Case 1:
			ChangeModel = "", 1.0;
			}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
/*---------------------------------------ȈՉef`܂---------------------------------------*/

	FrontCabin{
		Joint3D "MainBody"{
			AttachCoord = (0.0,0.0,0.0);
		}
	}
}

