To obtain the mushroom in Viva Piñata, head over to Bart's Exchange and trade a Toadstool for it. It's a straightforward swap once you have the Toadstool in hand.