Prev: A924 Up: Map Next: A96A
A947: Condition: Parser Fails
Calls the parser check indexed in JumpTable_ParserChecks and succeeds when it returns with the carry set.
Stores A at ScriptParserResult.
Output
F The zero flag is set when the check fails
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 A947 LD E,(IX+$01) The operand selects a check from JumpTable_ParserChecks.
A94A PUSH IX
A94C LD IX,$A779
A950 CALL GetTableEntry That check.
A953 LD DE,$A958 Run that check. It returns here.
A956 PUSH DE
A957 JP (HL)
ParserFails_Return A958 POP IX Restore the script pointer from the stack.
A95A LD ($A806),A Remember the check's result at ScriptParserResult.
A95D JR NC,ParserFails_Passed The check passed.
A95F XOR A The parser check failed, so this condition succeeds.
A960 JP Handler_RunScript_3
ParserFails_Passed A963 XOR A The parser check passed, so this condition does not.
A964 CALL Handler_RunScript_13
A967 JP Handler_RunScript_3
Prev: A924 Up: Map Next: A96A