Prev: A9BF Up: Map Next: A9DA
A9CB: 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 A9CB LD A,(IX+$01) Fetch the item ID (the operand) from *IX+01 into A.
A9CE CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF.
A9D1 CALL Handler_IsCarryingItem Call Handler_IsCarryingItem to test whether that item is carried for a drop.
A9D4 CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the item is not carried.
A9D7 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: A9BF Up: Map Next: A9DA