Prev: 42555 Up: Map Next: 42571
42562: Handler: Update Item/ Event For The Current Room
Used by the routines at Action_BringItemHere 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 1 - in the players inventory, to the current room ID).
Input
A Item/ event ID
Handler_UpdateItemEventCurrentRoom 42562 LD B,A Load the item/ event ID into B.
42563 LD A,(41222) Fetch the current room ID from *CurrentRoom into C.
42566 LD C,A
42567 CALL Handler_UpdateItemLocation Call Handler_UpdateItemLocation.
42570 RET Return.
Prev: 42555 Up: Map Next: 42571