Prev: FB2D Up: Map Next: FB50
FB3A: Action: Attack
Carry out the "Attack" command.
Action_Attack FB3A LD HL,$E7E1 Call MatchPhraseTokens to match the phrase tokens.
FB3D CALL MatchPhraseTokens
FB40 JP NZ,Messaging_HeSaysNo_Reply Refuse to attack when the words do not match.
FB43 LD A,$08 Flag this turn as an attack.
This entry point is used by the routines at Action_Light, Action_Rub and Action_Say.
Action_Attack_0 FB45 LD ($AE78),A Store A in the turn scratch flag.
FB48 CALL Handler_ShiftInputTokens Call Handler_ShiftInputTokens to drop the verb from the word tokens.
FB4B LD HL,$E9B0 Hand the rest of the command to the verb dispatcher.
FB4E EX (SP),HL
FB4F RET Return.
Prev: FB2D Up: Map Next: FB50