![]() |
Routines |
| Prev: 40581 | Up: Map | Next: 40610 |
|
Prints the character-busy message when the flag is clear.
|
||||
|
Run by 51812 after the display record at 40581, from the show-message command at 59755.
The operand of this instruction is the busy flag 39490 sets.
|
||||
| TestBusyFlag | 40583 | LD A,0 | Return if the busy flag (the operand of TestBusyFlag, set by 39490) is non-zero. | |
| 40585 | AND A | |||
| 40586 | RET NZ | |||
| 40587 | LD HL,26997 | Take the character busy message, then call PrintTextAndHandleControlCharacters to print the character busy message. | ||
| 40590 | CALL PrintTextAndHandleControlCharacters | |||
| 40593 | LD A,(40969) | Use the current character attribute at CurrentCharacterAttribute. | ||
| 40596 | LD HL,40970 | |||
| 40599 | CP (HL) | |||
| 40600 | LD HL,27071 | Take the character busy message. | ||
| 40603 | JR Z,PrintMessageAndInitialiseTimer | Go to PrintMessageAndInitialiseTimer if Sherlock's disguise matches the character attribute. | ||
| 40605 | LD HL,27174 | Jump back to PrintMessageAndInitialiseTimer with the message at 26921+253. | ||
| 40608 | JR PrintMessageAndInitialiseTimer | |||
| Prev: 40581 | Up: Map | Next: 40610 |