let xx2=0;
let yy2=0;
let yy22=0;
let yy222=0;
task las{






  let qw12 = Obj_Create(OBJ_LASER);
    // initial settings
   // Obj_SetPosition   (qw12, GetX-90*sin(xx2), GetY+90-90*cos(xx2));
    Obj_SetAngle      (qw12,GetAngle);
    ObjLaser_SetWidth (qw12, -5);
	Obj_SetCollisionToPlayer(qw12,false);
    ObjLaser_SetLength (qw12, 280);
	Obj_SetCollisionToPlayer(qw12,false);
    ObjShot_SetGraphic(qw12, 3);
    ObjShot_SetDelay(qw12, 15);
    ObjLaser_SetSource(qw12, false);
  let anglel=0;
  while(!Obj_BeDeleted(qw12)){yield;
	Obj_SetAutoDelete(qw12,true);
wait(60);
 
PlaySE(GetCurrentScriptDirectory ~ ".\Sounds\se_lazer00.wav"); 
//ObjShot_SetGraphic(qw12, 245);
  loop(15){yield;
 ObjLaser_SetWidth (qw12, ObjLaser_GetWidth(qw12)+0.9);
  }
  break;
  }
  
  
  
  task asd{
  loop{
  wait(13);
  yy2+=13.98764;
  yy22+=19.48764;
  yy222+=26.98764;
  
  PlaySE(GetCurrentScriptDirectory ~ ".\Sounds\se_tan00.wav");
  CreateShotA(1,Obj_GetX(qw1), Obj_GetY(qw1),10);
		SetShotDataA(1,0,0,90-yy2,0,0,0,239);
			SetShotDataA(1,120,0.2,NULL,0,0,0,239);
			SetShotDataA(1,160,0.4,NULL,0,0,0,239);
			SetShotDataA(1,180,0.6,NULL,0,0,0,239);
			SetShotDataA(1,200,0.8,NULL,0,0,0,239);
			SetShotDataA(1,220,1,NULL,0,0,0,239);
			SetShotDataA(1,240,1.2,NULL,0,0,0,239);
			SetShotDataA(1,260,1.4,NULL,0,0,0,239);
			SetShotDataA(1,280,1.6,NULL,0,0,0,239);
			SetShotDataA(1,300,1.8,NULL,0,0,0,239);
			
				
				FireShot(1);
				
				CreateShotA(1,Obj_GetX(qw12), Obj_GetY(qw12),10);
		SetShotDataA(1,0,0,90+yy2,0,0,0,239);
			SetShotDataA(1,120,0.2,NULL,0,0,0,239);
			SetShotDataA(1,160,0.4,NULL,0,0,0,239);
			SetShotDataA(1,180,0.6,NULL,0,0,0,239);
			SetShotDataA(1,200,0.8,NULL,0,0,0,239);
			SetShotDataA(1,220,1,NULL,0,0,0,239);
			SetShotDataA(1,240,1.2,NULL,0,0,0,239);
			SetShotDataA(1,260,1.4,NULL,0,0,0,239);
			SetShotDataA(1,280,1.6,NULL,0,0,0,239);
			SetShotDataA(1,300,1.8,NULL,0,0,0,239);
			
				
				FireShot(1);
				
				
				
				
				
				
				CreateShotA(1,Obj_GetX(qw1), Obj_GetY(qw1)+140,10);
		SetShotDataA(1,0,0,350-yy22,0,0,0,239);
			SetShotDataA(1,120,0.2,NULL,0,0,0,239);
			SetShotDataA(1,160,0.4,NULL,0,0,0,239);
			SetShotDataA(1,180,0.6,NULL,0,0,0,239);
			SetShotDataA(1,200,0.8,NULL,0,0,0,239);
			SetShotDataA(1,220,1,NULL,0,0,0,239);
			SetShotDataA(1,240,1.2,NULL,0,0,0,239);
			SetShotDataA(1,260,1.4,NULL,0,0,0,239);
			SetShotDataA(1,280,1.6,NULL,0,0,0,239);
			SetShotDataA(1,300,1.8,NULL,0,0,0,239);
			
				
				FireShot(1);
				
				CreateShotA(1,Obj_GetX(qw12), Obj_GetY(qw12)+140,10);
		SetShotDataA(1,0,0,190+yy22,0,0,0,239);
			SetShotDataA(1,120,0.2,NULL,0,0,0,239);
			SetShotDataA(1,160,0.4,NULL,0,0,0,239);
			SetShotDataA(1,180,0.6,NULL,0,0,0,239);
			SetShotDataA(1,200,0.8,NULL,0,0,0,239);
			SetShotDataA(1,220,1,NULL,0,0,0,239);
			SetShotDataA(1,240,1.2,NULL,0,0,0,239);
			SetShotDataA(1,260,1.4,NULL,0,0,0,239);
			SetShotDataA(1,280,1.6,NULL,0,0,0,239);
			SetShotDataA(1,300,1.8,NULL,0,0,0,239);
			
				
				FireShot(1);
				
				CreateShotA(1,Obj_GetX(qw1), Obj_GetY(qw1)+270,10);
		SetShotDataA(1,0,0,270-yy222,0,0,0,239);
			SetShotDataA(1,120,0.2,NULL,0,0,0,239);
			SetShotDataA(1,160,0.4,NULL,0,0,0,239);
			SetShotDataA(1,180,0.6,NULL,0,0,0,239);
			SetShotDataA(1,200,0.8,NULL,0,0,0,239);
			SetShotDataA(1,220,1,NULL,0,0,0,239);
			SetShotDataA(1,240,1.2,NULL,0,0,0,239);
			SetShotDataA(1,260,1.4,NULL,0,0,0,239);
			SetShotDataA(1,280,1.6,NULL,0,0,0,239);
			SetShotDataA(1,300,1.8,NULL,0,0,0,239);
			SetShotDataA(1,320,2,NULL,0,0,0,239);
			SetShotDataA(1,340,2.2,NULL,0,0,0,239);
				
				FireShot(1);
				
				CreateShotA(1,Obj_GetX(qw12), Obj_GetY(qw12)+270,10);
		SetShotDataA(1,0,0,270+yy222,0,0,0,239);
			SetShotDataA(1,120,0.2,NULL,0,0,0,239);
			SetShotDataA(1,160,0.4,NULL,0,0,0,239);
			SetShotDataA(1,180,0.6,NULL,0,0,0,239);
			SetShotDataA(1,200,0.8,NULL,0,0,0,239);
			SetShotDataA(1,220,1,NULL,0,0,0,239);
			SetShotDataA(1,240,1.2,NULL,0,0,0,239);
			SetShotDataA(1,260,1.4,NULL,0,0,0,239);
			SetShotDataA(1,280,1.6,NULL,0,0,0,239);
			SetShotDataA(1,300,1.8,NULL,0,0,0,239);
			SetShotDataA(1,320,2,NULL,0,0,0,239);
			SetShotDataA(1,340,2.2,NULL,0,0,0,239);
				
				FireShot(1);
				
				
				
				
				
  }
  
  
  
  }

task so2{
yield;

loop{

yield;
xx2+=1;
 Obj_SetPosition   (qw1, GetPlayerX-120*sin(xx2), GetPlayerY-140+40*cos(xx2));
 Obj_SetAngle      (qw1,Obj_GetAngle(qw1));
 
 Obj_SetPosition   (qw12, GetPlayerX+120*sin(xx2), GetPlayerY-140+40*cos(xx2));
 Obj_SetAngle      (qw12,Obj_GetAngle(qw12));
 
}
}

 let qw1 = Obj_Create(OBJ_LASER);
    // initial settings
   // Obj_SetPosition   (qw1, GetX-90*sin(xx2), GetY-90*cos(xx2));
    Obj_SetAngle      (qw1,GetAngle);
    ObjLaser_SetWidth (qw1, -5);
	Obj_SetCollisionToPlayer(qw1,false);
    ObjLaser_SetLength (qw1, 280);
    ObjShot_SetGraphic(qw1, 3);Obj_SetCollisionToPlayer(qw1,false);
    ObjShot_SetDelay(qw1, 15);
    ObjLaser_SetSource(qw1, false);
  let anglel=0;
  while(!Obj_BeDeleted(qw1)){yield;
	Obj_SetAutoDelete(qw1,true);so2;
wait(60);
 
PlaySE(GetCurrentScriptDirectory ~ ".\Sounds\se_lazer00.wav"); 
//ObjShot_SetGraphic(qw1, 245);
  loop(15){yield;
 ObjLaser_SetWidth (qw1, ObjLaser_GetWidth(qw1)+0.9);
  }
  break;
  }
  
  
  
  
	   PlaySE(GetCurrentScriptDirectory ~ ".\Sounds\se_ch02.wav");

	 Concentration02(30);
 Concentration02(40);
 Concentration02(30);let fg=0;
 Concentration02(40);
 Concentration02(30);let anga=0;
 Concentration02(40);
 while(GetSpeed>0.1){yield;}
	  let z=0;
	wait(90);
	asd;
  
  
  
  
  }