Prev: 43440 Up: Map Next: 43467
43455: 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 43455 LD A,(IX+1) Fetch the item ID (the operand) from *IX+1 into A.
43458 CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is 255.
43461 CALL Handler_IsCarryingItem Call Handler_IsCarryingItem to test whether that item is carried for a drop.
43464 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: 43440 Up: Map Next: 43467