The spherical ghost is called a boo. When you look at it, it tries to cover itself, but when you look away, it slowly follows you around. I also added code that makes the boo go completely wack if you stand in a specific spot. It can't hurt you (yet) .
Thanks to spriters-resource.com for providing the Mario sprite. Thanks to someone on Pinterest for the boo (I painted the boo though, the image was used as reference) Mario does not yet have a walking animation, he kinda just slides on the ground. The apple is a hitbox tester. Touch it and it will think "Hmm..."