Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #Title[Spell Card LW] #Text[Test] #BackGround[Default] #BGM[.\music.ogg]
- #PlayLevel[Normal] #Player[MARISA] #ScriptVersion[2]
- script_enemy_main {
- SetLife(1500); SetDamageRate(17, 0); SetTimer(155);
- #include_function ".\bossinclude.txt"
- task TMain {
- SetMovePosition02(GetCenterX, GetCenterY-75, 1);
- CutinL("「紅歪人形(テイルスドールカース)」", 500000, false, false); waitI(120);
- SetShotAutoDeleteClip(200, 200, 200, 200);
- let a = 0; let b = 0; let c = 0; let d = 0;
- task CreateShotMiko(ang,bang) {
- let obj = Obj_Create(OBJ_SHOT);
- Obj_SetPosition(obj, GetX, GetY);
- ObjShot_SetBombResist(obj, 1);
- Obj_SetAutoDelete(obj, 0);
- Obj_SetSpeed(obj, 7/2);
- Obj_SetAngle(obj, ang);
- ObjShot_SetGraphic(obj, 10);
- ObjShot_SetDelay(obj, 20); wait(20);
- wait(45);
- if(!c) {
- CreateShot01(Obj_GetX(obj), Obj_GetY(obj), 2, ang+180+45*sin(b), 242, 35);
- }
- if(!d) {
- CreateShot01(Obj_GetX(obj), Obj_GetY(obj), 2, ang+180+45*sin(b), 234, 35);
- }
- ObjShot_SetDelay(obj, 11); wait(10);
- ascent(i in -1..2) { CreateShot01(GetX+150*cos(ang+90), GetY+300*sin(ang+90), 7, ang+180+bang+i*35, 223, 10); }
- Obj_Delete(obj);
- }
- loop {
- ascent(i in 0..12) {
- CreateShotMiko(a+i*360/12, -45+22*sin(b));
- }
- a+=2; a%=360;
- b+=3; b%=360;
- c+=1; c%=3;
- d+=1; d%=10; wait(3);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment