Prev: FADD Up: Map Next: FB5D
FB21: Action: Enter
Action_Enter FB21 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
FB24 RET C Return if there is no direct object in the user input (so the command is malformed).
FB25 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).
FB27 JP NC,Response_PleaseRephraseThat_Duplicate
FB2A LD HL,$FB39 HL=Table_ActionEnter_TokenGroup.
FB2D LD DE,$FB4B DE=Table_ActionsEnter.
FB30 LD BC,$0009 BC=0009.
FB33 CALL ActionRouting Call ActionRouting.
No phrase tokens matched the user input tokens.
Print "You can't.".
FB36 JP Response_YouCant_Duplicate Jump to Response_YouCant_Duplicate.
The token table for the action "enter":
Table_ActionEnter_TokenGroup FB39 DEFW PhraseTokens_Fissure Token group 01.
FB3B DEFW PhraseTokens_IntoPool Token group 02.
FB3D DEFW PhraseTokens_IntoLake Token group 03.
FB3F DEFW PhraseTokens_IntoWater Token group 04.
FB41 DEFW PhraseTokens_Hut Token group 05.
FB43 DEFW PhraseTokens_Cavern Token group 06.
FB45 DEFW PhraseTokens_Ring Token group 07.
FB47 DEFW PhraseTokens_Hill Token group 08.
FB49 DEFW PhraseTokens_Broch Token group 09.
The actions table for "enter":
Table_ActionsEnter FB4B DEFW Process_EnterFissure Action routine 01.
FB4D DEFW Process_EnterIntoPool Action routine 02.
FB4F DEFW Process_EnterIntoLake Action routine 03.
FB51 DEFW Process_EnterIntoWater Action routine 04.
FB53 DEFW Process_EnterHut Action routine 05.
FB55 DEFW Process_EnterCavern Action routine 06.
FB57 DEFW Process_EnterRing Action routine 07.
FB59 DEFW Process_Guard Action routine 08.
FB5B DEFW Process_EnterBroch Action routine 09.
Prev: FADD Up: Map Next: FB5D