![]() |
Routines |
| Prev: B5C6 | Up: Map | Next: B5D5 |
|
Used by the routines at Take_IsPlayerHoldingItem, Drop_IsPlayerHoldingItem, IsPlayerCarryingItem, Take_Water, Take_Acid, Take_Oil, Drop_Flower, Drop_CopperKey, Drop_GoldKey, Drop_JewelledKey, Kill_Chest, Oil_Plant, Oil_Ashes, Fill_Gas, Take_Songbird and 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 |