Prev: 44791 Up: Map Next: 44817
44808: Handler: Update Item Location
Input
B Item ID
C Room ID
Handler_UpdateItemLocation 44808 LD HL,42604 HL=Table_ItemEventLocations.
44811 LD D,0 Load the item ID into DE.
44813 LD E,B
44814 ADD HL,DE Add the item ID to Table_ItemEventLocations.
44815 LD (HL),C Update the table with the new room ID in C.
44816 RET Return.
Prev: 44791 Up: Map Next: 44817