Prev: 63253 Up: Map Next: 63347
63318: Action: Inventory
Carry out the "Inventory" command.
Action_Inventory 63318 CALL ParserValidateNoDirectObject Call ParserValidateNoDirectObject.
The "INVENTORY" command can only be called on its own.
63321 RET C Return if the direct object is malformed.
63322 LD A,(44698) Jump to Response_YoureNotCarryingAnything if *Count_InventoryItems is zero (the player isn't holding any items).
63325 AND A
63326 JP Z,Response_YoureNotCarryingAnything
Clear the screen and display the players inventory.
63329 CALL ClearScreen Call ClearScreen.
63332 CALL SetScreenPosition Call SetScreenPosition.
Print "You are carrying:-".
63335 LD HL,45361 Print "You are carrying:-" and start a new line.
63338 CALL PrintStringAndNewline
63341 LD A,1 Call PrintObjects with a room ID of 1 which is the players inventory.
63343 CALL PrintObjects
63346 RET Return.
Prev: 63253 Up: Map Next: 63347