![]() |
Routines |
| Prev: 43277 | Up: Map | Next: 43335 |
|
Calls the parser check indexed in JumpTable_ParserChecks and succeeds when it returns with the carry clear.
Stores A at ScriptParserResult.
|
||||||||
|
Run the parser check selected from JumpTable_ParserChecks. It returns to ParserSucceeds_Return, its result is stored at ScriptParserResult, and the condition succeeds when the carry is clear.
|
||||||||
| Condition_ParserSucceeds | 43300 | LD E,(IX+1) | The operand selects a check from JumpTable_ParserChecks. | |||||
| 43303 | PUSH IX | |||||||
| 43305 | LD IX,42873 | |||||||
| 43309 | CALL GetTableEntry | That check. | ||||||
| 43312 | LD DE,43317 | Run that check. It returns here. | ||||||
| 43315 | PUSH DE | |||||||
| 43316 | JP (HL) | |||||||
| ParserSucceeds_Return | 43317 | POP IX | Restore the script pointer from the stack. | |||||
| 43319 | LD (43014),A | Remember the check's result at ScriptParserResult. | ||||||
| 43322 | JR C,ParserSucceeds_Failed | The check failed. | ||||||
| 43324 | XOR A | The parser check passed. | ||||||
| 43325 | JP Handler_RunScript_3 | |||||||
| ParserSucceeds_Failed | 43328 | XOR A | The parser check failed. | |||||
| 43329 | CALL Handler_RunScript_13 | |||||||
| 43332 | JP Handler_RunScript_3 | |||||||
| Prev: 43277 | Up: Map | Next: 43335 |