Prev: AEE0 Up: Map Next: AEF0
AEE7: Handler: Update Item/ Event For The Current Room
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 AEE7 LD B,A Load the item/ event ID into B.
AEE8 LD A,($A7C3) Load C with *CurrentRoom.
AEEB LD C,A
AEEC CALL Handler_UpdateItemLocation Call Handler_UpdateItemLocation.
AEEF RET Return.
View the equivalent code in The Jewels Of Babylon.
Prev: AEE0 Up: Map Next: AEF0