Prev: 38427 Up: Map Next: 38575
38465: Show Game Statistics
Used by the routines at GameOver and GameComplete.
GameStats 38465 CALL CalcRoomsVisited Call CalcRoomsVisited.
Handle printing the time.
38468 LD HL,16448 HL=16448 (screen buffer location).
38471 LD DE,38527 DE=StringTime.
38474 CALL PrintStringColour Call PrintStringColour.
Handle printing the score.
38477 LD HL,20544 HL=20544 (screen buffer location).
38480 LD DE,38543 DE=StringScore.
38483 CALL PrintStringColour Call PrintStringColour.
Handle printing the money total.
38486 LD HL,24640 HL=24640 (screen buffer location).
38489 LD DE,38559 DE=StringMoney.
38492 CALL PrintStringColour Call PrintStringColour.
Handle printing the clock.
38495 LD HL,49100 Write main font "0" to FontPointer.
38498 LD (24065),HL
38501 LD HL,16512 HL=16512 (screen buffer location).
38504 CALL PrintClock Call PrintClock.
Handle printing the "visited percentage".
38507 LD HL,20608 HL=20608 (screen buffer location).
38510 CALL PrintScore_0 Call PrintScore_0.
38513 LD HL,24704 HL=24704 (screen buffer location).
38516 CALL ScreenAddress Call ScreenAddress.
38519 LD DE,24148 DE=VisitedPercentage.
38522 LD B,1 B=1.
38524 JP PrintScore_Loop Jump to PrintScore_Loop.
StringTime 38527 DEFM 69 Attribute: 69 + "TIME".
38528 DEFM "TIME # "," "+128
StringScore 38543 DEFM 69 Attribute: 69 + "SCORE".
38544 DEFM "SCORE "," "+128
StringMoney 38559 DEFM 69 Attribute: 69 + "".
38560 DEFM "$ "," "+128
Prev: 38427 Up: Map Next: 38575