Advertisement
Guest User

Neospell

a guest
Jul 16th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.07 KB | None | 0 0
  1. #TouhouDanmakufu
  2. #Title[Keanu...]
  3. #Text[neospell]
  4. #Player[REIMU, MARISA]
  5. #ScriptVersion[2]
  6.  
  7. script_enemy_main {
  8.  
  9.     let CSD = GetCurrentScriptDirectory;
  10.     let imgBoss = CSD ~ "IMG\Keanu.png";
  11.  
  12.     let frame=0;
  13.     let frame2=0;
  14.     let frame3=0;
  15.     let GATP=NULL;
  16.     let angle=0;
  17.     let angle2=0;
  18.     let N=1;
  19.  
  20.     @Initialize {
  21.     LoadUserShotData("script\Yamamoto's\SYSTEM\supershot.txt");
  22.         CreateEventFromScript("script\Yamamoto's\talk.txt");
  23.         LoadGraphic(imgBoss);
  24.         SetLife(3000);
  25.         SetTimer(80);
  26.         SetInvincibility(30);
  27.     SetMovePosition01(GetCenterX, GetCenterY, 90);
  28.     }
  29.  
  30.  
  31.     @MainLoop {
  32.  
  33.         SetCollisionA(GetX, GetY, 32);
  34.         SetCollisionB(GetX, GetY, 16);
  35. yield;
  36. frame++;
  37.    
  38. angle+=2;
  39.  
  40.  
  41.  
  42.     if(frame>=112 && frame%13==0){
  43.         loop(10){
  44.             CreateShotA(2,GetX,GetY,10);
  45.             SetShotDataA(2,0,0,angle+90,0,0.2,3,42);
  46.             angle+=360/70;
  47.             FireShot(2);
  48.             }
  49.         }
  50.  
  51.    
  52.  
  53. }
  54.     @DrawLoop {
  55.    
  56.         SetTexture(imgBoss);
  57.         SetGraphicRect(0,0,85,110);
  58.         DrawGraphic(GetX,GetY);
  59.        
  60.     }
  61.  
  62.     @Finalize {
  63.  
  64.     }
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement