.ApplyVergeJump LDA playerSpeedHi \ Set A = playerSpeedHi \ Fall through into ApplyBounce to calculate the \ variables and make the crash/contact soundName: ApplyVergeJump [Show more] Type: Subroutine Category: Driving model Summary: Apply a jump to the player's car when hitting the track vergeContext: See this subroutine in context in the source code References: This subroutine is called as follows: * ApplyGrassOrTrack calls ApplyVergeJump
Calculate the following: yGravityDelta = playerSpeedHi / 2 yJumpHeight = playerSpeedHi / 4 heightAboveTrack = heightAboveTrack + 1 spinYawAngleHi = spinYawAngleHi >> 1 with bit 7 set and make the crash/contact sound.
[X]
Variable playerSpeedHi in workspace Zero page
High byte of the speed of the player's car along the track