if (x_override == 0 && y_override == 0)
{
x = obj_pl.x
y = obj_pl.y
}
else
x = x_override
y = y_override