See Poochy Run!
From the Super Mario Wiki
Yoshi starts the level in a castle-like area along with Poochy, who he has to stand on to avoid spikes and other hazards. Sometimes, Yoshi needs to hop off of Poochy because of Thorns, and then hop back on him once the thorns are gone. Yoshi eventually makes it to the goal roulette.