It's difficult to follow the code while dodging, I know. That's why I added the slowdown when there's no inputs, and a full pause when a new quest starts.