
#Title[ウルフシグマ]
#Text[ラスボス]
#ScriptVersion[2]

script_enemy_main {
  let imgBoss = "script\某アゴ\dotWΣ.PNG";
  let frame   = 0;
  let xIni    = GetCenterX;
  let yIni    = GetClipMinY+60;
  let angle   = 90;
  let name    = "ウルフシグマ";
  let Q=1;
let scoa=0;
@Initialize {

    SetLife(1000);

    SetDamageRate(0, 0);

    LoadGraphic(imgBoss);
   SetTexture(imgBoss);   SetGraphicRect(0, 0, 64,128);
   setGraphicStop;
    setGraphicMove;
    TMain;

   }
@MainLoop {
             
    SetCollisionA(GetX, GetY, 24);
    SetCollisionB(GetX, GetY, 24);
   yield;

}
@DrawLoop{
    DrawGraphic(GetX, GetY);
   }

@Finalize {
if(scoa==0){
AddScore(10000+10000*GetPlayerLife);scoa=1;}
    DeleteGraphic(imgBoss);}

function moveToPlayer(xMove, yAdd, frame, left, top, right, bottom) {
     let x;
     let y;

     if(GetPlayerX < GetX) {
         x = GetX - xMove;
         if(x < left) {
             x = GetX + xMove;
     }
     } else {
         x = GetX + xMove;
         if(right < x) {
             x = GetX - xMove;
         }
     }
     y = GetY + yAdd;
     if(y < top) {
         y = top;
     } else if(bottom > y) {
         y = bottom;
     }

     SetMovePosition02(x, y, frame);



}

  task TMain {
         yield;
       standBy;

    SetInvincibility(160);
    SetColor(255,0,255);
Concentration01(90);
Concentration01(100);
Concentration01(110);
Concentration01(120);
  wait(100);
SetColor(255,255,255);

CreateEnemyFromScript("zako", GetX, GetY, 0, 0, 0);
  setGraphicPoseR;
   wait(60);
   setGraphicStop2;
   setGraphicMove2;
CreateEventFromScript("sigma3");
loop{yield;   SetInvincibility(5);if(OnEvent()==false){break;}}

PlayMusic("\bgm\shk_mid_439.mid");
CutIn(KOUMA, "", "script\ロククロ\warn.png", 64, 0, 432, 462);
 PlaySE("\koukaonn\warp3.wav");
  wait(120); 
SetText("");
 SetDamageRate(10, 10);



  loop{ 

  Q=rand_int(1,2);
  if(GetLife<800){Q=rand_int(1,3);}
  if(GetLife<600){Q=rand_int(1,4);}
  if(GetLife<300){Q=5;}

if(Q==1){shot1;wait(45);}
if(Q==2){shot2;wait(90);}
if(Q==3){
    SetColor(255,255,0);
Concentration01(60);
SetColor(255,255,255);
  wait(60);

let w=0;
let A=GetX; let B=GetY;
loop(5){
SetMovePosition02(A+w,B,1);
yield;
SetMovePosition02(A-w,B,1);
yield;
w=w+10;
}
     
SetMovePosition02(GetPlayerX,GetPlayerY-90,1);
yield;
A=GetX;B=GetY;
w=w-10;
loop(5){
SetMovePosition02(A+w,B,1);
yield;
SetMovePosition02(A-w,B,1);
yield;
w=w-10;
}
setGraphicATTR3;
shot3;
shot35;
wait(250);
SetMovePosition02(xIni, yIni, 10);
wait(10);
}
if(Q==4){shot4;wait(45);}
if(Q==5){loop{ shot6;shot5;wait(270);}}

}

        
    }


    sub standBy{
            let wIni =60;
        SetMovePosition02(xIni, yIni, wIni);
    SetInvincibility(wIni*2);
   wait(wIni);  
ExtendPlayer(1);
CreateEventFromScript("sigma2");
loop{yield;   SetInvincibility(5);if(OnEvent()==false){break;}}
             }

  sub move{
    yield;
       
       moveToPlayer(rand(60, 90), rand(-60, 60), 90,
                     GetClipMinX + 60, GetClipMinY + 32,
                     GetClipMaxX - 60, GetClipMinY + 60);
 loop(120) { yield; }
       }
    function wait(w) {
        loop(w) { yield; }
                    }
sub shot1{
loop(2){
let w=0;
let A=GetX; let B=GetY;
loop(10){
SetMovePosition02(A+w,B,1);
yield;
SetMovePosition02(A-w,B,1);
yield;
w=w+5;
}
     
SetMovePosition02(rand(GetClipMinX+30,GetClipMaxX-30),rand(GetClipMinY+60,GetCenterY),1);
yield;
A=GetX;B=GetY;
loop(5){
SetMovePosition02(A+w,B,1);
yield;
SetMovePosition02(A-w,B,1);
yield;
w=w-10;
}
if(GetX<=GetPlayerX){setGraphicATTR;}
else{setGraphicATTL;}
 let an=GetAngleToPlayer;
 CreateLaserC(359,GetX,GetY,20,30,GREEN01,0);
SetLaserDataC(359,1,12,an,0,0,0);
 CreateLaserC(358,GetX+40,GetY,20,30,GREEN01,0);
SetLaserDataC(358,1,12,an,0,0,0);
 CreateLaserC(357,GetX-40,GetY,20,30,GREEN01,0);
SetLaserDataC(357,1,12,an,0,0,0);
let aa=1;
loop(100){
 CreateShotA(35,0,0,0);
 SetShotDataA(35,0,0,an-rand(90,270),0,0,0,GREEN04);
 SetShotDataA(35,60,2,an-rand(90,270),0,0,0,GREEN04);
 AddShot(aa,359,35,0);
 CreateShotA(36,0,0,0);
 SetShotDataA(36,0,0,an-rand(90,270),0,0,0,GREEN04);
 SetShotDataA(36,60,2,an-rand(90,270),0,0,0,GREEN04);
 AddShot(aa,357,36,0);
 CreateShotA(37,0,0,0);
 SetShotDataA(37,0,0,an-rand(90,270),0,0,0,GREEN04);
 SetShotDataA(37,60,2,an-rand(90,270),0,0,0,GREEN04);
 AddShot(aa,358,37,0);
 aa++;
 aa++;

}


FireShot(359);
FireShot(358);
FireShot(357);
 loop(65) { yield; }

} SetMovePosition02(xIni, yIni, 20); loop(20) { yield; }}

sub shot2{
  let ang=30;
let ang2=150;
let ang3=rand(0,360);
ATT2;
loop(2){
 ang=30;
ang2=150;
loop(4){
CreateShotA(359,GetX,GetY-50,30);
SetShotDataA(359,0,6,ang,0,0,2,PURPLE03);
ang=ang+47;
CreateShotA(358,GetX,GetY-50,30);
SetShotDataA(358,0,6,ang2,0,0,2,AQUA03);
ang2=ang2-47;
SetShotKillTime(359,31);
SetShotKillTime(358,31);
loop(24)
{
CreateShotA(31,0,0,0);
SetShotDataA(31,0,3,ang3,0,0,2,PURPLE21);
ang3=ang3+15;
AddShot(30,359,31,0);
CreateShotA(32,0,0,0);
SetShotDataA(32,0,3,ang3,0,0,2,AQUA21);
AddShot(30,358,32,0);

}

FireShot(359);
FireShot(358);
}
wait(60);}
}

task shot3{
let aa=1;
let a =0;

task b{let A=0;loop(10){
CreateShot02(GetX+a, GetClipMaxY, 8, A,-0.2,3, YELLOW04, 20);
A=A-18;}}

task bb{let A=0;loop(10){
CreateShot02(GetX+a, GetClipMinY, 8, A,-0.2,3, YELLOW04, 20);
A=A+18;}}

loop(6){
 CreateLaserC(359,GetX+a,GetClipMinY-40,30,30,YELLOW01,0);
SetLaserDataC(359,0,20,90,0,0,0);
aa=1;
FireShot(359);


wait(20);

a=a+30;
 CreateLaserC(359,GetX+a,GetClipMaxY+40,30,30,YELLOW01,0);
SetLaserDataC(359,0,20,270,0,0,0);
aa=1;
FireShot(359);
wait(20);

a=a+30;
}

}
task shot35{
let aa=1;
let a =0;
task b{let A=0;loop(10){
CreateShot02(GetX+a, GetClipMaxY, 8, A,-0.2,3, YELLOW04, 20);
A=A-18;}}
task bb{let A=0;loop(10){
CreateShot02(GetX+a, GetClipMinY, 8, A,-0.2,3, YELLOW04, 20);
A=A+18;}}
loop(6){
 CreateLaserC(358,GetX+a,GetClipMinY-40,30,30,YELLOW01,0);
SetLaserDataC(358,0,20,90,0,0,0);
aa=1;

FireShot(358);
wait(20);

a=a-30;
 CreateLaserC(358,GetX+a,GetClipMaxY+40,30,30,YELLOW01,0);
SetLaserDataC(358,0,20,270,0,0,0);
aa=1;

FireShot(358);
wait(20);

a=a-30;
}

}
sub shot4{
    let ang4=0;
   let C=0;
   let C2=0;
setGraphicATTR2;
    SetColor(255,0,255);
Concentration01(60);
  wait(60);
SetColor(255,255,255);
loop(4){
    loop(12){  CreateShot02(GetCenterX+C, GetClipMinY+C2, 8, ang4,-0.2,2, PURPLE04, 30);ang4=ang4+36;}
    loop(12){  CreateShot02(GetCenterX-C, GetClipMinY+C2, 8, ang4,-0.2,2, GREEN04, 30);ang4=ang4+36;}
ang4=ang4+18;
C=C+52;wait(5)}
loop(8){
    loop(12){  CreateShot02(GetCenterX+C, GetClipMinY+C2, 8, ang4,-0.2,2, RED04, 30);ang4=ang4+36;}
    loop(12){  CreateShot02(GetCenterX-C, GetClipMinY+C2, 8, ang4,-0.2,2, BLUE04, 30);ang4=ang4+36;}
ang4=ang4+18;
C2=C2+58;wait(5)}
loop(4){
    loop(12){  CreateShot02(GetCenterX+C, GetClipMinY+C2, 8, ang4,-0.2,2, ORANGE04, 30);ang4=ang4+36;}
    loop(12){  CreateShot02(GetCenterX-C, GetClipMinY+C2, 8, ang4,-0.2,2, AQUA04, 30);ang4=ang4+36;}
ang4=ang4+18;
C=C-52;wait(5)}
}

sub shot5{

 let an= 0;
    SetColor(200,30,30);
Concentration01(150);
    SetColor(200,30,30);
Concentration01(150);
SetColor(255,255,255);
loop(4){
setGraphicPoseR2;

   let objShot=Obj_Create(OBJ_LASER);
Obj_SetSpeed(objShot,1);
   Obj_SetPosition(objShot,GetX+60,GetY+0);
   ObjShot_SetDelay(objShot,20);
   Obj_SetAngle(objShot,0+an);
   ObjLaser_SetLength(objShot,700);
   ObjLaser_SetWidth(objShot,30);
   ObjShot_SetGraphic(objShot,RED01);
   ObjLaser_SetSource(objShot,false);

   let objShot2=Obj_Create(OBJ_LASER);
Obj_SetSpeed(objShot2,1);
   Obj_SetPosition(objShot2,GetX-60,GetY+0);
   ObjShot_SetDelay(objShot2,20);
   Obj_SetAngle(objShot2,180-an);
   ObjLaser_SetLength(objShot2,700);
   ObjLaser_SetWidth(objShot2,30);
   ObjShot_SetGraphic(objShot2,RED01);
   ObjLaser_SetSource(objShot2,false);
   let objShot3=Obj_Create(OBJ_LASER);
Obj_SetSpeed(objShot3,1);
   Obj_SetPosition(objShot3,GetX+0,GetY+60);
   ObjShot_SetDelay(objShot3,20);
   Obj_SetAngle(objShot3,90+an);
   ObjLaser_SetLength(objShot3,700);
   ObjLaser_SetWidth(objShot3,30);
   ObjShot_SetGraphic(objShot3,RED01);
   ObjLaser_SetSource(objShot3,false);

   let objShot21=Obj_Create(OBJ_LASER);
Obj_SetSpeed(objShot21,1);
   Obj_SetPosition(objShot21,GetX-0,GetY+60);
   ObjShot_SetDelay(objShot21,20);
   Obj_SetAngle(objShot21,90-an);
   ObjLaser_SetLength(objShot21,700);
   ObjLaser_SetWidth(objShot21,30);
   ObjShot_SetGraphic(objShot21,RED01);
   ObjLaser_SetSource(objShot21,false);

   let objShot4=Obj_Create(OBJ_LASER);
Obj_SetSpeed(objShot4,1);
   Obj_SetPosition(objShot4,GetX+30,GetY+30);
   ObjShot_SetDelay(objShot4,20);
   Obj_SetAngle(objShot4,45+an);
   ObjLaser_SetLength(objShot4,700);
   ObjLaser_SetWidth(objShot4,30);
   ObjShot_SetGraphic(objShot4,RED01);
   ObjLaser_SetSource(objShot4,false);

   let objShot12=Obj_Create(OBJ_LASER);
Obj_SetSpeed(objShot12,1);
   Obj_SetPosition(objShot12,GetX-30,GetY+30);
   ObjShot_SetDelay(objShot12,20);
   Obj_SetAngle(objShot12,135-an);
   ObjLaser_SetLength(objShot12,700);
   ObjLaser_SetWidth(objShot12,30);
   ObjShot_SetGraphic(objShot12,RED01);
   ObjLaser_SetSource(objShot12,false);

wait(30);
ObjShot_FadeDelete(objShot);
ObjShot_FadeDelete(objShot2);
ObjShot_FadeDelete(objShot3);
ObjShot_FadeDelete(objShot21);
ObjShot_FadeDelete(objShot4);
ObjShot_FadeDelete(objShot12);
an=an+15;
}
wait(30);
setGraphicATTR3;
shot23;
shot235;

}
task shot6{
    let ang4=0;
   let C=0;
   let C2=0;


loop(2){
   ang4=180;
loop(8){
    loop(3){  CreateShot02(GetClipMaxX, GetClipMinY+C2, 4, ang4,-0.2,4, RED04, 30);ang4=ang4-20;}
      loop(3){  CreateShot02(GetClipMinX, GetClipMaxY-C2, 4, ang4,-0.2,4, RED04, 30);ang4=ang4+20;}

C2=C2+58;wait(2);}
wait(10);
     ang4=0;
loop(8){
    loop(3){  CreateShot02(GetClipMaxX, GetClipMinY+C2, 4, ang4,-0.2,4, RED04, 30);ang4=ang4+20;}
      loop(3){  CreateShot02(GetClipMinX, GetClipMaxY-C2, 4, ang4,-0.2,4, RED04, 30);ang4=ang4-20;}

C2=C2-58;wait(2);}
wait(10);
}



}
task shot23{
let aa=1;
let a =0;
task b{let A=-60;loop(3){
CreateShot02(GetX+a, GetClipMaxY, 8, A,-0.2,4, ORANGE03, 40);
A=A-30;}}
task bb{let A=60;loop(3){
CreateShot02(GetX+a, GetClipMinY, 8, A,-0.2,4, ORANGE03, 40);
A=A+30;}}

loop(4){
 CreateLaserC(359,GetX+a,GetClipMinY-40,35,30,RED01,0);
SetLaserDataC(359,0,25,90,0,0,0);
aa=1;

FireShot(359);
wait(20);
b;
a=a+35;

 CreateLaserC(359,GetX+a,GetClipMaxY+40,35,30,RED01,0);
SetLaserDataC(359,0,25,270,0,0,0);
aa=1;

FireShot(359);
wait(20);
bb;
a=a+35;

}

}
task shot235{
let aa=1;
let a =0;
task b{let A=-60;loop(3){
CreateShot02(GetX+a, GetClipMaxY, 8, A,-0.2,4, ORANGE04, 40);
A=A-30;}}
task bb{let A=60;loop(3){
CreateShot02(GetX+a, GetClipMinY, 8, A,-0.2,4, ORANGE04, 40);
A=A+30;}}

loop(4){
 CreateLaserC(358,GetX+a,GetClipMinY-40,35,30,RED01,0);
SetLaserDataC(358,0,25,90,0,0,0);
aa=1;

FireShot(358);
wait(20);
b;
a=a-35;
 CreateLaserC(358,GetX+a,GetClipMaxY+40,35,30,RED01,0);
SetLaserDataC(358,0,25,270,0,0,0);
aa=1;

FireShot(358);
wait(20);
bb;
a=a-35;
}

}



    sub setGraphicStop  { SetGraphicRect(  0,   0,  64,  128); }
    sub setGraphicRight  {SetGraphicAngle(180,0,0); SetGraphicRect(  64*7,   128*1,  64*8,  128*2);yield; }
    sub setGraphicLeft { SetGraphicAngle(0,0,0); SetGraphicRect(  64*7,   128*1,  64*8,  128*2);yield; }

    sub setGraphicStop2  { SetGraphicAngle(0,0,0); SetGraphicRect(  64*4,   128*0,  64*5,  128*1); }
    sub setGraphicRight2  { SetGraphicAngle(0,0,0); SetGraphicRect(  64*5,   128*0,  64*6,  128*1); }
    sub setGraphicLeft2 { SetGraphicAngle(180,0,0); SetGraphicRect(  64*5,   128*0,  64*6,  128*1); }
    task setGraphicPoseR  {loop(60){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;} }
    task setGraphicPoseL  {loop(60){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;} }
    task setGraphicATR  {loop(60){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield; }}
   task setGraphicATL {loop(60){SetGraphicAngle(180,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;} }

task setGraphicATTR{
loop(3){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;}
loop(3){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*7,   128*0,  64*8,  128*1);yield;} 
loop(4){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*0,   128*1,  64*2,  128*2);yield;}
loop(2){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*2,   128*1,  64*4,  128*2);yield;}
loop(11){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*4,   128*1,  64*6,  128*2);yield;}
}

task setGraphicATTR3{
loop(3){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;}
loop(3){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*7,   128*0,  64*8,  128*1);yield;} 
loop(4){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*0,   128*1,  64*2,  128*2);yield;}
loop(2){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*2,   128*1,  64*4,  128*2);yield;}
loop(231){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*4,   128*1,  64*6,  128*2);yield;}
}

task setGraphicATTL{
loop(3){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;}
loop(3){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*7,   128*0,  64*8,  128*1);yield;} 
loop(4){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*0,   128*1,  64*2,  128*2);yield;}
loop(2){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*2,   128*1,  64*4,  128*2);yield;}
loop(11){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*4,   128*1,  64*6,  128*2);yield;}
}


task ATT2{loop(30){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;}
loop(3){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*7,   128*0,  64*8,  128*1);yield;} 
loop(4){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*0,   128*1,  64*2+1,  128*2);yield;}
loop(2){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*2,   128*1,  64*4+1,  128*2);yield;}
loop(21){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*4,   128*1,  64*6+1,  128*2);yield;}
loop(30){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;}
loop(3){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*7,   128*0,  64*8,  128*1);yield;} 
loop(4){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*0,   128*1,  64*2+1,  128*2);yield;}
loop(2){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*2,   128*1,  64*4+1,  128*2);yield;}
loop(21){ SetGraphicAngle(180,0,0); SetGraphicRect(  64*4,   128*1,  64*6+1,  128*2);yield;}
}
  task setGraphicPoseR2  {
loop(160){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;}
 }

task setGraphicATTR2{
loop(60){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*6,   128*0,  64*7,  128*1);yield;}
loop(3){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*7,   128*0,  64*8,  128*1);yield;} 
loop(4){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*0,   128*1,  64*2+1,  128*2);yield;}
loop(2){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*2,   128*1,  64*4+1,  128*2);yield;}
loop(81){ SetGraphicAngle(0,0,0); SetGraphicRect(  64*4,   128*1,  64*6+1,  128*2);yield;}
}

    task setGraphicMove {
     loop{yield;
        if(GetSpeedX < 0) {
            setGraphicLeft;
        } if(GetSpeedX > 0){
            setGraphicRight;
        } if(GetSpeed == 0){
          setGraphicStop;}
         }
    }

    task setGraphicMove2 {
     loop{yield;
        if(GetSpeedX < 0) {
            setGraphicLeft2;
        } if(GetSpeedX > 0){
            setGraphicRight2;
        } if(GetSpeed == 0){
          setGraphicStop2;}
         }
    }

}}
#include_script".\BOSS Σ2.txt"
#include_script".\BOSS Σ3.txt"
	script_enemy zako
	{
        let img = "script\某アゴ\マント.PNG";
        let frame = 0;

      LoadCommonData;
		@Initialize
		{ 
              SetLife(30);
             SetTimer(1);
              SetScore(0);
              LoadGraphic(img);
              SetTexture(img);  SetGraphicRect(0, 0, 64, 64);
             TMain;
		
		}
			
		@MainLoop
		{
    SetCollisionA(GetX, GetY, 24);
    SetCollisionB(GetX, GetY, 24);
   yield;


		}
		
		@DrawLoop
		{
		   DrawGraphic(GetX, GetY);
		}
			
		@Finalize
		{

		}
         task TMain{
              
          
               SetMovePositionHermite(GetX-200,GetY-200,200,180,2000,45,60);    
              loop{yield;}
             
                   }
         sub move{ let x =rand(64, 384);
                   let y =rand(240, 48);
    SetMovePositionHermite(GetClipMaxX,GetY+100,2000,180,200,45,180);
        loop(180){yield;}
    SetMovePositionHermite(GetClipMinX,GetY+100,200,90,-200,45,180);
        loop(180){yield;}
    SetMovePositionHermite(GetClipMaxX,GetY+100,200,90,200,45,180);
        loop(180){yield;}
    SetMovePositionHermite(GetClipMinX,GetY+100,200,90,-200,45,180);
        loop(180){yield;}
    SetMovePositionHermite(GetClipMaxX,GetY+100,200,90,200,45,180);
        loop(180){yield;}
        yield;
                  }
         task shot{     loop{

loop(10){
           CreateShot01(GetX, GetY, 3, 90, ORANGE12, 0);

        loop(20) { yield; }}
CreateShot02(GetX,GetY,2,GetAngleToPlayer,0.2,5,PURPLE03,20);
 }
                 }
        sub nige{ 

             VanishEnemy;
                }
	}
  
