![]() |
Routines |
| Prev: 60148 | Up: Map | Next: 60209 |
|
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 | 60197 | LD C,1 | Load C with 1 which indicates the item will be in the players inventory. | |||||
| 60199 | CALL SetItemRoom | Call SetItemRoom. | ||||||
| 60202 | LD HL,44698 | Increment *Count_InventoryItems by one. | ||||||
| 60205 | INC (HL) | |||||||
| 60206 | JP Response_OK_GameLoop | Jump to Response_OK_GameLoop. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 60148 | Up: Map | Next: 60209 |