![]() |
Routines |
| Prev: 43300 | Up: Map | Next: 43370 |
|
Calls the parser check indexed in JumpTable_ParserChecks and succeeds when it returns with the carry set.
Stores A at ScriptParserResult.
|
||||||||
|
Run the parser check selected from JumpTable_ParserChecks. It returns to ParserFails_Return, its result is stored at ScriptParserResult, and the condition succeeds when the carry is set.
|
||||||||
| Condition_ParserFails | 43335 | LD E,(IX+1) | The operand selects a check from JumpTable_ParserChecks. | |||||
| 43338 | PUSH IX | |||||||
| 43340 | LD IX,42873 | |||||||
| 43344 | CALL GetTableEntry | That check. | ||||||
| 43347 | LD DE,43352 | Run that check. It returns here. | ||||||
| 43350 | PUSH DE | |||||||
| 43351 | JP (HL) | |||||||
| ParserFails_Return | 43352 | POP IX | Restore the script pointer from the stack. | |||||
| 43354 | LD (43014),A | Remember the check's result at ScriptParserResult. | ||||||
| 43357 | JR NC,ParserFails_Passed | The check passed. | ||||||
| 43359 | XOR A | The parser check failed, so this condition succeeds. | ||||||
| 43360 | JP Handler_RunScript_3 | |||||||
| ParserFails_Passed | 43363 | XOR A | The parser check passed, so this condition does not. | |||||
| 43364 | CALL Handler_RunScript_13 | |||||||
| 43367 | JP Handler_RunScript_3 | |||||||
| Prev: 43300 | Up: Map | Next: 43370 |