if (sprite_index == spr_dirbullet) image_index = round(direction / 10);