![]() |
Routines |
| Prev: 37074 | Up: Map | Next: 37134 |
|
Lists what the player is carrying. Reached through the action table at ActionTable, dispatched by Turn_RunTheHandlerIfPresent.
|
||||
| Action_Inventory | 37099 | CALL ConditionSuppressTheMessage | Call ConditionSuppressTheMessage. If the message is held back, the inventory is not listed. | |
| 37102 | LD HL,44534 | Point at the message "You are carrying[0x15]" (44534). | ||
| 37105 | CALL PrintMessage | Call PrintMessage to print message. | ||
| 37108 | LD A,(46826) | Read *CurrentCharacter. | ||
|
Count the objects being held.
|
||||
| 37111 | CALL ObjectCount | Call ObjectCount to count the visible objects. | ||
| 37114 | AND A | See whether nothing is held. | ||
| 37115 | LD HL,45883 | Point at the message "{6} nothing" (45883). | ||
| 37118 | JP Z,PrintMessage | Jump to PrintMessage to print it if nothing is held. | ||
| 37121 | LD A,(46826) | Read the character whose turn it is. | ||
| 37124 | LD IX,(46860) | Use the record of the character whose turn it is. | ||
| 37128 | LD B,(IX+16) | Read this character's location. | ||
| 37131 | JP Message_ListWithASeparator | Jump to Message_ListWithASeparator to list what is being carried. | ||
| Prev: 37074 | Up: Map | Next: 37134 |