Prev: 43106 Up: Map Next: 43139
43121: 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 43121 LD A,(IX+1) The operand names the item.
43124 CALL Handler_RunScript_15 255 stands for the matched item.
43127 CALL ItemLocator Call ItemLocator.
43130 CP (IX+2) Is the item in the room operand?
43133 CALL Handler_RunScript_13 Succeed when it is somewhere else.
43136 JP Handler_RunScript_2 Resume the script.
Prev: 43106 Up: Map Next: 43139