![]() |
Routines |
| Prev: CB7B | Up: Map | Next: CBC2 |
|
Used by the routines at ReadScheduleEntryFromCurrentCharacter, DescribeObjectIfPresent and CheckCharacterForRoomGraphics.
Returns when bit 6 of B934 is clear. Otherwise clears the print mode, prints the introduction at 6813+07 and jumps to ParseInputNumber_ReturnZero.
|
||||
| CheckFlagAndJumpToNewline | CBA7 | LD A,($B934) | Read the display flag at B934. | |
| CBAA | BIT 6,A | See whether bit 6 of it is set. | ||
| CBAC | RET Z | Return if that marker is clear. | ||
| CBAD | POP HL | Start from zero, store it in the print mode and take the introduction message. | ||
| CBAE | XOR A | |||
| CBAF | LD ($A027),A | |||
| CBB2 | LD HL,$681A | |||
| CBB5 | CALL PrintTextAndHandleControlCharacters | Print the message, then return zero through ParseInputNumber_ReturnZero. | ||
| CBB8 | JP ParseInputNumber_ReturnZero | |||
| CBBB | LD HL,$68D1 | Take the cannot see message, then call PrintTextAndHandleControlCharacters to print the cannot see message. | ||
| CBBE | CALL PrintTextAndHandleControlCharacters | |||
| CBC1 | RET | Return. | ||
| Prev: CB7B | Up: Map | Next: CBC2 |