Prev: 43455 Up: Map Next: 43482
43467: Condition: Is Not Carrying For Drop
Succeeds when Handler_IsCarryingItem rejects the item operand.
Output
F The zero flag is set when the item is not carried
IX Pointer to the script entry
Invert the drop test so the condition succeeds when the item is not carried.
Condition_IsNotCarryingForDrop 43467 LD A,(IX+1) Fetch the item ID (the operand) from *IX+1 into A.
43470 CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is 255.
43473 CALL Handler_IsCarryingItem Call Handler_IsCarryingItem to test whether that item is carried for a drop.
43476 CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the item is not carried.
43479 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: 43455 Up: Map Next: 43482