![]() |
Routines |
| Prev: 43094 | Up: Map | Next: 43121 |
|
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 | 43106 | LD A,(IX+1) | Fetch the item ID (the operand) from *IX+1 into A. | |||||||
| 43109 | CALL RunScript_ResolveMatchedItem | Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is 255. | ||||||||
| 43112 | CALL ItemLocator | Call ItemLocator to read that item's room into A. | ||||||||
| 43115 | CP (IX+2) | Set the zero flag when it equals the room operand. | ||||||||
| 43118 | JP RunScript_SkipCondition_ThreeBytes | Jump to RunScript_SkipCondition_ThreeBytes. | ||||||||
| Prev: 43094 | Up: Map | Next: 43121 |