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 Restore HL from the stack.
Print "You're not carrying ".
EDD5 LD HL,$AA9B HL=Messaging_YoureNotCarrying.
EDD8 JP $ED7E Jump to ED7E.
Prev: EDB8 Up: Map Next: EDDB