This is the Koopatrol from Paper Mario. It walks around for a bit, and then starts idling, while randomly changing directions. If you come up close to it, it does either one of two things; It will go in its shell, and attempt to run into you, or it will charge at you.

GFX ripped by leod, andy_k_250 made the GFX smaller.