G-Max Replenish inflicts damage and has a 50% chance of restoring any Berries consumed by the user or its allies. This additional effect is not considered one for purposes of Serene Grace or Sheer Force.
Abilities which change a move's type will replace G-Max Replenish entirely. For example, Pixilate would turn G-Max Replenish into Max Starfall.
G-Max Replenish can recover Berries consumed by Fling; however, it cannot recover Berries transferred to another Pokémon, Berries destroyed by Incinerate or Knock Off, or Berries eaten with Bug Bite or Pluck. It also cannot restore a Berry if it was collected by a Pokémon with Pickup.