Mewkyuu

Tails Doll - LW

May 7th, 2011
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. #TouhouDanmakufu
  2. #Title[Spell Card LW] #Text[Test] #BackGround[Default] #BGM[.\music.ogg]
  3. #PlayLevel[Normal] #Player[MARISA] #ScriptVersion[2]
  4.  
  5. script_enemy_main {
  6. SetLife(1500); SetDamageRate(17, 0); SetTimer(155);
  7. #include_function ".\bossinclude.txt"
  8. task TMain {
  9. SetMovePosition02(GetCenterX, GetCenterY-75, 1);
  10. CutinL("「紅歪人形(テイルスドールカース)」", 500000, false, false); waitI(120);
  11. SetShotAutoDeleteClip(200, 200, 200, 200);
  12. let a = 0; let b = 0; let c = 0; let d = 0;
  13. task CreateShotMiko(ang,bang) {
  14. let obj = Obj_Create(OBJ_SHOT);
  15. Obj_SetPosition(obj, GetX, GetY);
  16. ObjShot_SetBombResist(obj, 1);
  17. Obj_SetAutoDelete(obj, 0);
  18. Obj_SetSpeed(obj, 7/2);
  19. Obj_SetAngle(obj, ang);
  20. ObjShot_SetGraphic(obj, 10);
  21. ObjShot_SetDelay(obj, 20); wait(20);
  22. wait(45);
  23. if(!c) {
  24. CreateShot01(Obj_GetX(obj), Obj_GetY(obj), 2, ang+180+45*sin(b), 242, 35);
  25. }
  26. if(!d) {
  27. CreateShot01(Obj_GetX(obj), Obj_GetY(obj), 2, ang+180+45*sin(b), 234, 35);
  28. }
  29. ObjShot_SetDelay(obj, 11); wait(10);
  30. ascent(i in -1..2) { CreateShot01(GetX+150*cos(ang+90), GetY+300*sin(ang+90), 7, ang+180+bang+i*35, 223, 10); }
  31. Obj_Delete(obj);
  32.  
  33. }
  34. loop {
  35. ascent(i in 0..12) {
  36. CreateShotMiko(a+i*360/12, -45+22*sin(b));
  37. }
  38. a+=2; a%=360;
  39. b+=3; b%=360;
  40. c+=1; c%=3;
  41. d+=1; d%=10; wait(3);
  42. }
  43. }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment