Move individual movement methods/variables into their own scripts
Grappling, Dashing, Jumping?, etc.
Have main movement script that calls these others scripts based on input
Extra! : Can try and fit the code into some pattern. For example, maybe look into overriding the movement function, effectively high-jacking the velocity at the moment
Create base movement class
Extend from movement class for more specialized movement
PlayerStats (too much going on)
PlayerStats should be a backend concept - ie, only deals with numbers and the manipulation of numbers. It can call UI methods from another class. You could look into using the Observer/Listener pattern here
Splitup
Design Patterns
Changing in 5 different spots when doing revisions
Movement code
Extra! : Can try and fit the code into some pattern. For example, maybe look into overriding the movement function, effectively high-jacking the velocity at the moment
PlayerStats (too much going on)
Splitup
Design Patterns Changing in 5 different spots when doing revisions