![]() |
Routines |
| Prev: A856 | Up: Map | Next: A871 |
|
Succeeds when the item operand is in the room given by the second operand.
|
||||||||||
|
Is the item in the room given by the second operand?
|
||||||||||
| Condition_ItemLocationEquals | A862 | LD A,(IX+$01) | Fetch the item ID (the operand) from *IX+01 into A. | |||||||
| A865 | CALL RunScript_ResolveMatchedItem | Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF. | ||||||||
| A868 | CALL ItemLocator | Call ItemLocator to read that item's room into A. | ||||||||
| A86B | CP (IX+$02) | Set the zero flag when it equals the room operand. | ||||||||
| A86E | JP RunScript_SkipCondition_ThreeBytes | Jump to RunScript_SkipCondition_ThreeBytes. | ||||||||
| Prev: A856 | Up: Map | Next: A871 |