![]() |
Routines |
| Prev: A6B5 | Up: Map | Next: A6EA |
|
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 | A6C9 | LD E,$00 | Set the attribute to INK:BLACK, PAPER:BLACK. | |
| A6CB | CALL SetAttributes | Clear the attributes. | ||
| A6CE | CALL ClearScreen | Clear the pixels of the screen. | ||
| A6D1 | LD A,($A23F) | Fetch the number of the current player, zero or one. | ||
| A6D4 | ADD A,$31 | Convert it to a character. | ||
| A6D6 | LD ($B7EE),A | Write it into the "PLAYER" text. | ||
| A6D9 | LD DE,$B7E6 | Point DE at GameOverTexts_Player. | ||
|
Print the "PLAYER" text.
|
||||
| A6DC | LD HL,$4868 | Point HL at 4868 (in the screen buffer). | ||
| A6DF | CALL PrintLargeText | Print it in large letters. | ||
| A6E2 | LD B,$03 | Set the number of delay loops to three. | ||
| A6E4 | LD HL,$0000 | Set the length of each delay loop. | ||
| A6E7 | JP WaitForAWhile | Wait for a while. | ||
| Prev: A6B5 | Up: Map | Next: A6EA |