#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["midboss2"]
#Text[test5] 



@Event{
}
@Initialize{

    TPlural;
}
@MainLoop{
    yield;
}

function wait(w) { loop(w) { yield; } }

task TPlural{
    let dir = GetCurrentScriptDirectory();
    let obj = ObjEnemyBossScene_Create();
	ObjEnemyBossScene_Add(obj, 0, dir ~ "./appearmid2.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "./midspell1.txt");
	
    ObjEnemyBossScene_LoadInThread(obj);
    ObjEnemyBossScene_Regist(obj);
    while(!Obj_IsDeleted(obj)){
        yield;
    }
    CloseScript(GetOwnScriptID());
}