Prev: FAAD Up: Map Next: FB21
FADD: Action: Climb
Action_Climb FADD CALL Parser_ValidateAnyDirectObject Call Parser_ValidateAnyDirectObject.
FAE0 RET C Return if there is no direct object in the user input (so the command is malformed).
FAE1 CP $03 Jump to Response_PleaseRephraseThat_Duplicate if there was more than 03 direct objects referenced in the user input (so the command is malformed).
FAE3 JP NC,Response_PleaseRephraseThat_Duplicate
FAE6 LD HL,$FAF5 HL=Table_ActionClimb_TokenGroup.
FAE9 LD DE,$FB0B DE=Table_ActionsClimb.
FAEC LD BC,$000B BC=000B.
FAEF CALL ActionRouting Call ActionRouting.
No phrase tokens matched the user input tokens.
Print "You can't.".
FAF2 JP Response_YouCant_Duplicate Jump to Response_YouCant_Duplicate.
The token table for the action "climb":
Table_ActionClimb_TokenGroup FAF5 DEFW PhraseTokens_OutOfPool Token group 01.
FAF7 DEFW PhraseTokens_OutOfLake Token group 02.
FAF9 DEFW PhraseTokens_OutOfWater Token group 03.
FAFB DEFW PhraseTokens_Out Token group 04.
FAFD DEFW PhraseTokens_Up Token group 05.
FAFF DEFW PhraseTokens_Down Token group 06.
FB01 DEFW PhraseTokens_UpLadder Token group 07.
FB03 DEFW PhraseTokens_DownLadder Token group 08.
FB05 DEFW PhraseTokens_IntoPool Token group 09.
FB07 DEFW PhraseTokens_IntoLake Token group 0A.
FB09 DEFW PhraseTokens_IntoWater Token group 0B.
The actions table for "climb":
Table_ActionsClimb FB0B DEFW Process_ClimbOutOfPool Action routine 01.
FB0D DEFW Response_YoureNotInIt Action routine 02.
FB0F DEFW Process_ClimbOutOfWater Action routine 03.
FB11 DEFW Process_ClimbOut Action routine 04.
FB13 DEFW RemoveUserInput_Token_1 Action routine 05.
FB15 DEFW RemoveUserInput_Token_1 Action routine 06.
FB17 DEFW Process_ClimbUpLadder Action routine 07.
FB19 DEFW Process_ClimbDownLadder Action routine 08.
FB1B DEFW Process_EnterIntoPool Action routine 09.
FB1D DEFW Process_EnterIntoLake Action routine 0A.
FB1F DEFW Process_EnterIntoWater Action routine 0B.
Prev: FAAD Up: Map Next: FB21