Prev: EEEB Up: Map Next: EEFC
EEED: Take Item
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