![]() |
Routines |
| Prev: 49918 | Up: Map | Next: 49950 |
|
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 | 49929 | LD A,(47927) | Jump to Parser_ValidateDirectObject_Next if the end-of-list marker was not pressed. | |
| 49932 | CP 255 | |||
| 49934 | JR NZ,Parser_ValidateDirectObject_Next | |||
|
The command names no object.
|
||||
| 49936 | CALL Response_PleaseBeMoreSpecific | Call Response_PleaseBeMoreSpecific. | ||
| 49939 | SCF | Set the carry flag to reject the command. | ||
| 49940 | RET | Return. | ||
| Parser_ValidateDirectObject_Next | 49941 | CALL Parser_FindPhrase | Call Parser_FindPhrase to count the nouns, and return when one was named. | |
| 49944 | RET NZ | |||
|
The named object is not valid for this command.
|
||||
| 49945 | CALL Response_PleaseRephraseThat | Call Response_PleaseRephraseThat. | ||
| 49948 | SCF | Set the carry flag to reject the command. | ||
| 49949 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 49918 | Up: Map | Next: 49950 |