From the Super Mario Wiki, the Mario encyclopedia
The whale can be found in the Toad Town docks after Mario rescues the Star Spirit Muskular from Shy Guy's Toy Box. When Mario arrives in the area, the whale is partially submerged underwater, and Mario must either Ground Pound the whale's back or hit it with a hammer three times to rouse it. Upon surfacing, the whale starts complaining about a bellyache, and asks Mario to go into its belly to find the cause; this is the only time the whale's interior (consisting of two areas) is accessible. Upon doing so, Mario finds a Fuzzipede jumping around and engages it in combat.
After Mario defeats the Fuzzipede, the whale feels better and ejects them via its blowhole. In return for the assistance, the whale transports Mario back and forth from Toad Town to Lavalava Island when needed. At the end of the game, the whale was also responsible for bringing the Yoshi chieftain alongside another Yoshi to Toad Town from Lavalava Island after the chieftain befriended him.
The whale makes an appearance in the parade during the credits. It appears floating on a small body of water, with Kolorado and his wife standing on its back. After a couple of seconds, the whale shoots water out of its blowhole, upon which Kolorado and his wife, standing on the stream, begin waving at the camera.
The whale also makes a cameo in the Paper Mario stage in Super Smash Bros. for Nintendo 3DS and Super Smash Bros. Ultimate. On the S.S. Flavion portion of the stage, the whale may appear underneath the ship, holding it up in the air by blowing water out of its blowhole.
Names in other languages