![]() |
Routines |
| Prev: B5A4 | Up: Map | Next: B5CF |
|
Used by the routines at ProcessGameEvents, IsObjectInInventory, TransformItem and IsItemInCurrentRoom.
Get Item Room.
|
||||
| GetItemRoom | B5C6 | LD E,A | Look this item up in the item-location table. | |
| B5C7 | LD D,$00 | |||
| B5C9 | LD HL,$AD76 | |||
| B5CC | ADD HL,DE | |||
| B5CD | LD A,(HL) | Read the room that holds this item. | ||
| B5CE | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: B5A4 | Up: Map | Next: B5CF |