Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #ScriptVersion[2]
- #Title[Miniboss Rush - Daiyousei]
- #Player[REIMU,MARISA]
- script_enemy_main {
- #include_function ".\lib\libboss.dnh"
- life = 3000;
- dscale = [150,20];
- time = 60;
- let sprite = GetCurrentScriptDirectory()~"/img/daiyousei.png";
- sub init(){
- LoadGraphic(sprite);
- }
- task main(){
- Concentration01(120);
- loop(120){yield;}
- let i = 0;
- loop{
- loop(60){
- CreateShot01(GetX(),GetY(),2 ,i,PURPLE11,0);
- CreateShot01(GetX(),GetY(),2.5,i,PURPLE11,0);
- CreateShot01(GetX(),GetY(),3 ,i,PURPLE11,0);
- CreateShot01(GetX(),GetY(),3.5,i,PURPLE11,0);
- CreateShot01(GetX(),GetY(),4 ,i,PURPLE11,0);
- CreateShot01(GetX(),GetY(),2 ,i+180,BLUE12,0);
- CreateShot01(GetX(),GetY(),2.5,i+180,BLUE12,0);
- CreateShot01(GetX(),GetY(),3 ,i+180,BLUE12,0);
- CreateShot01(GetX(),GetY(),3.5,i+180,BLUE12,0);
- CreateShot01(GetX(),GetY(),4 ,i+180,BLUE12,0);
- i+=7.2;
- yield;
- }
- SetX(GetCenterX()+rand(-100,100));SetY(rand(120,200));
- Concentration01(30);
- loop(30){yield;}
- }
- }
- @DrawLoop {
- SetGraphicRect(0,0,124,124);
- SetTexture(sprite);
- DrawGraphic(GetX(),GetY());
- }
- }
Add Comment
Please, Sign In to add comment