#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["Yuuka Boss Battle"]
#Text["A simple battle against Yuuka...wait, isn't she trying way to hard to hit you?!"]
#BGM["./resources/sounds/A Fearsome Foe.mp3"]
#Image["./resources/images/yuu3.png"]
//#Background["./Background.txt"]

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

@MainLoop
{
	yield;
}

@Finalize
{
}


task TPlural
{
	let dir = GetCurrentScriptDirectory();

	let obj = ObjEnemyBossScene_Create();
	ObjEnemyBossScene_Add(obj, 0, dir ~ "KNon1.txt");
	ObjEnemyBossScene_Add(obj, 0, dir ~ "KSpell1.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "KNon2.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "KSpell2.txt");
	ObjEnemyBossScene_Add(obj, 2, dir ~ "KNon3.txt");
	ObjEnemyBossScene_Add(obj, 2, dir ~ "KSpell3.txt");
	ObjEnemyBossScene_Add(obj, 3, dir ~ "KNon4.txt");
	ObjEnemyBossScene_Add(obj, 3, dir ~ "KSpell4.txt");
	ObjEnemyBossScene_Add(obj, 4, dir ~ "KSpell5.txt");

	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);

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