![]() |
Routines |
| Prev: A8ED | Up: Map | Next: A90D |
|
Succeeds when the player input matches the phrase at Table_PhrasePointers indexed by the operand.
|
||||||||||||
|
The operand selects a phrase from Table_PhrasePointers.
|
||||||||||||
| Condition_PhraseMatches | A8F9 | LD E,(IX+$01) | Fetch the phrase number (the operand) from *IX+01 into E. | |||||||||
| A8FC | PUSH IX | Stash IX on the stack. | ||||||||||
| A8FE | LD IX,$B83D | Point IX at the phrase-pointer table at Table_PhrasePointers. | ||||||||||
| A902 | CALL GetTableEntry | Call GetTableEntry to fetch the address of the phrase from the table into HL. | ||||||||||
| A905 | CALL MatchPhraseTokens | Call MatchPhraseTokens to match the player's command against that phrase. | ||||||||||
| A908 | POP IX | Restore the script pointer from the stack. | ||||||||||
| A90A | JP RunScript_SkipCondition_TwoBytes | Jump to RunScript_SkipCondition_TwoBytes. | ||||||||||
| Prev: A8ED | Up: Map | Next: A90D |