Prev: A862 Up: Map Next: A883
A871: Condition: Item Location Differs
Succeeds when the item operand is not in the room given by the second operand.
Output
F The zero flag is set when the location differs
Invert the location test so the condition succeeds when the item is somewhere else.
Condition_ItemLocationDiffers A871 LD A,(IX+$01) The operand names the item.
A874 CALL Handler_RunScript_15 FF stands for the matched item.
A877 CALL ItemLocator Call ItemLocator.
A87A CP (IX+$02) Is the item in the room operand?
A87D CALL Handler_RunScript_13 Succeed when it is somewhere else.
A880 JP Handler_RunScript_2 Resume the script.
Prev: A862 Up: Map Next: A883