[OnStart]
		
	Frame.LoadGlobalSoundFromDir("$\Global\Sounds\")
	
	GUI.LoadFromFile("$\Global\GlobalUI.dat")
	
	GAnim2D.LoadFromDir("$\anims\Anim2D\","*.anm")
	
//	Frame.StartScene("$\menu\menuScene.script")///StartMenuScene

	CallFunction("OnCommand",Cmd_StartGame,Side_Arm,3.5)

[OnCommand]
	if(input0==Cmd_StartGame)
		if(input1==0)
			if(input2==0)
				//// library
				
				Frame.StopScene()
				Frame.StartScene("$\Scene_Library\LibraryMain.script")
				Scene.LogicContinue()
				
				return
			end
		end
		
		if(input1==Side_Arm)///arm
			if(input2==1)
				///stage 1
				Frame.StopScene()
				Frame.StartScene("$\Scene1\Scene1Main.script")
				Scene.LogicContinue()
				return
			end
			
			if(input2==2)
				///stage 2
				Frame.StopScene()
				Frame.StartScene("$\Scene2\Scene2Main.script")
				Scene.LogicContinue()
				return
			end
			
			if(input2==3)
				///stage 3
				ReportMsg("StartScene3_0")
				Frame.StopScene()
				Frame.StartScene("$\Scene3\Scene3Main.script",0)
				Scene.LogicContinue()
				return
			end
			
			if(input2==3.5)
				///stage 3 extra
				Frame.StopScene()
				Frame.StartScene("$\Scene3\Scene3Main.script",1)
				Scene.LogicContinue()
				return
			end
			
			if(input2==4)
				///stage 4
				Frame.StopScene()
				Frame.StartScene("$\Scene4\Scene4Main.script")
				Scene.LogicContinue()
				return
			end
			
		elseif(input1==Side_Core)///core
			
			
		end
		
	end
	