.ResetBestLapTime LDA #0 \ Zero the bestLapTenths entry for driver X STA bestLapTenths,X STA bestLapSeconds,X \ Zero the bestLapSeconds entry for driver X LDA #&10 \ Set the bestLapMinutes for driver X to 10 (as is it a STA bestLapMinutes,X \ BCD number) RTS \ Return from the subroutine EQUB &77 \ This byte appears to be unusedName: ResetBestLapTime [Show more] Type: Subroutine Category: Drivers Summary: Reset the best lap time to 10:00.0 for a specific driverContext: See this subroutine in context in the source code References: This subroutine is called as follows: * MainLoop (Part 3 of 6) calls ResetBestLapTime * ResetBestLapTimes calls ResetBestLapTime
Arguments: X The driver number (0 to 19)
[X]
Variable bestLapMinutes in workspace Main variable workspace
Minutes of each driver's best lap time, stored in BCD
[X]
Variable bestLapSeconds in workspace Main variable workspace
Seconds of each driver's best lap time, stored in BCD
[X]
Variable bestLapTenths in workspace Main variable workspace
Tenths of seconds of each driver's best lap time, stored in BCD