![]() |
Routines |
| Prev: EAF4 | Up: Map | Next: EB31 |
|
Used by the routines at Handler_CheckPlayerInventory_PickUpItem, Take_Frog, Take_Flower, Take_Diamond, Take_Sapphire, Take_Money, Take_Wand, Take_Carpet, Take_CopperKey, Take_GoldKey, Take_JewelledKey, Take_Sword, Take_Cross, Take_Pillow, Take_Falcon and Take_Map.
Places the item in the player's inventory and acknowledges success.
|
||||||||
| TakeItem | EB25 | LD C,$01 | Load C with 01 which indicates the item will be in the players inventory. | |||||
| EB27 | CALL SetItemRoom | Call SetItemRoom. | ||||||
| EB2A | LD HL,$AE9A | Increment *Count_InventoryItems by one. | ||||||
| EB2D | INC (HL) | |||||||
| EB2E | JP Response_OK_GameLoop | Jump to Response_OK_GameLoop. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: EAF4 | Up: Map | Next: EB31 |