![]() |
Routines |
Prev: 60789 | Up: Map | Next: 60850 |
Used by the routines at Handler_CheckPlayerInventory_PickUpItem, Process_GetAcorns, Process_GetUrn, Process_GetRope, Process_GetLadder, Process_GetCloak, Process_TakeSwordFromSlab and Process_GetStaff.
|
||||||||
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 |