Prev: FC2F Up: Map Next: FC8A
FC4B: Action: Kill/ Attack/ Hit/ Strike
Action_Kill FC4B CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
FC4E RET C Return if there is no direct object in the user input (so the command is malformed).
FC4F LD HL,$FC5E HL=Table_ActionKill_TokenGroup.
FC52 LD DE,$FC74 DE=Table_ActionKill.
FC55 LD BC,$000B BC=000B.
FC58 CALL ActionRouting Call ActionRouting.
No phrase tokens matched the user input tokens.
Print "You can't.".
FC5B JP Response_YouCant_Duplicate Jump to Response_YouCant_Duplicate.
The token table for the action "kill":
Table_ActionKill_TokenGroup FC5E DEFW PhraseTokens_RomanWithSword Token group 01.
FC60 DEFW PhraseTokens_Fomorian Token group 02.
FC62 DEFW PhraseTokens_HareWithSword Token group 03.
FC64 DEFW PhraseTokens_Trader Token group 04.
FC66 DEFW PhraseTokens_Warrior Token group 05.
FC68 DEFW PhraseTokens_Wolves Token group 06.
FC6A DEFW PhraseTokens_Bear Token group 07.
FC6C DEFW PhraseTokens_Guard Token group 08.
FC6E DEFW PhraseTokens_Druid Token group 09.
FC70 DEFW PhraseTokens_PigWithSword Token group 0A.
FC72 DEFW PhraseTokens_OxWithSword Token group 0B.
The actions table for "kill":
Table_ActionKill FC74 DEFW Process_KillRomanWithSword Action routine 01.
FC76 DEFW Process_KillFomorian Action routine 02.
FC78 DEFW Process_KillHareWithSword Action routine 03.
FC7A DEFW Process_KillTrader Action routine 04.
FC7C DEFW Process_KillWarrior Action routine 05.
FC7E DEFW Process_KillWolves Action routine 06.
FC80 DEFW Process_KillBear Action routine 07.
FC82 DEFW Process_KillGuard Action routine 08.
FC84 DEFW Process_KillDruid Action routine 09.
FC86 DEFW Process_KillPigWithSword Action routine 0A.
FC88 DEFW Process_KillOxWithSword Action routine 0B.
Prev: FC2F Up: Map Next: FC8A