g = 10 + random(6); hspeed = ((view_xview[0] + (idealspot * 20) + 10) - x) / g; alarm[2] = g;