if (border_d == 1)
{
cx = 310;
cx2 = 330;
cy = 290;
cy2 = 310;
obj_heart.visible = true;
obj_heart.x = cx + 2;
obj_heart.y = cy + 2;
}