#TouhouDanmakufu[Stage]
#ScriptVersion[3]
#Title["Stage 1"]
#System["./../system/Default_System.txt"]

@Initialize
{
	TStage();
}

@MainLoop
{
	yield;
}

@Event
{

}

@Finalize
{
}

task TStage
{
	let spell = GetCommonData("CURRENT_SPELL",6);
	let Plural = LoadScript(GetCurrentScriptDirectory ~ "Stage.txt");
	StartScript(Plural);
	while(!IsCloseScript(Plural)){yield;}
	
	CloseStgScene;
	CloseScript(GetOwnScriptID);
}