Prev: 646C Up: Map Next: 6498
6483: 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 6483 LD HL,$9060 HL=9060 (pixel co-ordinates: H is the Y position and L is the X position).
6486 LD DE,$63F0 Point DE at the "BEST TIME TODAY" text (Message_BestTime).
6489 CALL MenuWriteText Print the line using MenuWriteText.
Set HL to where the time itself will display.
648C LD HL,$A080 HL=A080 (pixel co-ordinates: H is the Y position and L is the X position).
648F CALL ScreenAddress Call ScreenAddress to convert this into a screen address.
Point to Best Time.
6492 LD DE,$5E00 Point DE at the best time (BestTime_1).
6495 JP PrintBestTime Jump to PrintBestTime.
Prev: 646C Up: Map Next: 6498