![]() |
Routines |
Prev: ED75 | Up: Map | Next: EDB2 |
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 | EDA6 | LD C,$01 | Call Handler_UpdateItemLocation using the item ID passed in B, to change the location to 01 (to the players inventory). | |||||
EDA8 | CALL Handler_UpdateItemLocation | |||||||
Player has picked up an item so handle the inventory count.
|
||||||||
EDAB | LD HL,$A790 | Increment *Count_InventoryItems by one. | ||||||
EDAE | INC (HL) | |||||||
Print "O.K.".
|
||||||||
EDAF | JP Response_OK_Duplicate | Jump to Response_OK_Duplicate. |
Prev: ED75 | Up: Map | Next: EDB2 |