#Title[白界「Ｐ・ホワイトビジビリティ」]
#Text[]
#ScriptVersion[2]
#BackGround[]
#BGM[]
script_enemy_main {
let a=GetPlayerX;
let b=GetPlayerY;
let img = "script\img\ExRumia.png";
  @Initialize {       
        SetX(GetCenterX);
        SetY(GetCenterY);
        CutIn(YOUMU,"白界「Ｐ・ホワイトビジビリティ」","",0,0,0,0);
        SetLife(1000);
        SetDamageRate(20,50);
        SetScore(8800000);
        LoadGraphic(img);
        LoadUserShotData(GetCurrentScriptDirectory~"shot_All.txt");
        boss_magic_circle;
        Tmain;
    }

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

        yield;
    }
    @DrawLoop {
        SetTexture(img);
        SetGraphicRect(0, 0, 64, 64);
        DrawGraphic(GetX, GetY);
    }
    @Finalize {
    DeleteGraphic(img);
    PlaySE(breakSE);
    }
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 ".\変数集.txt"
#include_function ".\functions.txt"
}