#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title ["Flower Land - Inanimate Dream [Normal]"]
#Text ["Make sure to lower volume."]
#Background ["./Background.txt"]
#BGM["./Flower Land.ogg"]

let CSD = GetCurrentScriptDirectory;

@Initialize
{
	TPlural;
	SetPlayerLife(10);
}

@Event
{
	yield;
}

@MainLoop
{
	yield;
}

task TPlural
{
	let obj=ObjEnemyBossScene_Create();
	ObjEnemyBossScene_Add(obj,0,CSD~"ChooseMode.txt");
	ObjEnemyBossScene_Add(obj,0,CSD~"E_Non1.txt");
	ObjEnemyBossScene_Add(obj,1,CSD~"E_Spell1.txt");
	ObjEnemyBossScene_Add(obj,2,CSD~"E_Non2.txt");
	ObjEnemyBossScene_Add(obj,3,CSD~"E_Spell2.txt");
	
	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);
	while(!Obj_IsDeleted(obj)) {yield;}
	wait(1);
	CloseScript(GetOwnScriptID());
}

function wait(n)
{
	loop(n){yield;}
}