Guest User

Boss

a guest
Aug 14th, 2013
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. #TouhouDanmakufu[Single]
  2. #Title[Dummy Boss]
  3. #Text[Test]
  4. #Player[FREE]
  5. #ScriptVersion[2]
  6.  
  7. script_enemy_main{
  8.  
  9. let CSD = GetCurrentScriptDirectory;
  10. let fam = CSD ~ "fam.dnh";
  11.  
  12. @Initialize{
  13. SetLife(3000);
  14. SetX(GetCenterX);
  15. SetY(GetClipMinY+70);
  16. maintask;
  17. }
  18.  
  19. @MainLoop{
  20. yield;
  21. }
  22.  
  23. @DrawLoop{
  24.  
  25. }
  26.  
  27. @Finalize{
  28.  
  29. }
  30.  
  31. task maintask{
  32. familiar;
  33. }
  34.  
  35. task familiar{
  36. loop{
  37. let agFam = 0;
  38. let wayCount = 7;
  39. loop(wayCount){
  40. CreateEnemyFromFile(fam,GetX,GetY,0,0,agFam);
  41. agFam += 360/wayCount;
  42. wait(10);
  43. }
  44. wait(120);
  45. }
  46. }
  47.  
  48.  
  49. function wait(w){ loop(w){ yield;}}
  50. }
Advertisement
Add Comment
Please, Sign In to add comment