![]() |
Routines |
Prev: 44923 | Up: Map | Next: 44959 |
|
||||||||||||||
The first token is the verb, so target the second token for the direct object.
|
||||||||||||||
Parser_ValidateInputTokens | 44944 | LD A,(43045) | Fetch the second token from the user input and store it in A. | |||||||||||
44947 | CP 255 | Return if there is no second token. | ||||||||||||
44949 | RET Z | |||||||||||||
There is a second token; so validate all direct objects after this point.
|
||||||||||||||
44950 | CALL Parser_CountItems | Call Parser_CountItems. | ||||||||||||
44953 | RET NZ | Return if there is at least one valid item mentioned in the user input tokens. | ||||||||||||
Any references are invalid.
Print "Please rephrase that.".
|
||||||||||||||
44954 | CALL Response_PleaseRephraseThat | Call Response_PleaseRephraseThat. | ||||||||||||
44957 | SCF | Set the carry flag. | ||||||||||||
44958 | RET | Return. | ||||||||||||
View the equivalent code in The Jewels Of Babylon.
|
Prev: 44923 | Up: Map | Next: 44959 |