Prev: EDB8 Up: Map Next: EDDB
EDD0: Is Player Carrying Item?
Input
A Item ID
Output
F Z flag set if the item is in the players inventory
IsPlayerCarryingItem EDD0 CALL CheckObjectInInventory Call CheckObjectInInventory.
EDD3 RET Z Return if the item is in the players inventory.
EDD4 POP HL Discard the return address on the stack.
Print "You're not carrying ".
EDD5 LD HL,$AA9B HL=Messaging_YoureNotCarrying.
EDD8 JP PrintStringAndItThemHandler Jump to PrintStringAndItThemHandler.
Prev: EDB8 Up: Map Next: EDDB