#TouhouDanmakufu[Plural]
#ScriptVersion[3]
#Title["JunkoBattle"]
#Text["By Lusus"] 
#BGM[".\se/junko.ogg"] 
#Background[".\JunkoBackground.dnh"]
#System["././default_system/Default_System.txt"]


@Event{
}

@Initialize{
    TPlural;
}

@MainLoop{
    yield;
}

task TPlural{
    let dir = GetCurrentScriptDirectory();
    let obj = ObjEnemyBossScene_Create();
    SetPlayerLife(8);
    ObjEnemyBossScene_Add(obj, 0, dir ~ "./JunkoNon1.dnh");
    ObjEnemyBossScene_Add(obj, 0, dir ~ "./JunkoSpell01.dnh");
    ObjEnemyBossScene_Add(obj, 1, dir ~ "./JunkoNon2.dnh");
    ObjEnemyBossScene_Add(obj, 1, dir ~ "./JunkoSpell02.dnh");
    ObjEnemyBossScene_Add(obj, 2, dir ~ "./JunkoNon3.dnh");
    ObjEnemyBossScene_Add(obj, 2, dir ~ "./JunkoSpell03.dnh");
    ObjEnemyBossScene_Add(obj, 3, dir ~ "./JunkoNon4.dnh");
    ObjEnemyBossScene_Add(obj, 3, dir ~ "./JunkoSpell04.dnh");
    ObjEnemyBossScene_Add(obj, 4, dir ~ "./JunkoSpell05.dnh");
    ObjEnemyBossScene_Add(obj, 5, dir ~ "./JunkoSpell06.dnh");
    ObjEnemyBossScene_Add(obj, 6, dir ~ "./JunkoSpell07.dnh");
    ObjEnemyBossScene_LoadInThread(obj);
    ObjEnemyBossScene_Regist(obj);
    while(!Obj_IsDeleted(obj)){
        yield;
    }
    CloseScript(GetOwnScriptID());
}