#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["RaNGE Contest #10 Entry"]
#Text[""]
#Background["./Background.dnh"]
#System["./System/System Prototype.dnh"]
#Player["./Player/Rin Satsuki/Rin.dnh","./Player/Tokiko/Tokiko.dnh"]
#BGM["./BGM/Lunar Clock ~ Luna Dial.mp3"]

@Initialize {
	SetPlayerLife(6);
	SetCommonData("ItemValue",100000);
	Plural;
}

@MainLoop {
	yield;
}

@Finalize {
}

task Plural {
	let CSD = GetCurrentScriptDirectory;
	
	let obj = ObjEnemyBossScene_Create;
	ObjEnemyBossScene_Add(obj, 1, CSD ~ "Noncard01.dnh");
	ObjEnemyBossScene_Add(obj, 1, CSD ~ "Spell01.dnh");
	ObjEnemyBossScene_Add(obj, 2, CSD ~ "Noncard02.dnh");
	ObjEnemyBossScene_Add(obj, 2, CSD ~ "Spell02.dnh");
	ObjEnemyBossScene_Add(obj, 3, CSD ~ "Noncard03.dnh");
	ObjEnemyBossScene_Add(obj, 4, CSD ~ "Spell03.dnh");
	ObjEnemyBossScene_LoadInThread(obj);
	ObjEnemyBossScene_Regist(obj);
	
	while(!Obj_IsDeleted(obj)) {
		yield;
	}
	
	CloseScript(GetOwnScriptID);
}

