![]() |
Routines |
| Prev: 8EBC | Up: Map | Next: 8EDA |
|
List everything the player is carrying.
|
||||
| ActionInventory | 8EC4 | CALL Parser_ValidateNoDirectObject | Call Parser_ValidateNoDirectObject; return if the command names an object. | |
| 8EC7 | RET C | |||
|
Clear the screen and display the player's inventory.
|
||||
| 8EC8 | CALL ClearScreen | Call ClearScreen. | ||
| 8ECB | CALL SetScreenPosition | Call SetScreenPosition. | ||
|
Print "You are carrying:-".
|
||||
| 8ECE | LD HL,$77EF | HL=Messaging_YouAreCarrying. | ||
| 8ED1 | CALL PrintStringAndANewline | Call PrintStringAndANewline. | ||
| 8ED4 | LD A,$01 | A=01 (the player's inventory). | ||
| 8ED6 | CALL PrintObjects | Call PrintObjects. | ||
| 8ED9 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 8EBC | Up: Map | Next: 8EDA |