Prev: A9B0 Up: Map Next: A9CB
A9BF: Condition: Is Carrying For Drop
Succeeds when Handler_IsCarryingItem confirms the item operand is carried.
Output
F The zero flag is set when the item is carried
IX Pointer to the script entry
Is the player carrying the item operand, as a drop requires?
Condition_IsCarryingForDrop A9BF LD A,(IX+$01) Fetch the item ID (the operand) from *IX+01 into A.
A9C2 CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF.
A9C5 CALL Handler_IsCarryingItem Call Handler_IsCarryingItem to test whether that item is carried for a drop.
A9C8 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: A9B0 Up: Map Next: A9CB