#Title[EuPECrWreBv]
#Text[]
#ScriptVersion[2]
#BackGround[]
#Player[FREE]
#BGM[]
script_enemy_main {
let a=GetPlayerX;
let b=GetPlayerY;
  @Initialize {       
        SetX(32);
        SetY(-200);
        CutIn(YOUMU,"EuPECrWreBv","",0,0,0,0);
        SetLife(1000);
        SetDamageRate(20,50);
        SetScore(8800000);
        LoadGraphic(imgBoss);
        LoadGraphic(back);
        LoadGraphic(imgBIGCIRCLE);
        SetMovePosition02(GetCenterX,GetClipMinY + 120,60);
        LoadUserShotData(GetCurrentScriptDirectory~"shot_All.txt");
        boss_magic_circle;
        Tmain;
    }

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

        yield;
}
    @DrawLoop {
        SetTexture(imgBoss);
        SetGraphicRect(0, 0, 60,80);
        DrawGraphic(GetX, GetY);
    }
    @Finalize {
    DeleteGraphic(imgBoss);
    PlaySE(breakSE);
    }
    @BackGround{
	SetTexture(back);
	SetGraphicRect(0,0,384,448);
	SetAlpha(155);
	DrawGraphic(GetCenterX,GetCenterY);
}
task Tmain{
yield;
TShot;
}
task TShot{
wait(120);
loop{
Concentration01(60);
PlaySE(powerSE);
wait(60);
a=GetPlayerX;
b=GetPlayerY;
PlaySE(shotSE);
loop(400){
Snowshot(rand(32,416),rand(16,464),rand(0,360),32,rand(25,31),99);
}
wait(600);
}
}
#include_function ".\ϐW.txt"
#include_function ".\functions.txt"
}