Prev: 60789 Up: Map Next: 60850
60838: Handler: Pick Up Item
Input
B Item ID
Handler_PickUpItem 60838 LD C,1 Call Handler_UpdateItemLocation using the item ID passed in B, to change the location to 1 (to the players inventory).
60840 CALL Handler_UpdateItemLocation
Player has picked up an item so handle the inventory count.
60843 LD HL,42896 Increment *Count_InventoryItems by one.
60846 INC (HL)
Print "O.K.".
60847 JP Response_OK_Duplicate Jump to Response_OK_Duplicate.
Prev: 60789 Up: Map Next: 60850