From the Super Mario Wiki
Bopping Toadies are frog-like enemies residing in the Tree Zone of Super Mario Land 2: 6 Golden Coins. Their attack pattern is very easy to predict and dodge. They lash their tongues out, jump up a short distance, then lash out their tongues again. However, they stop moments before unleashing their attack. They can be defeated with a standard jump or fireball.
Super Mario Land 2: 6 Golden Coins
Names in other languages