![]() |
Routines |
Prev: 50299 | Up: Map | Next: 50335 |
|
||||||||||||||
The first token is the verb, so target the second token for the direct object.
|
||||||||||||||
Parser_ValidateInputTokens | 50320 | LD A,(48487) | Fetch the second token from the user input and store it in A. | |||||||||||
50323 | CP 255 | Return if there is no second token. | ||||||||||||
50325 | RET Z | |||||||||||||
There is a second token; so validate all direct objects after this point.
|
||||||||||||||
50326 | CALL Parser_CountItems | Call Parser_CountItems. | ||||||||||||
50329 | 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.".
|
||||||||||||||
50330 | CALL Response_PleaseRephraseThat | Call Response_PleaseRephraseThat. | ||||||||||||
50333 | SCF | Set the carry flag. | ||||||||||||
50334 | RET | Return. | ||||||||||||
View the equivalent code in Warlord.
|
Prev: 50299 | Up: Map | Next: 50335 |