![]() |
Routines |
| Prev: 42677 | Up: Map | Next: 42730 |
|
Used by the routines at InitialiseGame and CheckSheriffLost.
Clears the screen and prints the number of the player who is about to play in large letters, and then waits a moment.
|
||||
| ShowPlayerNumber | 42697 | LD E,0 | Set the attribute to INK:BLACK, PAPER:BLACK. | |
| 42699 | CALL SetAttributes | Clear the attributes. | ||
| 42702 | CALL ClearScreen | Clear the pixels of the screen. | ||
| 42705 | LD A,(41535) | Fetch the number of the current player, zero or one. | ||
| 42708 | ADD A,49 | Convert it to a character. | ||
| 42710 | LD (47086),A | Write it into the "PLAYER" text. | ||
| 42713 | LD DE,47078 | Point DE at GameOverTexts_Player. | ||
|
Print the "PLAYER" text.
|
||||
| 42716 | LD HL,18536 | Point HL at 18536 (in the screen buffer). | ||
| 42719 | CALL PrintLargeText | Print it in large letters. | ||
| 42722 | LD B,3 | Set the number of delay loops to three. | ||
| 42724 | LD HL,0 | Set the length of each delay loop. | ||
| 42727 | JP WaitForAWhile | Wait for a while. | ||
| Prev: 42677 | Up: Map | Next: 42730 |