Prev: F7FD Up: Map Next: F841
F824: Action: Inventory
Action_Inventory F824 CALL Parser_ValidateNoDirectObject Call Parser_ValidateNoDirectObject.
The "INVENTORY" command can only be called on its own.
F827 RET C Return if there's any token set in UserInput_Token_2.
F828 LD A,($A790) Jump to EE17 if *Count_InventoryItems is zero (the player isn't holding any items).
F82B AND A
F82C JP Z,$EE17
Clear the screen and display the players inventory.
F82F CALL ClearScreen Call ClearScreen.
F832 CALL SetScreenPosition Call SetScreenPosition.
Print "You are carrying:-".
F835 LD HL,$AA3B HL=Messaging_YouAreCarrying.
F838 CALL PrintStringAndNewline Call PrintStringAndNewline.
F83B LD A,$01 Call PrintObjects with a room ID of 01 which is the players inventory.
F83D CALL PrintObjects
F840 RET Return.
Prev: F7FD Up: Map Next: F841