![]() |
Routines |
| Prev: 46572 | Up: Map | Next: 46598 |
|
Used by the routines at ProcessGameEvents, HandlerDestroyItemEvent, HandlerUpdateItemEventForTheCurrentRoom, ScenicEventTriggered, TransformItem and Handler_SetCurrentRoom.
Set Item Room.
|
||||
| SetItemRoom | 46589 | LD HL,44406 | Point HL at the item-location table. | |
| 46592 | LD D,0 | Write the room into the item's slot in the item-location table. | ||
| 46594 | LD E,B | |||
| 46595 | ADD HL,DE | |||
| 46596 | LD (HL),C | |||
| 46597 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 46572 | Up: Map | Next: 46598 |