![]() |
Routines |
Prev: 42540 | Up: Map | Next: 42555 |
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, 0 for when the item is disabled or 1 for the players inventory.
|
||||||||||||
CheckObjectInInventory | 42549 | CALL ItemLocator | Call ItemLocator. | |||||||||
42552 | CP 1 | Compare A with 1 (inventory). | ||||||||||
42554 | RET | Return. | ||||||||||
View the equivalent code in;
|
Prev: 42540 | Up: Map | Next: 42555 |