To save the animals, you must get close to them and do the RIGHT thing. Maybe that will click for you.
After dodging Black Yoshi's attacks, you must re-explore the map (a common theme) and in the bottom-right corner you'll find some help that will let you fight Black Yoshi off.
Once you fight off Black Yoshi using your newfound aid, talk to Sonic again.