![]() |
Routines |
| Prev: 9E85 | Up: Map | Next: 9EA2 |
|
Prints the character-busy message when the flag is clear.
|
||||
|
Run by CA64 after the display record at 9E85, from the show-message command at E96B.
The operand of this instruction is the busy flag 9A42 sets.
|
||||
| TestBusyFlag | 9E87 | LD A,$00 | Return if the busy flag (the operand of TestBusyFlag, set by 9A42) is non-zero. | |
| 9E89 | AND A | |||
| 9E8A | RET NZ | |||
| 9E8B | LD HL,$6975 | Take the character busy message, then call PrintTextAndHandleControlCharacters to print the character busy message. | ||
| 9E8E | CALL PrintTextAndHandleControlCharacters | |||
| 9E91 | LD A,($A009) | Use the current character attribute at CurrentCharacterAttribute. | ||
| 9E94 | LD HL,$A00A | |||
| 9E97 | CP (HL) | |||
| 9E98 | LD HL,$69BF | Take the character busy message. | ||
| 9E9B | JR Z,PrintMessageAndInitialiseTimer | Go to PrintMessageAndInitialiseTimer if Sherlock's disguise matches the character attribute. | ||
| 9E9D | LD HL,$6A26 | Jump back to PrintMessageAndInitialiseTimer with the message at 6929+FD. | ||
| 9EA0 | JR PrintMessageAndInitialiseTimer | |||
| Prev: 9E85 | Up: Map | Next: 9EA2 |