#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title ["Kogasa Tatara [Quick]"]
#BGM ["./bgm.mp3"]
#Background ["./Background II.txt"]

let CSD = GetCurrentScriptDirectory;

@Initialize
{
	TPlural;
	SetPlayerLife(6);
}

@Event
{
	yield;
}

@MainLoop
{
	yield;
}

task TPlural
{
	wait(20);
	let obj=ObjEnemyBossScene_Create();

	ObjEnemyBossScene_Add(obj,0,CSD~"KC_Non1.txt");
	ObjEnemyBossScene_Add(obj,0,CSD~"KC_Spell1.txt");

	ObjEnemyBossScene_Add(obj,1,CSD~"KC_Non2.txt");
	ObjEnemyBossScene_Add(obj,1,CSD~"KC_Spell2.txt");
	
	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);
	while(!Obj_IsDeleted(obj)) {yield;}
	CloseScript(GetOwnScriptID());
}

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