Bardziej sensownie i optymalnie tak:
GML
_pd = point_distance(koles.x,koles.y,podloga.x,podloga.y)
if (_pd <= 1 and _pd > 0)
{
image_index=1;
image_speed=0;
else
if (_pd <= 2 and _pd > 1)
{
image_index=2;
image_speed=0;
else
if (_pd <= 3 and _pd > 2)
{
image_index=2;
image_speed=0;
}