![]() |
Routines |
| Prev: EEEB | Up: Map | Next: EEFC |
|
Used by the routines at Validate_Take_MarasBody, Validate_Take_Witch, Validate_Take_Food, Validate_Take_SilverCoin, Validate_Take_Bow, Validate_Take_Arrows, Validate_Take_Furnace, Validate_Take_Log, Validate_Take_Horn, Validate_Take_OpenChest, Validate_Take_Key and Validate_Take_Rope.
Places the item in the player's inventory and acknowledges success.
|
||||
| TakeItem | EEED | LD C,$01 | Load C with 01 which indicates the item will be in the players inventory. | |
| EEEF | CALL UpdateObjectLocation | Call UpdateObjectLocation. | ||
| EEF2 | LD HL,$BA68 | Increment *Count_InventoryItems by one. | ||
| EEF5 | INC (HL) | |||
|
Print "O.K.".
|
||||
| EEF6 | LD HL,$BCDB | HL=Messaging_OK. | ||
| EEF9 | JP PrintResponse | Jump to PrintResponse. | ||
|
View the equivalent code in;
|
||||
| Prev: EEEB | Up: Map | Next: EEFC |