#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["Contest Entry - EVIL DEATH FAIRY OF DOOM!!! Hard"]
#Text[" By Spectral Nexus "]
#Background["./Background.txt"]
#BGM[".\Halloween!.ogg"]


@Initialize{
	SetPlayerLife(9);
	SetPlayerSpell(3);
	Plural;
}

@MainLoop{
	yield;
}

@Finalize{


}

task Plural{
	let CSD = GetCurrentScriptDirectory;
	
	let obj = ObjEnemyBossScene_Create;
	ObjEnemyBossScene_Add(obj,0,CSD ~ "The Scripts/Nonspell 1 H.txt");
	ObjEnemyBossScene_Add(obj,0,CSD ~ "The Scripts/Spellcard 1 H.txt");
	ObjEnemyBossScene_Add(obj,1,CSD ~ "The Scripts/Nonspell 2 H.txt");
	ObjEnemyBossScene_Add(obj,1,CSD ~ "The Scripts/Spellcard 2 H.txt");
	ObjEnemyBossScene_Add(obj,2,CSD ~ "The Scripts/Nonspell 3 H.txt");
	ObjEnemyBossScene_Add(obj,2,CSD ~ "The Scripts/Spellcard 3 H.txt");
	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);
	
	while(!Obj_IsDeleted(obj)){ yield;}
	CloseScript(GetOwnScriptID);
}
