![]() |
Routines |
Prev: FA6A | Up: Map | Next: FAAD |
|
||||
ParseVerb_Drink | FA91 | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
FA94 | RET C | Return if there is no direct object in the user input (so the command is malformed). | ||
Print "Please rephrase that.".
|
||||
FA95 | CP $02 | Jump to Response_PleaseRephraseThat_Duplicate if there were more than 02 direct objects referenced in the user input (so the command is malformed). | ||
FA97 | JP NC,Response_PleaseRephraseThat_Duplicate | |||
FA9A | LD HL,$FAA9 | HL=Table_Actions_TokenGroup. | ||
FA9D | LD DE,$FAAB | DE=Table_Actions_Drink. | ||
FAA0 | LD BC,$0001 | BC=0001. | ||
FAA3 | CALL $B0DE | Call B0DE. | ||
Print "You can't.".
|
||||
FAA6 | JP $EDED | Jump to EDED. | ||
Table_Actions_TokenGroup | FAA9 | DEFW PhraseTokens_Water | ||
Table_Actions_Drink | FAAB | DEFW Action_Drink |
Prev: FA6A | Up: Map | Next: FAAD |