Prev: A652 Up: Map Next: A66C
A663: Handler: Update Item Location
Input
B Item ID
C Room ID
Handler_UpdateItemLocation A663 LD HL,$9F88 HL=Table_ItemLocations.
A666 LD D,$00 Load the item ID into DE.
A668 LD E,B
A669 ADD HL,DE Add the item ID to Table_ItemLocations.
A66A LD (HL),C Update the table with the new room ID in C.
A66B RET Return.
Prev: A652 Up: Map Next: A66C