Moving the player and npc sprites styling around to make way for a more optimized collision detection.
Caching instances of position() and simplifying the collision detection a bit.