From the Super Mario Wiki
A Long-Last Shake is an item in Super Paper Mario that regenerates the player's Heart Points over time. The item is purchasable at Howzit's shop in Flipside for thirty coins, or the item can be purchased at Howzit's shop in Yold Town for 15 coins or from Flimm in the Flipside and Flopside Pit of 100 Trials. Using one begins a minigame where the player is prompted to tilt their Wii Remote in the directions shown. This makes it the only healing item in the game which requires an Action Command. The effect ranges from gradually recovering a minimum of 10 HP to a maximum of 20 HP, depending on how well the player matches the positions of the Wii Remote in the minigame. Since it does not cure poison, it is also unique in being the only healing item in the game to not have this functionality.
Long-Last Shakes can serve as a cheaper alternative to Super Shroom Shakes, provided the player can match directions with the Wii Remote properly.