![]() |
Routines |
| Prev: C2FE | Up: Map | Next: C31E |
|
Used by the routines at Parser_ValidateInputTokens, Action_Examine, Action_Take, Action_Drop, Action_Climb, Action_Eat, Action_Drink, Action_Kiss, Action_Open, Action_Close, Action_Enter, Action_Wear, Action_Touch, Action_Swim, Action_Jump, Action_Kick, Action_Swearing, Action_Row, Action_Unlock and Action_Blow.
Set the carry flag unless the command names exactly one object.
|
||||
| Parser_ValidateDirectObject | C309 | LD A,($BB37) | Jump to Parser_ValidateDirectObject_Next if the end-of-list marker was not pressed. | |
| C30C | CP $FF | |||
| C30E | JR NZ,Parser_ValidateDirectObject_Next | |||
|
The command names no object.
|
||||
| C310 | CALL Response_PleaseBeMoreSpecific | Call Response_PleaseBeMoreSpecific. | ||
| C313 | SCF | Set the carry flag to reject the command. | ||
| C314 | RET | Return. | ||
| Parser_ValidateDirectObject_Next | C315 | CALL Parser_FindPhrase | Call Parser_FindPhrase to count the nouns, and return when one was named. | |
| C318 | RET NZ | |||
|
The named object is not valid for this command.
|
||||
| C319 | CALL Response_PleaseRephraseThat | Call Response_PleaseRephraseThat. | ||
| C31C | SCF | Set the carry flag to reject the command. | ||
| C31D | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: C2FE | Up: Map | Next: C31E |