    let imgWhite=GPSD~"img\white.png";
    let imgAlice=GPSD~"img\alice.png";

function DrawDoll(x,y,frame,fade){
	SetTexture(imgAlice);
	SetGraphicRect(460,trunc(frame/4%4)*64,510,64+trunc(frame/4%4)*64);
	SetAlpha(fade*255);
	SetGraphicAngle(0,0,0);
	SetColor(255,255,255);
	SetGraphicScale(0.5,0.5);
	DrawGraphic(x,y);
}
function DamageAlice(num){
	SetCommonData("Alicedamage",GetCommonDataDefault("Alicedamage",0)-num);
}
sub DollFinalize{
	SetCommonData("ExplosionX",GetX);
	SetCommonData("ExplosionY",GetY);
}