Prev: C3EA Up: Map Next: C3FA
C3F1: Handler: Update Item/ Event For The Current Room
Used by the routines at C520 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 01 - in the players inventory, to the current room ID).
Input
A Item/ event ID
Handler_UpdateItemEventCurrentRoom C3F1 LD B,A Load the item/ event ID into B.
C3F2 LD A,($BCCB) Load C with *CurrentRoom.
C3F5 LD C,A
C3F6 CALL Handler_UpdateObjectLocation Call Handler_UpdateObjectLocation.
C3F9 RET Return.
Prev: C3EA Up: Map Next: C3FA