image_angle += speed / 3; move_wrap(true, true, 200); if state == 1 { x += random_range(-3, 3); y += random_range(-3, 3); } if state < -1 speed = 0;