Prev: 42578 Up: Map Next: 42604
42595: Handler: Update Item Location
Input
B Item ID
C Room ID
Handler_UpdateItemLocation 42595 LD HL,40840 HL=Table_ItemLocations.
42598 LD D,0 Load the item ID into DE.
42600 LD E,B
42601 ADD HL,DE Add the item ID to Table_ItemLocations.
42602 LD (HL),C Update the table with the new room ID in C.
42603 RET Return.
Prev: 42578 Up: Map Next: 42604