Updated sprite animations

sprite animations now depend on the current state and the direction as
to what spritesheet is used