Prev: F8E4 Up: Map Next: F964
F916: Action: Blow
Blow the horn.
Action_Blow F916 CALL Parser_ValidateDirectObject Return if the words after the verb are not valid for this command.
F919 RET C
F91A LD HL,$E827 Jump to Action_Blow_NoEffect unless the player named Princess Mara.
F91D CALL Parser_AdvanceToSeparator
F920 JR NZ,Action_Blow_NoEffect
F922 LD A,$09 Jump to Action_Blow_Next when the player is carrying object 09 (the horn).
F924 CALL IsObjectCarried
F927 JR Z,Action_Blow_Next
Reply with "You're no carrying a horn.".
F929 LD HL,$E3A2 Print "You're no carrying a horn." and return to the game loop.
F92C JP PrintResponse
Action_Blow_Next F92F LD A,($BA9B) Jump to Action_Blow_FetchDragon when the player is in room 17 (The Brink of a Precipice).
F932 CP $17
F934 JR Z,Action_Blow_FetchDragon
F936 CP $34 Jump back to Response_ItHasNoApparentEffect unless the value 34 matches.
F938 JP NZ,Response_ItHasNoApparentEffect
Action_Blow_FetchDragon F93B LD A,$16 Call GetObjectLocation to fetch where the dragon is.
F93D CALL GetObjectLocation
F940 AND A Jump back to Response_ItHasNoApparentEffect when the dragon is not in play.
F941 JP Z,Response_ItHasNoApparentEffect
F944 LD A,($BA9B) Jump to Action_Blow_ToPrecipice unless the player is in room 17 (The Brink of a Precipice).
F947 CP $17
F949 JR NZ,Action_Blow_ToPrecipice
F94B LD A,$34 Call MovePlayerToRoom to move the player to the bottom of the precipice.
F94D CALL MovePlayerToRoom
Reply with "The dragon leaps into the air, catching you carefully. You are lifted with it. The dragon deposits you at the bottom of the precipice.".
F950 LD HL,$E3BD Print "The dragon leaps into the air, catching you carefully. You are lifted with it. The dragon deposits you at the bottom of the precipice." and return to the game loop.
F953 JP PrintResponse
Action_Blow_ToPrecipice F956 LD A,$17 Call MovePlayerToRoom to move the player to the brink of the precipice.
F958 CALL MovePlayerToRoom
Reply with "The dragon swoops down and picks you up. It takes you to the top of the precipice.".
F95B LD HL,$E444 Print "The dragon swoops down and picks you up. It takes you to the top of the precipice." and return to the game loop.
F95E JP PrintResponse
Action_Blow_NoEffect F961 JP Response_ItHasNoApparentEffect Jump back to Response_ItHasNoApparentEffect to say it has no effect.
Prev: F8E4 Up: Map Next: F964