Prev: A841 Up: Map Next: A856
A84D: Condition: In Room
Succeeds when CurrentRoom is the room operand.
Output
F The zero flag is set when the rooms match
IX Pointer to the script entry
Is the player in the room operand?
Condition_InRoom A84D LD A,($A106) Fetch the current room from *CurrentRoom into A.
A850 CP (IX+$01) Set the zero flag when it equals the room operand.
A853 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: A841 Up: Map Next: A856