![]() |
Routines |
| Prev: 64301 | Up: Map | Next: 64336 |
|
Carry out the "Attack" command.
|
||||
| Action_Attack | 64314 | LD HL,59361 | Call MatchPhraseTokens to match the phrase tokens. | |
| 64317 | CALL MatchPhraseTokens | |||
| 64320 | JP NZ,Messaging_HeSaysNo_Reply | Refuse to attack when the words do not match. | ||
| 64323 | LD A,8 | 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 | 64325 | LD (44664),A | Store A in the turn scratch flag. | |
| 64328 | CALL Handler_ShiftInputTokens | Call Handler_ShiftInputTokens to drop the verb from the word tokens. | ||
| 64331 | LD HL,59824 | Hand the rest of the command to the verb dispatcher. | ||
| 64334 | EX (SP),HL | |||
| 64335 | RET | Return. | ||
| Prev: 64301 | Up: Map | Next: 64336 |