Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task mainTask{
- yield;
- movement;
- }
- task movement{
- wait(60);
- loop{
- concen;
- wait(40);
- circle;
- circle2;
- circle;
- wait(480);
- PlaySE(sfx3);
- wait(30);
- SetMovePositionRandom01(80,80,20,100,150,350,200);
- barrage;
- wait(120);
- }
- }
- task concen{
- PlaySE(concenfx);
- Concentration01(60);
- Concentration02(60);
- }
- task circle{
- let x = 0;
- let dir = 0;
- wait(120);
- loop(4){
- PlaySE(sfx1);
- while(x<36){
- CreateShotA(1,GetEnemyX,GetEnemyY,10);
- SetShotDataA(1,0,1,dir,0,0.1,4,BLUE01);
- SetShotDataA(1,120,NULL,dir,0,-0.1,-1,RED01);
- SetShotDataA(1,640,NULL,dir,0.5,0.1,-1,RED01);
- SetShotDataA(1,800,NULL,NULL,0,0,-1,RED01);
- FireShot(1);
- dir+=360/36;
- x++;
- }
- x = 0;
- dir = 0;
- wait(60);
- yield;
- }
- }
- task barrage{
- let x = 0;
- let dir = 0;
- wait(1);
- loop(5){
- PlaySE(sfx2);
- while(x<36){
- CreateShotA(1,GetEnemyX,GetEnemyY,1);
- SetShotDataA(1,0,1,dir,0,-0.5,8,BLUE31);
- FireShot(1);
- dir+=360/36;
- x++;
- }
- x = 0;
- dir = 0;
- wait(5);
- yield;
- }
- }
- task circle2{
- let x = 0;
- let dir = 0;
- wait(120);
- loop(4){
- PlaySE(sfx1);
- while(x<36){
- CreateShotA(1,GetEnemyX,GetEnemyY,10);
- SetShotDataA(1,0,1,dir,0,0.1,4,BLUE01);
- SetShotDataA(1,120,NULL,dir,0,0.1,-1,GREEN01);
- SetShotDataA(1,540,NULL,dir,0.5,0.1,-1,GREEN01);
- SetShotDataA(1,800,NULL,NULL,0,0,-1,GREEN01);
- FireShot(1);
- dir+=360/36;
- x++;
- }
- x = 0;
- dir = 0;
- wait(60);
- yield;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment