![]() |
Routines |
| Prev: 56487 | Up: Map | Next: 56575 |
|
Used by the routine at ParseInputNumber.
Fails the script unless the character's script position and location allow the object description. A non-zero return means the script step succeeded.
|
||||
| ReadScheduleEntryFromCurrentCharacter | 56541 | CALL CheckFlagAndJumpToNewline | Call CheckFlagAndJumpToNewline to check the flag and start a new line. | |
| 56544 | LD IY,(40983) | Read the current character record. | ||
| 56548 | LD A,(IY+1) | Jump to ParseInputNumber_ReturnZero unless IY+1 is 255. | ||
| 56551 | CP 255 | |||
| 56553 | JP NZ,ParseInputNumber_ReturnZero | |||
| 56556 | LD A,(IX+2) | Return zero through ParseInputNumber_ReturnZero if the location is zero. | ||
| 56559 | AND A | |||
| 56560 | JP Z,ParseInputNumber_ReturnZero | |||
| 56563 | LD A,(IX+1) | Load the byte at IX+1 and call DescribeObjectIfPresent. | ||
| 56566 | CALL DescribeObjectIfPresent | |||
| 56569 | JP NZ,ParseInputNumber_ReturnZero | Return zero through ParseInputNumber_ReturnZero if DescribeObjectIfPresent returns non-zero. | ||
| 56572 | OR %00000001 | Reset the zero flag. | ||
| 56574 | RET | Return. | ||
| Prev: 56487 | Up: Map | Next: 56575 |