From the Super Mario Wiki
Retrieved from "https://www.mariowiki.com/index.php?title=Flag_Waver&oldid=2694996"
Wario is on a pirate ship plank holding two flags: a red one and a white one. Above him, there is a bubble ordering Wario to lift one of the flags. The player must poke the correct flag to win. If Wario does not raise the correct flag in a certain amount of time or raises the wrong flag, the fish will get Wario, and the player loses.
In WarioWare Gold, there is a boy on a beach with the flags and the bubble ordering him to lift one of the flags. After a while, a pelican peeks in from the right, waits for a few seconds, and counts down from 3 to 1. The player must lift or lower the flags as ordered before the pelican finishes counting down. If they fail to do this, a beach ball knocks the boy away, and the player loses.
Names in other languages