Prev: 43121 Up: Map Next: 43151
43139: Condition: Flag Is Set
Succeeds when the flag bit operand is set in Flags_GameStates.
Output
F The zero flag is set when the bit is set
IX Pointer to the script entry
The flag test reports a clear bit, so invert it. The condition succeeds when the flag operand is set.
Condition_FlagIsSet 43139 LD A,(IX+1) Fetch the flag number (the operand) from *IX+1 into A.
43142 CALL TestFlag Call TestFlag to test that flag bit in Flags_GameStates.
43145 CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the flag is set.
43148 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: 43121 Up: Map Next: 43151