#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["luigi boss fight"]
#Text[test6] 
#include "script/sample/gamejam/my_system/Default_ShotConst2.txt"
#System["script/sample/gamejam/my_system/My_system.txt"]

@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 ~ "./Spellcard1.txt");
	ObjEnemyBossScene_Add(obj, 1, dir ~ "./Spellcard2.txt");
	ObjEnemyBossScene_Add(obj, 2, dir ~ "./spellcard3.txt");


    ObjEnemyBossScene_LoadInThread(obj);
    ObjEnemyBossScene_Regist(obj);
    while(!Obj_IsDeleted(obj)){
        yield;
    }
    CloseScript(GetOwnScriptID());
}
