Super Mario Bros. (WarioWare: Twisted!)
From the Super Mario Wiki
The player must get Mario to the end-of-level castle while avoiding Goombas and Koopa Troopas. Hitting a ? Block releases a Super Mushroom, which turns Small Mario into Super Mario. As with the original game, the Flagpole awards more points (up to 5,000) the higher Mario grabs it. Also, clearing the stage with 1, 3, or 6 at the end of the timer results in the bonus fireworks.