![]() |
Routines |
| Prev: B5C6 | Up: Map | Next: B5D5 |
|
Used by the routine at Action_Dig.
Is Object In Inventory?.
|
||||||||||||
|
The GetItemRoom routine returns with A containing the room ID of the requested object.
|
||||||||||||
| IsObjectInInventory | B5CF | CALL GetItemRoom | Call GetItemRoom. | |||||||||
| B5D2 | CP $01 | See whether that room is the inventory. | ||||||||||
| B5D4 | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: B5C6 | Up: Map | Next: B5D5 |