Advertisement
Taizen

Re: LS Second Boss First Healthbar

Oct 17th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. ///Tactic 1
  2.  
  3. if y > 300 exit;
  4.  
  5. if tactic = 1
  6. {
  7. wanty = 110;
  8. }
  9. //////////////////Easy Mode
  10. if tactic = 1 && global.difficulty = 1 && await = 0
  11. {
  12.  
  13. if mode = 0
  14. {
  15. wantx = 116+random(200);
  16. wanty = 90+random(60);
  17. inc2 = random(360);
  18. for(b=0;b<360;b+=120)
  19. {
  20. aa=instance_create(x,y,ebullet8);
  21. aa.direction = b+inc2;
  22. aa.speed = 3;
  23. }
  24.  
  25. if fdir = true {fdir = false;} else {fdir = true;}
  26. await = 52;
  27. mode = 1;
  28. inc = -45;
  29. point = point_direction(x,y,global.player.x,global.player.y);
  30. }
  31. if mode = 1
  32. {
  33. await = 12;
  34. if fdir = true{
  35. for(a=2;a<=5;a+=0.5){
  36. aa=instance_create(x,y,ebullet1);
  37. aa.direction = point + -1 * inc;
  38. aa.speed = a;
  39. }
  40. inc += 22.5
  41.  
  42. if inc > 45
  43. {mode = 0; await = 50; exit;}
  44. }
  45. if fdir = false{
  46. for(a=2;a<=5;a+=0.5){
  47. aa=instance_create(x,y,ebullet1);
  48. aa.direction = point + 1 * inc;
  49. aa.speed = a;
  50. }
  51. inc += 22.5
  52.  
  53. if inc > 45
  54. {mode = 0; await = 50; exit;}
  55. }
  56. exit;
  57. }
  58. }
  59. //////////////////Normal Mode
  60. if tactic = 1 && global.difficulty = 2 && await = 0
  61. {
  62.  
  63. if mode = 0
  64. {
  65. wantx = 116+random(200);
  66. wanty = 90+random(60);
  67. inc2 = random(360);
  68. for(b=0;b<360;b+=90)
  69. {
  70. aa=instance_create(x,y,ebullet8);
  71. aa.direction = b+inc2;
  72. aa.speed = 3;
  73. }
  74.  
  75. if fdir = true {fdir = false;} else {fdir = true;}
  76. await = 48;
  77. mode = 1;
  78. inc = -45;
  79. point = point_direction(x,y,global.player.x,global.player.y);
  80. }
  81. if mode = 1
  82. {
  83. await = 8;
  84. if fdir = true{
  85. for(a=2;a<=5;a+=0.5){
  86. aa=instance_create(x,y,ebullet1);
  87. aa.direction = point + -1 * inc;
  88. aa.speed = a;
  89. }
  90. inc += 10
  91.  
  92. if inc > 45
  93. {mode = 0; await = 40; exit;}
  94. }
  95. if fdir = false{
  96. for(a=2;a<=5;a+=0.5){
  97. aa=instance_create(x,y,ebullet1);
  98. aa.direction = point + 1 * inc;
  99. aa.speed = a;
  100. }
  101. inc += 10
  102.  
  103. if inc > 45
  104. {mode = 0; await = 40; exit;}
  105. }
  106. exit;
  107. }
  108. }
  109. //////////////////Hard Mode
  110. if tactic = 1 && global.difficulty = 3 && await = 0
  111. {
  112.  
  113. if mode = 0
  114. {
  115. wantx = 116+random(200);
  116. wanty = 90+random(60);
  117. inc2 = random(360);
  118. for(b=0;b<360;b+=90)
  119. {
  120. aa=instance_create(x,y,ebullet8);
  121. aa.direction = b+inc2;
  122. aa.speed = 3;
  123. }
  124.  
  125. if fdir = true {fdir = false;} else {fdir = true;}
  126. await = 38;
  127. mode = 1;
  128. if fdir = true
  129. inc = -22.5;
  130. else
  131. inc = -45;
  132. point = point_direction(x,y,global.player.x,global.player.y);
  133. }
  134. if mode = 1
  135. {
  136.  
  137. if fdir = true{await = 1;
  138. for(a=3;a<=6;a+=0.5){
  139. aa=instance_create(x,y,ebullet1);
  140. aa.direction = point + -1 * inc;
  141. aa.speed = a;
  142. }
  143. inc += 5
  144.  
  145. if inc > 22.5
  146. {mode = 0; await = 30; exit;}
  147. }
  148. if fdir = false{await = 5;
  149. for(a=2;a<=5;a+=0.5){
  150. aa=instance_create(x,y,ebullet1);
  151. aa.direction = point + 1 * inc;
  152. aa.speed = a;
  153. }
  154. inc += 10
  155.  
  156. if inc > 45
  157. {mode = 0; await = 40; exit;}
  158. }
  159. exit;
  160. }
  161. }
  162. //////////////////Lunatic Mode
  163. if tactic = 1 && global.difficulty = 4 && await = 0
  164. {
  165. await = 2;
  166. inc2 += 11;
  167. diff = 0;
  168. for(b=0;b<=100;b+=100)
  169. {
  170. for(a=1;a<=3;a+=0.5)
  171. {
  172. aa=instance_create(x,y,ebullet13);
  173. aa.direction = b+ inc2 + diff;
  174. aa.speed = a;
  175. aa.friction = -0.1;
  176. aa.image_blend = merge_color(make_color_hsv(diff*8+((inc2)/3),200,200),c_white,0.5);
  177. diff += 1;
  178. }
  179. }
  180.  
  181. if inc2 mod 12 = 0
  182. {
  183. wantx = 116+random(200);
  184. wanty = 90+random(60);
  185. for(a=0;a<360;a+=10)
  186. {
  187. aa=instance_create(x,y,ebullet12);
  188. aa.direction = a;
  189. aa.speed = 5;
  190. }
  191. }
  192. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement