
	#Title[zako1]
	#Text[zako]
	#ScriptVersion[2]
	
	script_enemy_main
	{
        let img = "script\ザコ\カメレオンセレクト.PNG";
        let frame = 0;
       let myu=50;
       let ST=51;
       let FA=52;
       let IC=53;
       let BM=54;
       let EL=55;
       let CM=56;
       let OC=57;
       let AM=58;
       let gokusi=49;
       let crea=0;
       let TEST=0;
      LoadCommonData;
		@Initialize
		{ 
              SetLife(3000);
   SetDamageRate(0, 0);
              SetScore(50);
              LoadGraphic(img);
              SetTexture(img); SetGraphicRect(0, 0, 90, 90);
SetGraphicScale(0.8,0.8);
LoadGraphic("img\ExRumiaBack.png");
             TMain;
		
		}
			
		@MainLoop
		{
    SetCollisionA(GetX, GetY, 24);
    SetCollisionB(GetX, GetY+1111111111, 0);
   yield;

		}
		
		@DrawLoop
		{
		   DrawGraphic(GetX, GetY);
		}
			
		@Finalize
		{
  
		}
         task TMain{
  loop(30){yield;}
   SetDamageRate(100, 100);
          loop{

if(GetLife<3000){ SetCommonDataEx("gokusi",1,1);CreateEventFromScript("Test");SetLife(3000);loop(30){yield;}VanishEnemy;}
if( GetCommonDataEx("gokusi",1)>0){VanishEnemy;}
if( GetCommonDataEx("gokusi",CM)>0){VanishEnemy;}
yield;
}

                   }



	}
  #include_script".\すてーじせんたく.txt"