Prev: FBDE Up: Map Next: FC10
FBF5: Action: Place/ Lean/ Lay
Action_Place FBF5 CALL Parser_ValidateTwoDirectObjects Call Parser_ValidateTwoDirectObjects.
FBF8 RET C Return if there are not two direct objects in the user input (so the command is malformed).
FBF9 LD HL,$FC08 HL=Table_ActionPlace_TokenGroup.
FBFC LD DE,$FC0C DE=Table_ActionPlace.
FBFF LD BC,$0002 BC=0002.
FC02 CALL ActionRouting Call ActionRouting.
No phrase tokens matched the user input tokens.
Print "You can't.".
FC05 JP Response_YouCant_Duplicate Jump to Response_YouCant_Duplicate.
The token table for the action "place":
Table_ActionPlace_TokenGroup FC08 DEFW PhraseTokens_LadderAgainstPlatform Token group 01.
FC0A DEFW PhraseTokens_SwordOnSlab Token group 02.
The actions table for "place":
Table_ActionPlace FC0C DEFW Process_PlaceLadderAgainstPlatform Action routine 01.
FC0E DEFW Process_PlaceSwordOnSlab Action routine 02.
Prev: FBDE Up: Map Next: FC10