if (sprite_index == spr_guardener_guy_gun_gun_cock) { image_index = image_number - 1 image_speed = 0 } else { sprite_index = spr_guardener_guy_gun_gun_cock image_index = image_number - 1 image_speed = 0 }