Smooth movement code for RPG's | ScratchStats