![]() |
Routines |
| Prev: 6702 | Up: Map | Next: 671A |
|
Passes when the object is carried, worn, or in this room.
|
||||||||
| HoldingOrHere | 6709 | LD A,($5D89) | Pass when the object is the one being carried. | |||||
| 670C | CP C | |||||||
| 670D | RET Z | |||||||
| 670E | LD A,($5D8A) | Pass when it is the one being worn. | ||||||
| 6711 | CP C | |||||||
| 6712 | RET Z | |||||||
| 6713 | LD A,($5D87) | The current room must be the object's location. | ||||||
| 6716 | CP C | |||||||
| 6717 | JR NZ,RejectCondition | Jump to RejectCondition to reject this bytecode condition. | ||||||
| 6719 | RET | Return. | ||||||
| Prev: 6702 | Up: Map | Next: 671A |