Prev: A84D Up: Map Next: A862
A856: Condition: Not In Room
Succeeds when CurrentRoom is not the room operand.
Output
F The zero flag is set when the rooms differ
IX Pointer to the script entry
Invert the room test so the condition succeeds anywhere else.
Condition_NotInRoom A856 LD A,($A106) Fetch the current room from *CurrentRoom into A.
A859 CP (IX+$01) Compare it with the room operand.
A85C CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the rooms differ.
A85F JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: A84D Up: Map Next: A862