![]() |
Routines |
| Prev: 52091 | Up: Map | Next: 52162 |
|
Used by the routines at ReadScheduleEntryFromCurrentCharacter, DescribeObjectIfPresent and CheckCharacterForRoomGraphics.
Returns when bit 6 of 47412 is clear. Otherwise clears the print mode, prints the introduction at 26643+7 and jumps to ParseInputNumber_ReturnZero.
|
||||
| CheckFlagAndJumpToNewline | 52135 | LD A,(47412) | Read the display flag at 47412. | |
| 52138 | BIT 6,A | See whether bit 6 of it is set. | ||
| 52140 | RET Z | Return if that marker is clear. | ||
| 52141 | POP HL | Start from zero, store it in the print mode and take the introduction message. | ||
| 52142 | XOR A | |||
| 52143 | LD (40999),A | |||
| 52146 | LD HL,26650 | |||
| 52149 | CALL PrintTextAndHandleControlCharacters | Print the message, then return zero through ParseInputNumber_ReturnZero. | ||
| 52152 | JP ParseInputNumber_ReturnZero | |||
| 52155 | LD HL,26833 | Take the cannot see message, then call PrintTextAndHandleControlCharacters to print the cannot see message. | ||
| 52158 | CALL PrintTextAndHandleControlCharacters | |||
| 52161 | RET | Return. | ||
| Prev: 52091 | Up: Map | Next: 52162 |