#Title[uȊwʃXyv]
#Text[]
#ScriptVersion[2]
#BackGround[]
#Player[FREE]
#BGM[]
script_enemy_main {
let a=0;
let b=0;
  @Initialize {       
        SetX(GetX);
        SetY(GetY);
        CutIn(YOUMU,"uȊwʃXyv","",0,0,0,0);
        SetLife(3000);
        SetScore(8000000);
        LoadGraphic(imgBoss6A);
        LoadGraphic(back6A);
        LoadGraphic(imgBIGCIRCLE);
        LoadUserShotData(GetCurrentScriptDirectory~"shot_All.txt");
        LastSpell;
        boss_magic_circle;
        Tmain;
    }

    @MainLoop {
        SetCollisionA(GetX, GetY, 24);
        SetCollisionB(GetX, GetY, 24);

        yield;
}
    @DrawLoop {
        SetTexture(imgBoss6A);
        SetGraphicRect(0, 0, 40,80);
        DrawGraphic(GetX, GetY);
    }
    @Finalize {
    DeleteGraphic(imgBoss6A);
    }
    @BackGround{
	SetTexture(back6A);
	SetGraphicRect(0,0,384,448);
	SetAlpha(155);
	DrawGraphic(GetCenterX,GetCenterY);
}
task Tmain{
yield;
TShot;
}
task TShot{
Concentration01(120);
wait(120);
loop{
a=rand(0,360);
PlaySE(shotSE);
loop(30){
watershot1(GetX,GetY,4,2,a+b,a+b*-1,245,0);
watershot2(GetX,GetY,4,2,a+b,a+b*-1,245,0);
b+=12;
}
wait(120);
if(GetEnemyLife<3000){break;}
}
b=0;
loop{
a=rand(0,360);
PlaySE(shotSE);
loop(30){
watershot3(GetX,GetY,4,2,a+b,a+b*-1,245,0);
watershot4(GetX,GetY,4,2,a+b,a+b*-1,245,0);
b+=12;
}
wait(120);
if(GetEnemyLife<2300){break;}
}
b=0;
loop{
a=rand(0,360);
PlaySE(shotSE);
loop(30){
watershot3(GetX,GetY,4,2,a+b,a+b*-1,30,0);
watershot4(GetX,GetY,4,2,a+b,a+b*-1,30,0);
b+=12;
}
wait(120);
if(GetEnemyLife<1800){break;}
}
b=0;
loop{
a=rand(0,360);
loop(3){
PlaySE(shotSE);
loop(30){
watershot5(GetX,GetY,4,2,a+b,a+b*-1,30,0);
watershot6(GetX,GetY,4,2,a+b,a+b*-1,30,0);
b+=12;
}
wait(5);
}
wait(120);
if(GetEnemyLife<1300){break;}
}
b=0;
loop{
a=rand(0,360);
loop(5){
PlaySE(shotSE);
loop(30){
watershot7(GetX,GetY,4,2,a+b,a+b*-1,30,0);
watershot8(GetX,GetY,4,2,a+b,a+b*-1,30,0);
b+=12;
}
wait(5);
}
wait(120);
if(GetEnemyLife<800){break;}
}

loop{
a=rand(0,360);
PlaySE(shotSE);
loop(30){
loop(30){
watershot9(GetX,GetY,4,2,a+b,a+b*-1,30,0);
watershot10(GetX,GetY,4,2,a+b,a+b*-1,30,0);
b+=12;
}
wait(30);
}
}
}
#include_function ".\ϐW.txt"
#include_function ".\functions.txt"
}