Prev: A90D Up: Map Next: A947
A924: Condition: Parser Succeeds
Calls the parser check indexed in JumpTable_ParserChecks and succeeds when it returns with the carry clear.
Stores A at ScriptParserResult.
Output
F The zero flag is set when the check succeeds
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 A924 LD E,(IX+$01) The operand selects a check from JumpTable_ParserChecks.
A927 PUSH IX
A929 LD IX,$A779
A92D CALL GetTableEntry That check.
A930 LD DE,$A935 Run that check. It returns here.
A933 PUSH DE
A934 JP (HL)
ParserSucceeds_Return A935 POP IX Restore the script pointer from the stack.
A937 LD ($A806),A Remember the check's result at ScriptParserResult.
A93A JR C,ParserSucceeds_Failed The check failed.
A93C XOR A The parser check passed.
A93D JP Handler_RunScript_3
ParserSucceeds_Failed A940 XOR A The parser check failed.
A941 CALL Handler_RunScript_13
A944 JP Handler_RunScript_3
Prev: A90D Up: Map Next: A947