All the spirits that fight can be triggered by just talking as well.
There is a graveyard by where you get the Dream Nail that was supposed to warn you about doing what you just did.
"One toot on this whistle will take you to a far away land."
-Toad, SMB3