Madmole (Flying Battery)

Madmole is a variant of the Badnik of the same name. It is associated with the Flying Battery, and has a color scheme consisting of yellow shoulders, a yellow torso, a gray helmet, and yellow glasses. These Madmoles appear in both Sonic the Hedgehog 3 & Knuckles and Sonic Mania.

Sonic the Hedgehog 3 & Knuckles
In Sonic the Hedgehog 3 & Knuckles, after completing Mushroom Hill Zone Act 2, a Madmole makes a one-time appearance on the Flying Battery as it flies overhead.

Sonic Mania / Sonic Mania Plus
In Sonic Mania and its expansion Sonic Mania Plus, Madmoles appear as enemies found in Flying Battery Zone Act 2, although they never directly fight the player. In gameplay, they reside on plaforms outside the ship. In these areas, they sit in individual pods, from where they periodically send electrical currents through a network of electrical conduits that are connected by orbs at their joints. When electricity courses through these otherwise-passable electrical conduits, they become damage-inducing barriers that are impossible for the player to pass.

The player can attack the platforms the Madmoles reside on with a Spin Jump. Doing so will cause the platforms and the Madmoles on them to fall off. This will also deactivate their respective electrical conduits for good.