	let Circ = "\script\Yui\Img\MagicCircle.png";
	let ECircle="\script\Yui\Img\enem.png";
	let NoBomb ="\script\Yui\Img\Barrier.png";
	LoadGraphic(ECircle);	
	LoadGraphic(Circ);
	LoadGraphic(NoBomb);

///////////////////////////////
//Function Index/////
//////////////////////////////


	let angleS = 0;
	let scalecount = 0;
	let scale = 1;
	let scale2 = 1;
	let scalecountB = 0;
	let scaleB = 1;
	let ang = 0;
	let scalecount3 = 0;
	let scalea1=2;
	let scalea2=2;
	let scaleb5=0.5;
	let scaleb6=0.5;
	let L=0;
	let lan=0;
	let en=0;

//////////////////////////
///BossBarrier///
//////////////////////////
function Barrier{

if(OnBomb==true){Barrer}else if(OnBomb==false){scalecount3=0;scalea1=2;scalea2=2;}

task Barrer{
	en+=16;
	scalecount3 ++;
	if(scalecount3==0){

	}
	if(scalecount3>=0 && scalecount3<=300){
	scalea1-=0.005;
	scalea2-=0.005;
	
		}
	else {
		scalecount3 = 0;
		}
	if(scalea1 <= 0.5 && scalea2 <= 0.5){scalea2=0.5;scalea1=0.5}
	SetTexture(NoBomb);
	SetGraphicRect(180, 1, 340, 159);
	SetRenderState(ADD);
	SetGraphicAngle(0, 0, en);
	SetGraphicScale(scalea1, scalea2);
	DrawGraphic(GetX, GetY);
	}
	
}
///////////////////////////////////////////////////////////
///Red Magic Circle (Usually Boss)///
//////////////////////////////////////////////////////////
function Circle{
	angleS+=6;
	scalecount ++;
	if(scalecount>=0 && scalecount<=60){
		scale+= 0.01;
		}
	if(scalecount>=61 && scalecount<=121){
		scale-=0.01;
		}
	if(scalecount==122){
		scalecount = 0;
		}
	SetTexture(Circ);
	SetGraphicRect(0, 0, 128, 128);
	SetAlpha(150);
	SetRenderState(ALPHA);
	SetGraphicAngle(0, 0, angleS);
	SetGraphicScale(scale, scale);
	DrawGraphic(GetX, GetY);

}
///////////////////////////////////////////////
///Red Smaller Magic Circle///
///////////////////////////////////////////////
function MiniCircle{
	angleS+=6;
	scalecount ++;
	if(scalecount>=0 && scalecount<=30){
		scale2+= 0.01;
		}
	if(scalecount>=31 && scalecount<=61){
		scale2-=0.01;
		}
	if(scalecount==62){
		scalecount = 0;
		}
	SetTexture(Circ);
	SetGraphicRect(0, 0, 128, 128);
	SetAlpha(70);
	SetGraphicAngle(0, 0, angleS);
	SetGraphicScale(scale2, scale2);
	DrawGraphic(GetX, GetY);

}