From the Super Mario Wiki
Retrieved from "https://www.mariowiki.com/index.php?title=Space_Troopa&oldid=2591578"
At the start of the episode, Mario, while maneuvering his spaceship through a swarm of flaming meteors, mentions that he is being chased by King Koopa's Space Troopa minions; Mario evidently escaped these Space Troopas. They later appear as Moon Man Koopa's aides in the Quirk Factory.
A similar enemy appears on the Moon in the NES version of Mario's Time Machine, but are normal Koopa Troopas wearing a helmet. When knocked into their shells, the helmet covers the top of the shell instead.