Moldorm (The Legend of Zelda)

Moldorms, also known as Swamolas, are segmented enemies that first appear in The Legend of Zelda.

The Legend of Zelda
Moldorms are worms with many identical segments. They come out of the center of sandy rooms and start winding around. To defeat them, Link must hit the last segment, causing them to shrink one segment at a time.

The Legend of Zelda: A Link to the Past
Swamolas are green and leap out of the water of the Swamp of Evil in the dark world. They act similar to the Lanmola boss in the Desert Palace and are said to be related, but are much shorter.

The Legend of Zelda: A Link Between Worlds
Based off their A Link to the Past design and behavior, Swamolas appear in Misery Mire, itself essentially a renamed Swamp of Evil. Fiery versions called Flamolas appear in Turtle Rock.

Link: The Faces of Evil
Moldorms appear in Ganon's Lair, where they resemble their original artwork as large earthworms. They simply crawl back and forth, though their short size makes them difficult to hit with the sword.