![]()  | 
Routines | 
| Prev: 44768 | Up: Map | Next: 44784 | 
| 
 
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 1 - in the players inventory, to the current room ID).
 
  | 
||||||||
| Handler_UpdateItemEventCurrentRoom | 44775 | LD B,A | Load the item/ event ID into B. | |||||
| 44776 | LD A,(42947) | Load C with *CurrentRoom. | ||||||
| 44779 | LD C,A | |||||||
| 44780 | CALL Handler_UpdateItemLocation | Call Handler_UpdateItemLocation. | ||||||
| 44783 | RET | Return. | ||||||
| 
 
View the equivalent code in The Jewels Of Babylon.
 
 | 
||||||||
| Prev: 44768 | Up: Map | Next: 44784 |