Prev: A8ED Up: Map Next: A90D
A8F9: 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 A8F9 LD E,(IX+$01) The operand selects a phrase from Table_PhrasePointers.
A8FC PUSH IX
A8FE LD IX,$B83D
A902 CALL GetTableEntry That phrase.
A905 CALL MatchPhraseTokens Call MatchPhraseTokens.
A908 POP IX Restore the script pointer from the stack.
A90A JP Handler_RunScript_3 Resume the script.
Prev: A8ED Up: Map Next: A90D