#e
#Title[͂Ēʏ2 Normal]
#Text[]
#ScriptVersion[2]
#BackGround[]
#BGM[]
script_enemy_main {
let a=0;
let b=0;
let c=0;
  @Initialize {       
        SetX(GetCenterX);
        SetY(GetClipMinY+150);
        SetLife(2000);
        LoadGraphic(imgBIGCIRCLE);
        LoadUserShotData(GetCurrentScriptDirectory~"shot_All.txt");
        boss_magic_circle;
        SetInvincibility(180);
        Tmain;
    }

    @MainLoop {
        SetCollisionA(GetX, GetY, 24);
        SetCollisionB(GetX, GetY, 24);
        
        yield;
}
    @DrawLoop {
    }
    @Finalize {
    
    }
task Tmain{
yield;
Attack;
}
task Attack{
wait(120);
loop{
Concentration01(120);
PlaySE(powerSE);
wait(120);
PlaySE(shotSE);
b=rand(0,360);
loop(5){
loop(20){
a=b+c;
hatateshot2(GetX,GetY,0,a,a+45,a+90,RED21,0,60,60);
hatateshot2(GetX,GetY,0,a,a+45,a-90,BLUE21,0,60,60);
hatateshot2(GetX,GetY,0,a,a-45,a+90,RED21,0,60,60);
hatateshot2(GetX,GetY,0,a,a-45,a-90,BLUE21,0,60,60);
hatateshot2(GetX,GetY,0,a+90,a+135,a+180,RED21,0,60,60);
hatateshot2(GetX,GetY,0,a+90,a+135,a-180,BLUE21,0,60,60);
c+=18;
}
wait(5);
}
}
}
#include_function ".\functions.txt"
#include_function ".\ϐW.txt"
}