![]() |
Routines |
Prev: 64106 | Up: Map | Next: 64173 |
|
||||
Action_Drink | 64145 | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
64148 | RET C | Return if there is no direct object in the user input (so the command is malformed). | ||
Print "Please rephrase that.".
|
||||
64149 | CP 2 | Jump to Response_PleaseRephraseThat_Duplicate if there were more than 2 direct objects referenced in the user input (so the command is malformed). | ||
64151 | JP NC,Response_PleaseRephraseThat_Duplicate | |||
64154 | LD HL,64169 | HL=Table_ActionDrink_TokenGroup. | ||
64157 | LD DE,64171 | DE=Table_ActionsDrink. | ||
64160 | LD BC,1 | BC=0001. | ||
64163 | CALL 45278 | Call 45278. | ||
Print "You can't.".
|
||||
64166 | JP Response_YouCant_Duplicate | Jump to Response_YouCant_Duplicate. | ||
The token table for the action "drink":
|
||||
Table_ActionDrink_TokenGroup | 64169 | DEFW PhraseTokens_Water | Token group 1. | |
The actions table for "drink":
|
||||
Table_ActionsDrink | 64171 | DEFW Process_Drink | Action routine 1. |
Prev: 64106 | Up: Map | Next: 64173 |