function DrawSystem_Score
{
	let rect=[];
	let leng=16;
	let leng_h=48;
	let leng_v=16;
	let scale=1;
	
	let pos_x=minX+(leng_h/2)*scale;
	let pos_y=minY+leng_v/2+20;
	SetAlpha(255);
	SetGraphicScale(scale,scale);
	SetColor(255,255,255);
	
	local
	{
		
		rect=[0,48];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
		DrawGraphic(pos_x,pos_y);
	}
	
	let num=GetCommonDataDefault("Score",0);
	let lp=floor(log10(num))+1;
	let i=lp;
	pos_x=minX+(leng/2)*scale;
//	pos_y=minY+leng_v/2+5;
	
	loop(lp)
	{
		let rc=(num%(10^i)-num%(10^(i-1)))/(10^(i-1));
		rect=[256+rc*leng,0];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng,rect[1]+leng);
		DrawGraphic(pos_x+(lp-i)*(leng/1.4),pos_y+10);
		
		if((i)%4==1&&i>1)
		{
			SetGraphicRect(416,0,432,16);
			DrawGraphic(pos_x+(lp-i)*(leng/1.4),pos_y+10);
		}
		i--;
	}
	if(num==0)
	{
		rect=[256,0];
		SetGraphicRect(rect[0],rect[1],rect[0]+leng,rect[1]+leng);
		DrawGraphic(pos_x,pos_y+10);
	}
	
	
	
/*	if(IsReplay)
	{
		scale=0.8;
		leng_h=112;
		pos_x=minX+(leng_h/2)*scale;
		pos_y=maxY-32-leng_v/2;
		SetGraphicScale(scale,scale);
		local
		{
			rect=[0,144];
			SetGraphicRect(rect[0],rect[1],rect[0]+leng_h,rect[1]+leng_v);
			DrawGraphic(pos_x,pos_y);
		}
		
		pos_x=minX+(leng)*scale;
		num=replayscore;
		lp=floor(log10(num))+1;
		i=lp;
		loop(lp)
		{
			let rc=(num%(10^i)-num%(10^(i-1)))/(10^(i-1));
			
			rect=[352+rc*leng,80];
			SetGraphicRect(rect[0],rect[1],rect[0]+leng,rect[1]+leng);
			DrawGraphic(pos_x+(lp-i)*(leng/1.4),pos_y+14);
			i--;
		}
	}*/
}