Prev: 43245 Up: Map Next: 43277
43257: Condition: Phrase Matches
Succeeds when the player input matches the phrase at Table_PhrasePointers indexed by the operand.
Output
F The zero flag is set when the phrase matches
Does the player's command match the phrase selected from Table_PhrasePointers?
Condition_PhraseMatches 43257 LD E,(IX+1) The operand selects a phrase from Table_PhrasePointers.
43260 PUSH IX
43262 LD IX,47165
43266 CALL GetTableEntry That phrase.
43269 CALL MatchPhraseTokens Call MatchPhraseTokens.
43272 POP IX Restore the script pointer from the stack.
43274 JP Handler_RunScript_3 Resume the script.
Prev: 43245 Up: Map Next: 43277