Gene Gadget Zone Badnik 1
From Sonic Retro
This yellow/purple robotic octopus occupies a fixed position on the floor of Robotnik's lab. It functions essentially as a estructible gun turret, shuffling itself around to follow Sonic's movement and bombard him with blue projectiles. Attack with a spin jump or spin roll, and smash it to recover its organic battery power source, a Flicky, and make Flickies' Island a slightly less dangerous place.