![]()  | 
Routines | 
| Prev: A62C | Up: Map | Next: A63B | 
| 
 
Checks if a given item is in the players inventory or not.
 
 
  | 
||||||||||||
| 
 
The ItemLocator routine returns with A containing the room ID of the requested object, 00 for when the item is disabled or 01 for the players inventory.
 
 | 
||||||||||||
| CheckObjectInInventory | A635 | CALL ItemLocator | Call ItemLocator. | |||||||||
| A638 | CP $01 | Compare A with 01 (inventory). | ||||||||||
| A63A | RET | Return. | ||||||||||
| 
 
View the equivalent code in; 
 
 | 
||||||||||||
| Prev: A62C | Up: Map | Next: A63B |