![]()  | 
Routines | 
| Prev: 50128 | Up: Map | Next: 50154 | 
| 
 
Used by the routines at Event_Match, Action_Take, Action_DropThrow, Action_Kill, Action_Shoot, Action_Eat, Action_Drink, Action_Wear, Action_Light and Action_Unlock.
 
 
  | 
||||||||||||
| 
 
The ObjectEventLocator routine returns with A containing the room ID of the requested object.
 
 | 
||||||||||||
| CheckObjectInInventory | 50148 | CALL ObjectEventLocator | Call ObjectEventLocator. | |||||||||
| 50151 | CP 1 | Compare A with 1 (inventory). | ||||||||||
| 50153 | RET | Return. | ||||||||||
| Prev: 50128 | Up: Map | Next: 50154 |