Prev: 60963 Up: Map Next: 61057
60989: Action: Examine
Describe the single object the player named.
Action_Examine 60989 CALL Parser_ValidateDirectObject Return if the words after the verb are not valid for this command.
60992 RET C
60993 CP 1 Jump back to Response_OneAtATimePlease unless the carried location matches.
60995 JP NZ,Response_OneAtATimePlease
60998 LD HL,59410 Jump to Action_Examine_Next unless the player named Mara's body.
61001 CALL Parser_AdvanceToSeparator
61004 JR NZ,Action_Examine_Next
Reply with "There are curious runic symbols along its entire length.".
61006 LD HL,56503 Print "There are curious runic symbols along its entire length." and return to the game loop.
61009 JP PrintResponse
Action_Examine_Next 61012 LD HL,59412 Jump to Action_Examine_WitchClosedChest unless the player named the witch.
61015 CALL Parser_AdvanceToSeparator
61018 JR NZ,Action_Examine_WitchClosedChest
61020 LD A,11 Jump to Action_Examine_WitchClosedChest if object 11 (the chest) is not here.
61022 CALL IsObjectInCurrentRoom
61025 JR NZ,Action_Examine_WitchClosedChest
Reply with "It is locked.".
61027 LD HL,56560 Print "It is locked." and return to the game loop.
61030 JP PrintResponse
Action_Examine_WitchClosedChest 61033 LD HL,59412 Jump to Action_Examine_NoPoint unless the player named the witch.
61036 CALL Parser_AdvanceToSeparator
61039 JR NZ,Action_Examine_NoPoint
61041 LD A,12 Jump to Action_Examine_NoPoint if object 12 (the closed chest) is not here.
61043 CALL IsObjectInCurrentRoom
61046 JR NZ,Action_Examine_NoPoint
Reply with "It is unlocked.".
61048 LD HL,56443 Print "It is unlocked." and return to the game loop.
61051 JP PrintResponse
Action_Examine_NoPoint 61054 JP Response_IDontSeeThePoint Jump back to Response_IDontSeeThePoint to say there is no point.
Prev: 60963 Up: Map Next: 61057