/*#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["Toyasatomimi no Miko (Plural 1)"]
#Text["knock knock [r] get the door [r] it's religion"]
#System["./system/system/Awalys_System.txt"]
#Background["./system/background/back_miko.dnh"]
#Player["./system/player/Byakuren/Byakuren_A.txt"]*/

#include"./system/shot/CrispBright4/Shotconstants.dnh"
#include"./system/lib/lib_main.dnh"
#include"./system/lib/miko_aura.dnh"

let dir = GetCurrentScriptDirectory();

@Event{
	
}

@Initialize{
	TPlural;
	NotifyEvent(MyStageID,EV_USER_STAGE+3,NULL); // Music.
	Music;
}

@MainLoop{
	yield;
}

task TPlural{
	let objPScene = ObjEnemyBossScene_Create();
	ObjEnemyBossScene_Add(objPScene, 0, dir ~ "./Nonspell1.dnh");
	ObjEnemyBossScene_Add(objPScene, 0, dir ~ "./Spell1.dnh");
	ObjEnemyBossScene_Add(objPScene, 1, dir ~ "./Nonspell2.dnh");
	ObjEnemyBossScene_Add(objPScene, 1, dir ~ "./Spell2.dnh");
	ObjEnemyBossScene_Add(objPScene, 2, dir ~ "./Nonspell3.dnh");
	ObjEnemyBossScene_Add(objPScene, 2, dir ~ "./Spell3.dnh");
	ObjEnemyBossScene_Add(objPScene, 3, dir ~ "./Nonspell4.dnh");
	ObjEnemyBossScene_Add(objPScene, 3, dir ~ "./Spell4.dnh");
	//ObjEnemyBossScene_Add(objPScene, 4, dir ~ "./Spell5.dnh");
	ObjEnemyBossScene_LoadInThread(objPScene);
	ObjEnemyBossScene_Regist(objPScene);
	
	while(!Obj_IsDeleted(objPScene)){
        yield;
    }
	
	CloseScript(GetOwnScriptID());
}