Prev: 60867 Up: Map Next: 60933
60904: Action: Inventory
List everything the player is carrying.
Action_Inventory 60904 CALL Parser_ValidateNoDirectObject Call Parser_ValidateNoDirectObject.
The "INVENTORY" command can only be called on its own.
60907 RET C Return if there's any token set in UserInput_SecondToken.
60908 LD A,(47720) Jump to Response_YoureNotCarryingAnything if *Count_InventoryItems is zero (the player isn't holding any items).
60911 AND A
60912 JP Z,Response_YoureNotCarryingAnything
Clear the screen and display the players inventory.
60915 CALL ClearScreen Call ClearScreen.
60918 CALL SetScreenPosition Call SetScreenPosition.
Print "You are carrying:-".
60921 LD HL,48415 HL=Messaging_YouAreCarrying.
60924 CALL PrintStringAndNewline Call PrintStringAndNewline.
60927 LD A,1 Call PrintObjects with a room ID of 1 which is the players inventory.
60929 CALL PrintObjects
60932 RET Return.
Prev: 60867 Up: Map Next: 60933