function DrawSystem_ExtendGuage
{
	let rect=[];
	let leng_h=48;
	let leng_v=8;
	SetGraphicScale(1,1);
	SetColor(255,255,255);
	
	SetRenderState(ALPHA);
	if(GetPlayerY>maxY-60){SetAlpha(255+((maxY-60)-GetPlayerY)*4);}
	else{SetAlpha(255);}
	//extend
	let posx=minX+58+leng_h/2;
	let posy=maxY-18-leng_v/2;
	local
	{
		rect=[208,8];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx,posy);
	}
	let posy=maxY-leng_v/2;
	local
	{
		rect=[208,0];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx,posy);
	}
	
	
	let posx=minX+leng_h/2;
	let posy=maxY-18-leng_v/2;
	//player
	let guage_scale=(itempoint_getcount%extend_1up)/extend_1up;
	local
	{
		SetRenderState(ADD);
		SetAlpha(255);
		rect=[208,24];
		SetGraphicRect(rect[0]+(leng_h*(1-guage_scale)),rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx-(1-guage_scale)*(leng_h/2),posy);
	}
	
	if(GetPlayerY>maxY-60){SetAlpha(255+((maxY-60)-GetPlayerY)*4);}
	else{SetAlpha(255);}
	local
	{
		SetRenderState(ALPHA);
		rect=[208,16];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx,posy);
	}
	
	
	let posy=maxY-9-leng_v/2;
	//bomb
	let guage_scale=(itemmulti_getcount%extend_bomb)/extend_bomb;
	local
	{
		SetRenderState(ADD);
		SetAlpha(255);
		rect=[208,40];
		SetGraphicRect(rect[0]+(leng_h*(1-guage_scale)),rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx-(1-guage_scale)*(leng_h/2),posy);
	}
	
	if(GetPlayerY>maxY-60){SetAlpha(255+((maxY-60)-GetPlayerY)*4);}
	else{SetAlpha(255);}
	local
	{
		SetRenderState(ALPHA);
		rect=[208,32];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx,posy);
	}
	
	
	let posy=maxY-leng_v/2;
	//Graze
	let guage_scale=(GetGraze%graze_break)/graze_break;
	local
	{
		SetRenderState(ADD);
		SetAlpha(255);
		rect=[208,56];
		SetGraphicRect(rect[0]+(leng_h*(1-guage_scale)),rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx-(1-guage_scale)*(leng_h/2),posy);
	}
	
	if(GetPlayerY>maxY-60){SetAlpha(255+((maxY-60)-GetPlayerY)*4);}
	else{SetAlpha(255);}
	local
	{
	
		SetRenderState(ALPHA);
		rect=[208,48];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(posx,posy);
	}
	
}