Prev: 50154 Up: Map Next: 50170
50161: Handler: Update Item/ Event For The Current Room
Used by the routines at 50464 and Action_Move.
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).
Input
A Item/ event ID
Handler_UpdateItemEventCurrentRoom 50161 LD B,A Load the item/ event ID into B.
50162 LD A,(48331) Load C with *CurrentRoom.
50165 LD C,A
50166 CALL Handler_UpdateObjectLocation Call Handler_UpdateObjectLocation.
50169 RET Return.
Prev: 50154 Up: Map Next: 50170