Prev: A826 Up: Map Next: A841
A832: Condition: Item Is Not Carried
Succeeds when the item operand is not in the inventory.
Output
F The zero flag is set when the item is not carried
IX Pointer to the script entry
Invert the carrying test so the condition succeeds when the item is not held.
Condition_ItemIsNotCarried A832 LD A,(IX+$01) Fetch the item ID (the operand) from *IX+01 into A.
A835 CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF.
A838 CALL CheckObjectInInventory Call CheckObjectInInventory to test whether that item is carried.
A83B CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the item is not held.
A83E JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: A826 Up: Map Next: A841