.SquealTyres STA spinYawAngleTop \ Set spinYawAngleTop = A LDA #%10000000 \ Set bit 7 in tyreSqueal for both tyres, so they squeal STA tyreSqueal STA tyreSqueal+1 LDA #4 \ Make sound #4 (crash/contact) at the current volume JSR MakeSound-3 \ level RTS \ Return from the subroutineName: SquealTyres [Show more] Type: Subroutine Category: Driving model Summary: Make the tyres squealContext: See this subroutine in context in the source code References: This subroutine is called as follows: * CheckForCrash calls SquealTyres
Arguments: A The new value for spinYawAngleTop
[X]
Entry point MakeSound-3 in subroutine MakeSound (category: Sound)
Make the sound at the current volume level
[X]
Variable spinYawAngleTop (category: Car geometry)
Top byte of the amount of yaw angle spin that is being applied to the player's car
[X]
Variable tyreSqueal (category: Driving model)
A flag to determine whether the front or rear tyres are squealing