![]() |
Routines |
Prev: FA91 | Up: Map | Next: FADD |
|
||||
Action_Jump | FAAD | CALL Parser_ValidateAnyDirectObject | Call Parser_ValidateAnyDirectObject. | |
FAB0 | RET C | Return if there is no direct object in the user input (so the command is malformed). | ||
FAB1 | CP $03 | Jump to Response_PleaseRephraseThat_Duplicate if there were more than 03 direct objects referenced in the user input (so the command is malformed). | ||
FAB3 | JP NC,Response_PleaseRephraseThat_Duplicate | |||
FAB6 | LD HL,$FAC5 | HL=Table_ActionJump_TokenGroup. | ||
FAB9 | LD DE,$FAD1 | DE=Table_ActionsJump. | ||
FABC | LD BC,$0006 | BC=0006. | ||
FABF | CALL ActionRouting | Call ActionRouting. | ||
No phrase tokens matched the user input tokens.
Print "You can't.".
|
||||
FAC2 | JP Response_YouCant_Duplicate | Jump to Response_YouCant_Duplicate. | ||
The token table for the action "jump":
|
||||
Table_ActionJump_TokenGroup | FAC5 | DEFW PhraseTokens_IntoPool | Token group 01. | |
FAC7 | DEFW PhraseTokens_IntoLake | Token group 02. | ||
FAC9 | DEFW PhraseTokens_IntoWater | Token group 03. | ||
FACB | DEFW PhraseTokens_OntoStraw | Token group 04. | ||
FACD | DEFW PhraseTokens_IntoRing | Token group 05. | ||
FACF | DEFW PhraseTokens_Down | Token group 06. | ||
The actions table for "jump":
|
||||
Table_ActionsJump | FAD1 | DEFW Process_EnterIntoPool | Action routine 01. | |
FAD3 | DEFW Process_EnterIntoLake | Action routine 02. | ||
FAD5 | DEFW Process_EnterIntoWater | Action routine 03. | ||
FAD7 | DEFW Process_JumpOntoStraw | Action routine 04. | ||
FAD9 | DEFW Process_JumpIntoRing | Action routine 05. | ||
FADB | DEFW Process_JumpDown | Action routine 06. |
Prev: FA91 | Up: Map | Next: FADD |