Prev: 43058 Up: Map Next: 43085
43073: Condition: Item Is Here
Succeeds when the item operand is in the current room.
Output
F The zero flag is set when the item is here
IX Pointer to the script entry
Is the item in the current room?
Condition_ItemIsHere 43073 LD A,(IX+1) Fetch the item ID (the operand) from *IX+1 into A.
43076 CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is 255.
43079 CALL CheckItemInCurrentRoom Call CheckItemInCurrentRoom to test whether that item is in the current room.
43082 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: 43058 Up: Map Next: 43085