Guest User

Untitled

a guest
Jun 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. #TouhouDanmakufu
  2. #Title[Convergence Sign "Narrow Mind"]
  3. #Text[farts]
  4. #Player[FREE]
  5. #BGM[script\card02\bmtl.mp3]
  6. #ScriptVersion[2]
  7.  
  8. script_enemy_main {
  9. let frame = 0;
  10. let i; let j;
  11. @Initialize {
  12. SetLife(4000);
  13. SetEnemyMarker(true);
  14. SetTimer(35);
  15. CutIn(YOUMU, "Convergence Sign "\""Narrow Mind"\", "script\card02\SaxtonHale.png", 0, 0,
  16.  
  17. 256, 256);
  18. }
  19.  
  20. @MainLoop {
  21. SetCollisionA(GetX, GetY, 32);
  22. SetCollisionB(GetX, GetY, 24);
  23. frame++;
  24. if(frame==1){
  25. CreateLaserA(1, GetX, GetY, 700, 30, BLUE01, 10);
  26. SetLaserDataA(1, 0, 0, 1, 0, 0, 0);
  27. SetLaserDataA(1, 80, 80, 0, 0, 0, 0);
  28. SetLaserDataA(1, 240, 80, -1, 0, 0, 0);
  29. SetShotKillTime(1, 480);
  30. CreateLaserA(2, GetX, GetY, 700, 30, BLUE01, 10);
  31. SetLaserDataA(2, 0, 180, -1, 0, 0, 0);
  32. SetLaserDataA(2, 80, 100, 0, 0, 0, 0);
  33. SetLaserDataA(2, 240, 100, 1, 0, 0, 0);
  34. SetShotKillTime(2, 480);
  35. ascent(j in 1..16){
  36. ascent(i in 1..10){
  37. CreateShotA(3, 0, 0, 10);
  38. SetShotDataA_XY(3, 0, 0, 0, 0, 0, 0, 0, WHITE01);
  39. SetShotDataA_XY(3, 140, rand(0,-2), rand(-2,2), 0, 0, 0, 4, BLUE01);
  40. CreateShotA(4, 0, 0, 10);
  41. SetShotDataA_XY(4, 0, 0, 0, 0, 0, 0, 0, WHITE01);
  42. SetShotDataA_XY(4, 140, rand(0,2), rand(-2,2), 0, 0, 0, 4, BLUE01);
  43. AddShot(i*8, 1, 3, j*40);
  44. AddShot(i*8, 2, 4, j*40);
  45. }
  46. }
  47. FireShot(1); FireShot(2);
  48. }
  49. if(frame==240){
  50. CreateLaserA(1, GetX, GetY, 700, 30, RED01, 10);
  51. SetLaserDataA(1, 0, 0, 1, 0, 0, 0);
  52. SetLaserDataA(1, 80, 80, 0, 0, 0, 0);
  53. SetLaserDataA(1, 240, 80, -1, 0, 0, 0);
  54. SetShotKillTime(1, 480);
  55. CreateLaserA(2, GetX, GetY, 700, 30, RED01, 10);
  56. SetLaserDataA(2, 0, 180, -1, 0, 0, 0);
  57. SetLaserDataA(2, 80, 100, 0, 0, 0, 0);
  58. SetLaserDataA(2, 240, 100, 1, 0, 0, 0);
  59. SetShotKillTime(2, 480);
  60. ascent(j in 1..16){
  61. ascent(i in 1..10){
  62. CreateShotA(3, 0, 0, 10);
  63. SetShotDataA_XY(3, 0, 0, 0, 0, 0, 0, 0, WHITE01);
  64. SetShotDataA_XY(3, 140, rand(0,-2), rand(-2,2), 0, 0, 0, 4, RED01);
  65. CreateShotA(4, 0, 0, 10);
  66. SetShotDataA_XY(4, 0, 0, 0, 0, 0, 0, 0, WHITE01);
  67. SetShotDataA_XY(4, 140, rand(0,2), rand(-2,2), 0, 0, 0, 4, RED01);
  68. AddShot(i*8, 1, 3, j*40);
  69. AddShot(i*8, 2, 4, j*40);
  70. }
  71. }
  72. FireShot(1); FireShot(2);
  73. }
  74. if(frame==480){
  75. frame=0;
  76. }
  77. }
  78.  
  79. @DrawLoop {
  80. }
  81.  
  82. @Finalize {
  83. }
  84. }
Add Comment
Please, Sign In to add comment