Super Mario RPG: Legend Of The Seven Stars.
In Super Mario RPG: Legend of the Seven Stars Fireworks are an item obtained from a Mole Man in Moleville for 500 Coins. They can be traded in for the Shiny Stone in the same town. If Mario purchases one, the fireworks display at the end of the game will be Mushroom-shaped. Purchasing three yields a Fire Flower, while five or more results in a Star.