![]()  | 
Routines | 
| Prev: AEE0 | Up: Map | Next: AEF0 | 
| 
 
Used by the routines at MovePlayerToRoom, Event_Roman, Process_GiveAcornsToRaven, Process_FreeOx, Process_FreeRoman, Process_PlaceLadderAgainstPlatform and Action_Sleep.
 
Updates a given item/ event ID so it appears in the current room. Used for example, when an item is dropped (so it changes from being 01 - in the players inventory, to the current room ID).
 
  | 
||||||||
| Handler_UpdateItemEventCurrentRoom | AEE7 | LD B,A | Load the item/ event ID into B. | |||||
| AEE8 | LD A,($A7C3) | Load C with *CurrentRoom. | ||||||
| AEEB | LD C,A | |||||||
| AEEC | CALL Handler_UpdateItemLocation | Call Handler_UpdateItemLocation. | ||||||
| AEEF | RET | Return. | ||||||
| 
 
View the equivalent code in The Jewels Of Babylon.
 
 | 
||||||||
| Prev: AEE0 | Up: Map | Next: AEF0 |