function DrawSystem_PlayerState
{
	let rect=[];
	let leng=16;
	let leng_h=64;
	let leng_v=16;
	let scale=0.7;
	
	SetAlpha(255);
	
	SetColor(255,255,255);
	
	//Player
	let pos_x=minX+6+(leng_h/2)*scale;
	let pos_y=minY+40+leng_v/2;
	local
	{
		rect=[64,32];
		SetGraphicScale(scale,scale);
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(pos_x,pos_y);
	}
	
	let num=GetPlayerLife-1;
	let pos_x=minX+(leng_h*scale)+leng/2;
	
	loop(num)
	{
		rect=[128,32];
		SetGraphicScale(scale,scale);
		SetGraphicRect(rect[0],rect[1],rect[0]+leng,rect[1]+leng);
		DrawGraphic(pos_x,pos_y);
		pos_x+=leng*0.8;
	}
	
	
	//Bomb
	let pos_x=minX+6+(leng_h/2)*scale;
	let pos_y=minY+56+leng_v/2;
	local
	{
		rect=[64,48];
		SetGraphicScale(scale,scale);
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(pos_x,pos_y);
	}
	
	let num=GetPlayerBomb;
	let pos_x=minX+(leng_h*scale)+leng/2;
	
	loop(num)
	{
		rect=[128,48];
		SetGraphicScale(scale,scale);
		SetGraphicRect(rect[0],rect[1],rect[0]+leng,rect[1]+leng);
		DrawGraphic(pos_x,pos_y);
		pos_x+=leng*0.8;
	}
}