#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["My First Koishi Script"]
#Text[dh] 
let snd = GetCurrentScriptDirectory ~ "./sfx/bgm.ogg";
let objmusic = ObjSound_Create();
@Event{
}
@Initialize{
	ObjSound_Load(objmusic,snd);
	ObjSound_Play(objmusic);
    TPlural;
}
@MainLoop{
    yield;
}
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_LoadInThread(obj);
    ObjEnemyBossScene_Regist(obj);
    while(!Obj_IsDeleted(obj)){
        yield;
    }
    CloseScript(GetOwnScriptID());
}













