How do you make the sonic slope physics/360 Movement

Reverse engineering of Sonic X-Treme Sega Saturn rom? I started to think about revival of cancelled Sonic game named Sonic Twist(that game would compete and be more equivalent to Super Mario 64(every copy is personalised which I guess it means the game was rushed up and not even finished according to that new creepypasta of Super Mario 64) in the mid and late 90’s even).