![]() |
Routines |
| Prev: F29B | Up: Map | Next: F2A8 |
|
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 | F29C | LD C,$01 | Load C with 01 which indicates the item will be in the players inventory. | |
| F29E | CALL Handler_UpdateObjectLocation | Call Handler_UpdateObjectLocation. | ||
| F2A1 | LD HL,$BC98 | Increment *Count_InventoryItems by one. | ||
| F2A4 | INC (HL) | |||
| F2A5 | JP Response_OK_Duplicate | Jump to Response_OK_Duplicate. | ||
|
View the equivalent code in;
|
||||
| Prev: F29B | Up: Map | Next: F2A8 |