![]() |
Routines |
| Prev: 60867 | Up: Map | Next: 60933 |
|
List everything the player is carrying.
|
||||
| Action_Inventory | 60904 | CALL Parser_ValidateNoDirectObject | Return if the words after the verb are not valid for this command. | |
| 60907 | RET C | |||
| 60908 | LD A,(47720) | Jump back to Response_YoureNotCarryingAnything when the number of objects carried is zero. | ||
| 60911 | AND A | |||
| 60912 | JP Z,Response_YoureNotCarryingAnything | |||
| 60915 | CALL ClearScreen | Call ClearScreen to clear the screen. | ||
| 60918 | CALL SetScreenPosition | Call SetScreenPosition to move the cursor to the text line stored at 47936. | ||
| 60921 | LD HL,48415 | Print "You are carrying:-". | ||
| 60924 | CALL PrintStringAndANewline | |||
| 60927 | LD A,1 | Call PrintObjects to list what is being carried. | ||
| 60929 | CALL PrintObjects | |||
| 60932 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 60867 | Up: Map | Next: 60933 |