
#ScriptVersion[3]
#Title["Asgore Dummy"]
#Text[""]
#BGM["./AsgoreTheme.ogg"]
@Initialize
{
	TStage();
}

@MainLoop
{
	yield;
}

@Finalize
{
}


task TStage
{
	let dir = GetCurrentScriptDirectory();

	
	let path = dir ~ "EtapasOrden.txt";
	let idScript = LoadScriptInThread(path);
	loop(60){yield;}//
	StartScript(idScript);

	
	while(!IsCloseScript(idScript) && GetPlayerState() != STATE_END)
	{
		yield;
	}

	//～～～

	loop(240){yield;}

    //
	CloseStgScene();
}

