Prev: 36880 Up: Map Next: 36905
36884: Take Item
TakeItem 36884 LD C,1 Call UpdateObjectLocation to mark the object as carried.
36886 CALL UpdateObjectLocation
36889 LD HL,25132 Increment *Count_InventoryItems by one.
36892 INC (HL)
Print "O.K.".
36893 LD HL,25702 HL=Messaging_OK.
36896 JR TakeItem_PrintAndReturn Jump to TakeItem_PrintAndReturn.
This entry point is used by the routines at Validate_Take_GlowingSphere, Validate_Take_Key and Validate_Take_Ship.
Print "You can't.".
Take_YouCant 36898 LD HL,25691 HL=Messaging_YouCanT.
This entry point is used by the routines at ActionTake, Take_IsPlayerHoldingItem, Validate_Take_PoisonFungus and Validate_Take_Ship.
TakeItem_PrintAndReturn 36901 CALL PrintStringAndANewline Call PrintStringAndANewline.
36904 RET Return.
View the equivalent code in;
Prev: 36880 Up: Map Next: 36905