Prev: AED1 Up: Map Next: AEE0
AEDA: Is Object In Inventory?
Used by the routines at EBA7, ECA2, ECEF, ED07, ED17, ED27, ED37, ED47, ED60 and F3AC.
Input
A Object ID
Output
F Z flag set if object is in the players inventory
The AED1 routine returns with A containing the room ID of the requested object.
CheckObjectInInventory AEDA CALL $AED1 Call AED1.
AEDD CP $01 Compare A with 01 (inventory).
AEDF RET Return.
Prev: AED1 Up: Map Next: AEE0