![]() |
Routines |
Prev: 42578 | Up: Map | Next: 42604 |
Used by the routines at 41600, Handler_DestroyItemEvent, Handler_UpdateItemEventCurrentRoom, ScenicEventTriggered, TransformItem, 43558, Handler_PickUpItem, Handler_DropItem and MovePlayerToRoom.
|
||||||||||
Handler_UpdateItemLocation | 42595 | LD HL,40840 | HL=Table_ItemLocations. | |||||||
42598 | LD D,0 | Load the item ID into DE. | ||||||||
42600 | LD E,B | |||||||||
42601 | ADD HL,DE | Add the item ID to Table_ItemLocations. | ||||||||
42602 | LD (HL),C | Update the table with the new room ID in C. | ||||||||
42603 | RET | Return. |
Prev: 42578 | Up: Map | Next: 42604 |