![]() |
Routines |
| Prev: 26994 | Up: Map | Next: 27026 |
|
Used by the routines at ActionExamine, ActionTake, ActionDrop, ActionEnter, ActionGive, ActionCut, ActionKill, ActionRead, ActionOpen, ActionClose, ActionShoot, ActionWear, ActionDrink, ActionTurn, ActionTouch, ResponseYouCanT2, ResponseItHasNoApparentEffect and ActionUse.
Return with the carry flag set unless the command names one known object.
|
||||
| Parser_ValidateDirectObject | 27005 | LD A,(25234) | Fetch the second word of the command. | |
| 27008 | CP 255 | Jump to Parser_ValidateDirectObject_Step1 when the command has a second word. | ||
| 27010 | JR NZ,Parser_ValidateDirectObject_Step1 | |||
| 27012 | CALL ResponsePleaseBeMoreSpecific | Call ResponsePleaseBeMoreSpecific to say there is nothing there. | ||
| 27015 | SCF | Set the carry flag to reject the command. | ||
| 27016 | RET | Return. | ||
| Parser_ValidateDirectObject_Step1 | 27017 | CALL Parser_FindPhrase | Call Parser_FindPhrase to look for a noun. | |
| 27020 | RET NZ | Return when the command names a noun. | ||
| 27021 | CALL ResponsePleaseRephraseThat | Call ResponsePleaseRephraseThat to ask the player to rephrase the command. | ||
| 27024 | SCF | Set the carry flag to reject the command. | ||
| 27025 | RET | Return. | ||
| Prev: 26994 | Up: Map | Next: 27026 |