Prev: A871 Up: Map Next: A88F
A883: 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 A883 LD A,(IX+$01) Fetch the flag number (the operand) from *IX+01 into A.
A886 CALL TestFlag Call TestFlag to test that flag bit in Flags_GameStates.
A889 CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the flag is set.
A88C JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: A871 Up: Map Next: A88F