Prev: A856 Up: Map Next: A871
A862: Condition: Item Location Equals
Succeeds when the item operand is in the room given by the second operand.
Output
F The zero flag is set when the location matches
Is the item in the room given by the second operand?
Condition_ItemLocationEquals A862 LD A,(IX+$01) The operand names the item.
A865 CALL Handler_RunScript_15 FF stands for the matched item.
A868 CALL ItemLocator Call ItemLocator to read the item's room.
A86B CP (IX+$02) Is the item in the room operand?
A86E JP Handler_RunScript_2 Resume the script.
Prev: A856 Up: Map Next: A871