Prev: AEE0 Up: Map Next: AEF0
AEE7: Handler: Update Item/ Event For The Current Room
Used by the routines at B01F, Event_Roman, F0AC, F26C, F293, F544 and F7FD.
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 $AF08 Call AF08.
AEEF RET Return.
View the equivalent code in The Jewels Of Babylon.
Prev: AEE0 Up: Map Next: AEF0