#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["Konngara"]
#Text["A fight with Konngara, the Astral Knight"]
#BGM["./Boss/LegendofKAGE.mp3"]
#Player["./Boss/Reimu_ultimadragon/Reimu.txt"]

@Initialize
{
	SetPlayerLife(21);
	TPlural();
}

@MainLoop
{
	yield;
}

@Finalize
{
}


task TPlural
{
	let dir = GetCurrentScriptDirectory();
	let obj = ObjEnemyBossScene_Create();
	
	ObjEnemyBossScene_Add(obj, 0, dir ~ "Boss/KNS1.txt");
	ObjEnemyBossScene_Add(obj, 0, dir ~ "Boss/KSpell1.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "Boss/KNS2.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "Boss/KSpell2.txt");
	ObjEnemyBossScene_Add(obj, 2, dir ~ "Boss/KNS3.txt");
	ObjEnemyBossScene_Add(obj, 2, dir ~ "Boss/KSpell3.txt");
	ObjEnemyBossScene_Add(obj, 3, dir ~ "Boss/KNS4.txt");
	ObjEnemyBossScene_Add(obj, 3, dir ~ "Boss/KSpellFinal.txt");
	
	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);

	while(!Obj_IsDeleted(obj))
	{
		yield;
	}
	CloseScript(GetOwnScriptID());
	}