![]()  | 
Routines | 
| Prev: AEF7 | Up: Map | Next: AF11 | 
| 
 
Used by the routines at GameEventsProcessor, Handler_DestroyItemEvent, Handler_UpdateItemEventCurrentRoom, ScenicEventTriggered, TransformItem, MovePlayerToRoom, Event_WomanGuidesThroughSwamp_North, Event_WomanGuidesThroughSwamp_East, Event_WomanGuidesThroughSwamp_South, Event_WomanGuidesThroughSwamp_East_2, Handler_PickUpItem, Handler_DropItem and Process_GetAcorns.
 
  | 
||||||||||
| Handler_UpdateItemLocation | AF08 | LD HL,$A66C | HL=Table_ItemEventLocations. | |||||||
| AF0B | LD D,$00 | Load the item ID into DE. | ||||||||
| AF0D | LD E,B | |||||||||
| AF0E | ADD HL,DE | Add the item ID to Table_ItemEventLocations. | ||||||||
| AF0F | LD (HL),C | Update the table with the new room ID in C. | ||||||||
| AF10 | RET | Return. | ||||||||
| Prev: AEF7 | Up: Map | Next: AF11 |