From the Super Mario Wiki
Sheep Attack is an attack item from the game Super Mario RPG: Legend of the Seven Stars. It is obtained by using Lamb's Lure forty-eight times. When used, a group of sheep come down from the top of the screen, then fly around the screen, turning all enemies into sheep that fly off the top of the screen. Sheep Attack does not work on bosses and other large enemies.