![]()  | 
Routines | 
| Prev: FBF5 | Up: Map | Next: FC2F | 
| 
 | 
||||
| Action_Buy | FC10 | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
| FC13 | RET C | Return if there is no direct object in the user input (so the command is malformed). | ||
| FC14 | LD HL,$FC23 | HL=Table_ActionBuy_TokenGroup. | ||
| FC17 | LD DE,$FC29 | DE=Table_ActionBuy. | ||
| FC1A | LD BC,$0003 | BC=0004. | ||
| FC1D | CALL ActionRouting | Call ActionRouting. | ||
| 
 
No phrase tokens matched the user input tokens.
 
Print "You can't.".
 
 | 
||||
| FC20 | JP Response_YouCant_Duplicate | Jump to Response_YouCant_Duplicate. | ||
| 
 
The token table for the action "buy"/"purchase":
 
 | 
||||
| Table_ActionBuy_TokenGroup | FC23 | DEFW PhraseTokens__MeatFromTrader | Token group 01. | |
| FC25 | DEFW PhraseTokens_MeatWithSalt | Token group 02. | ||
| FC27 | DEFW PhraseTokens_MeatWithIron | Token group 03. | ||
| 
 
The actions table for "buy"/"purchase":
 
 | 
||||
| Table_ActionBuy | FC29 | DEFW Process_BuyMeatFromTrader | Action routine 01. | |
| FC2B | DEFW Process_BuyMeatFromTraderWithSalt | Action routine 02. | ||
| FC2D | DEFW Process_BuyMeatFromTraderWithIron | Action routine 03. | ||
| Prev: FBF5 | Up: Map | Next: FC2F |