Prev: 47257 Up: Map Next: 47312
47273: Game Completed
Used by the routine at GameOver.
Shows the message that the station has arrived, and plays the tune for the game being completed. It then carries on with the game over screen (see 46955).
Game completed message
game-completed
Show the game completed message.
GameCompleted 47273 CALL ClearScreenBuffer Call ClearScreenBuffer.
47276 CALL ClearScreen Call ClearScreen.
47279 LD DE,47312 Point DE at GameCompletedColours.
47282 EXX Switch to the shadow registers.
47283 LD HL,47319 Point HL at GameCompletedCoordinates.
47286 LD DE,47333 Point DE at GameCompletedText.
47289 LD B,7 Set the number of lines to 7.
47291 XOR A Write 0 to *BorderDrawnFlag.
47292 LD (23320),A
47295 CALL DisplayTextList Call DisplayTextList.
Play the tune and wait for a key.
47298 LD DE,46135 Point DE at GameCompleteTune.
47301 CALL PlayMusic Call PlayMusic.
47304 LD B,8 Set the length of the wait to 8.
47306 CALL WaitForKeyPress Call WaitForKeyPress.
47309 JP GameOver_ShowStatistics Jump to GameOver_ShowStatistics.
View the equivalent code in;
Prev: 47257 Up: Map Next: 47312