![]()  | 
Routines | 
| Prev: A63B | Up: Map | Next: A64B | 
| 
 
Used by the routines at AA39 and MovePlayerToRoom.
 
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 | A642 | LD B,A | Load the item/ event ID into B. | |||||
| A643 | LD A,($A106) | Load C with *CurrentRoom. | ||||||
| A646 | LD C,A | |||||||
| A647 | CALL Handler_UpdateItemLocation | Call Handler_UpdateItemLocation. | ||||||
| A64A | RET | Return. | ||||||
| 
 
View the equivalent code in;  
  | 
||||||||
| Prev: A63B | Up: Map | Next: A64B |