#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title ["Yukari Yakumo [Hard]"]
#Background ["./Background.txt"]
#BGM ["./bgm.mp3"]
#include "script/default_system/Default_ShotConst.txt"

let CSD = GetCurrentScriptDirectory;

@Initialize
{
	TPlural;
	SetPlayerLife(15);
}

@Event
{
	yield;
}

@MainLoop
{
	yield;
}

task TPlural
{
	wait(20);
	let obj=ObjEnemyBossScene_Create();
	
	ObjEnemyBossScene_Add(obj,0,CSD~"Non1 [Hard].txt");
	ObjEnemyBossScene_Add(obj,0,CSD~"Spell1 [Hard].txt");
	ObjEnemyBossScene_Add(obj,1,CSD~"Non2 [Hard].txt");
	ObjEnemyBossScene_Add(obj,1,CSD~"Spell2 [Hard].txt");
	ObjEnemyBossScene_Add(obj,2,CSD~"Non3 [Hard].txt");
	ObjEnemyBossScene_Add(obj,2,CSD~"Spell3 [Hard].txt");
	ObjEnemyBossScene_Add(obj,3,CSD~"Non4 [Hard].txt");
	ObjEnemyBossScene_Add(obj,3,CSD~"Spell4 [Hard].txt");
	ObjEnemyBossScene_Add(obj,4,CSD~"Spell5 [Hard].txt");
	
	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);
	while(!Obj_IsDeleted(obj)) {yield;}
	CloseScript(GetOwnScriptID());
}

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