Prev: 60209 Up: Map Next: 60244
60233: Is Player Carrying Item
Input
A Item ID
Output
F Z flag set if the item is in the players inventory
IsPlayerCarryingItem 60233 CALL IsObjectInInventory Call IsObjectInInventory.
60236 RET Z Return if the item is in the players inventory.
60237 POP HL Restore HL from the stack.
Print "You're not carrying ".
60238 LD HL,45457 HL=Messaging_YoureNotCarrying.
60241 JP PrintStringAndItThemHandler Jump to PrintStringAndItThemHandler.
View the equivalent code in;
Prev: 60209 Up: Map Next: 60244