//#東方弾幕風[Plural]
#ScriptVersion[3]
#Title["PK1"]
#Text[" "]
#Background["./background/Default_Background.txt"]
#System["./system/Default_System.txt"]
#BGM["./BGM1.mp3"]

let objBGM;
@Initialize
{
	TPlural();
}

@Event
{
}

@MainLoop
{
	yield;
}

task TPlural
{
	let dir = GetCurrentScriptDirectory();
	let obj = ObjEnemyBossScene_Create();
	ObjEnemyBossScene_Add(obj, 0, dir ~ "KoishiDia1.txt");
	ObjEnemyBossScene_Add(obj, 0, dir ~ "Koishi01Non.txt");
	ObjEnemyBossScene_Add(obj, 0, dir ~ "Koishi01Spell.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "Koishi02Non.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "Koishi02Spell.txt");
	ObjEnemyBossScene_Add(obj, 2, dir ~ "Koishi03Non.txt");
	ObjEnemyBossScene_Add(obj, 2, dir ~ "Koishi04Spell.txt");
	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);

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

	CloseScript(GetOwnScriptID());
}

