Prev: FB5D Up: Map Next: FBB9
FB89: Action: Go
Action_Go FB89 CALL Parser_ValidateAnyDirectObject Call Parser_ValidateAnyDirectObject.
FB8C RET C Return if there is no direct object in the user input (so the command is malformed).
FB8D CP $01 Jump to Response_PleaseRephraseThat_Duplicate if there was more than 01 direct object referenced in the user input (so the command is malformed).
FB8F JP NC,Response_PleaseRephraseThat_Duplicate
FB92 LD HL,$FBA1 HL=Table_ActionGo_TokenGroup.
FB95 LD DE,$FBAD DE=Table_ActionsGo.
FB98 LD BC,$0006 BC=0006.
FB9B CALL ActionRouting Call ActionRouting.
No phrase tokens matched the user input tokens.
Print "You can't.".
FB9E JP Response_YouCant_Duplicate Jump to Response_YouCant_Duplicate.
The token table for the action "go":
Table_ActionGo_TokenGroup FBA1 DEFW PhraseTokens_North Token group 01.
FBA3 DEFW PhraseTokens_South Token group 02.
FBA5 DEFW PhraseTokens_East Token group 03.
FBA7 DEFW PhraseTokens_West Token group 04.
FBA9 DEFW PhraseTokens_Up Token group 05.
FBAB DEFW PhraseTokens_Down Token group 06.
The actions table for "go":
Table_ActionsGo FBAD DEFW RemoveUserInput_Token_1 Action routine 01.
FBAF DEFW RemoveUserInput_Token_1 Action routine 02.
FBB1 DEFW RemoveUserInput_Token_1 Action routine 03.
FBB3 DEFW RemoveUserInput_Token_1 Action routine 04.
FBB5 DEFW RemoveUserInput_Token_1 Action routine 05.
FBB7 DEFW RemoveUserInput_Token_1 Action routine 06.
Prev: FB5D Up: Map Next: FBB9