![]() |
Routines |
Prev: FB21 | Up: Map | Next: FB89 |
|
||||
Action_Wear | FB5D | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
FB60 | RET C | Return if there is no direct object in the user input (so the command is malformed). | ||
FB61 | 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). | ||
FB63 | JP NC,Response_PleaseRephraseThat_Duplicate | |||
FB66 | LD HL,$FB75 | HL=Table_ActionWear_TokenGroup. | ||
FB69 | LD DE,$FB7F | DE=Table_ActionsWear. | ||
FB6C | LD BC,$0005 | BC=0005. | ||
FB6F | CALL $B0DE | Call B0DE. | ||
Print "Don't be ridiculous.".
|
||||
FB72 | JP Response_DontBeRidiculous | Jump to Response_DontBeRidiculous. | ||
The token table for the action "wear":
|
||||
Table_ActionWear_TokenGroup | FB75 | DEFW PhraseTokens_Torc | Token group 01. | |
FB77 | DEFW PhraseTokens_Helmet | Token group 02. | ||
FB79 | DEFW PhraseTokens_Amulet | Token group 03. | ||
FB7B | DEFW PhraseTokens_Shield | Token group 04. | ||
FB7D | DEFW PhraseTokens_Cloak | Token group 05. | ||
The actions table for "wear":
|
||||
Table_ActionsWear | FB7F | DEFW Process_WearTorc | Action routine 01. | |
FB81 | DEFW Process_WearHelmet | Action routine 02. | ||
FB83 | DEFW Process_WearAmulet | Action routine 03. | ||
FB85 | DEFW Process_WearShield | Action routine 04. | ||
FB87 | DEFW Process_WearCloak | Action routine 05. |
Prev: FB21 | Up: Map | Next: FB89 |