Prev: 25708 Up: Map Next: 25752
25731: Display Best Time
Used by the routines at GameInitialisation and HandlerCup.
Shows the "BEST TIME TODAY" line and the best time.
Before After
display-best-time-before display-best-time-after
Writes the line "BEST TIME TODAY".
DisplayBestTime 25731 LD HL,36960 HL=36960 (pixel co-ordinates: H is the Y position and L is the X position).
25734 LD DE,25584 Point DE at the "BEST TIME TODAY" text (Message_BestTime).
25737 CALL MenuWriteText Print the line using MenuWriteText.
Set HL to where the time itself will display.
25740 LD HL,41088 HL=41088 (pixel co-ordinates: H is the Y position and L is the X position).
25743 CALL ScreenAddress Call ScreenAddress to convert this into a screen address.
Point to Best Time.
25746 LD DE,24064 Point DE at the best time (BestTime_1).
25749 JP PrintBestTime Jump to PrintBestTime.
Prev: 25708 Up: Map Next: 25752