Advertisement
Guest User

hurr durr dem script!

a guest
Apr 2nd, 2013
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.14 KB | None | 0 0
  1. #TouhouDanmakufu
  2. #Title[spell]
  3. #Text[HURR DURR]
  4. #Player[REIMU, MARISA]
  5. #ScriptVersion[2]
  6.  
  7. script_enemy_main {
  8.  
  9.     #include_function "lib\SHOT_REPLACE\shot_replace.dnh";
  10.     let CSD = GetCurrentScriptDirectory;
  11.     let imgBoss = CSD ~ "img/SSprite.png";
  12.  
  13.     let imgCutIn = CSD ~ "img\SCutIn.png";
  14.  
  15.     let f = 0;
  16.  
  17.     @Initialize {
  18.     shotinit;
  19.         LoadGraphic(imgBoss);
  20.         SetLife(4000);
  21.         SetTimer(50);
  22.         SetInvincibility(30);
  23.         CutIn(YOUMU,"Power Sign "\""Chaotic Spin"\", imgCutIn, 0, 0, 380, 600);
  24.        SetScore(150000);
  25.        Concentration01(180);
  26.        MagicCircle(true);
  27.        SetEffectForZeroLife(180, 100, 1);
  28.     SetMovePosition02(GetCenterX, GetCenterY-100, 0);
  29.    }
  30.  
  31.    @MainLoop {
  32.        SetCollisionA(GetX, GetY, 32);
  33.        SetCollisionB(GetX, GetY, 16);
  34.  
  35.         if(frame==60){
  36.            CreateShot02(GetX, GetY, 2, 90, 3, -1, RED01, 10);
  37.            frame = 0;
  38.     }
  39.    }
  40.  
  41.    @DrawLoop {
  42.    
  43.         SetColor(255,255,255);
  44.         SetRenderState(ALPHA);
  45.         SetTexture(imgBoss);
  46.         SetGraphicRect(0,0,50,91);
  47.         DrawGraphic(GetX,GetY);
  48.        
  49.    }
  50.  
  51.    @Finalize {
  52.  
  53.    }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement