![]() |
Routines |
| Prev: 62107 | Up: Map | Next: 62120 |
|
Used by the routines at Validate_Take_BottleOfRum, Validate_Take_Fish, Validate_Take_Watch, Validate_Take_Shoe, Validate_Take_Fruit, Validate_Take_Rod, Validate_Take_Jewels, Validate_Take_Match, Validate_Take_Plank, Validate_Take_Coconut, Validate_Take_Gun, Validate_Take_Eyepatch, Validate_Take_KegOfGunpowder, Validate_Take_Sextant, Validate_Take_Crowbar, Validate_Take_Key, Validate_Take_Skull, Validate_Take_Spear and Validate_Take_Parrot.
Places the item in the player's inventory and acknowledges success.
|
||||
| TakeItem | 62108 | LD C,1 | Load C with 1 which indicates the item will be in the players inventory. | |
| 62110 | CALL Handler_UpdateObjectLocation | Call Handler_UpdateObjectLocation. | ||
| 62113 | LD HL,48280 | Increment *Count_InventoryItems by one. | ||
| 62116 | INC (HL) | |||
| 62117 | JP Response_OK_Duplicate | Jump to Response_OK_Duplicate. | ||
|
View the equivalent code in;
|
||||
| Prev: 62107 | Up: Map | Next: 62120 |