![]() |
Routines |
| Prev: 63716 | Up: Map | Next: 63844 |
|
Blow the horn.
|
||||
| Action_Blow | 63766 | CALL Parser_ValidateDirectObject | Return if the words after the verb are not valid for this command. | |
| 63769 | RET C | |||
| 63770 | LD HL,59431 | Jump to Action_Blow_NoEffect unless the player named Princess Mara. | ||
| 63773 | CALL Parser_AdvanceToSeparator | |||
| 63776 | JR NZ,Action_Blow_NoEffect | |||
| 63778 | LD A,9 | Jump to Action_Blow_Next when the player is carrying object 9 (the horn). | ||
| 63780 | CALL IsObjectCarried | |||
| 63783 | JR Z,Action_Blow_Next | |||
|
Reply with "You're no carrying a horn.".
|
||||
| 63785 | LD HL,58274 | Print "You're no carrying a horn." and return to the game loop. | ||
| 63788 | JP PrintResponse | |||
| Action_Blow_Next | 63791 | LD A,(47771) | Jump to Action_Blow_FetchDragon when the player is in room 23 (The Brink of a Precipice). | |
| 63794 | CP 23 | |||
| 63796 | JR Z,Action_Blow_FetchDragon | |||
| 63798 | CP 52 | Jump back to Response_ItHasNoApparentEffect unless the value 52 matches. | ||
| 63800 | JP NZ,Response_ItHasNoApparentEffect | |||
| Action_Blow_FetchDragon | 63803 | LD A,22 | Call GetObjectLocation to fetch where the dragon is. | |
| 63805 | CALL GetObjectLocation | |||
| 63808 | AND A | Jump back to Response_ItHasNoApparentEffect when the dragon is not in play. | ||
| 63809 | JP Z,Response_ItHasNoApparentEffect | |||
| 63812 | LD A,(47771) | Jump to Action_Blow_ToPrecipice unless the player is in room 23 (The Brink of a Precipice). | ||
| 63815 | CP 23 | |||
| 63817 | JR NZ,Action_Blow_ToPrecipice | |||
| 63819 | LD A,52 | Call MovePlayerToRoom to move the player to the bottom of the precipice. | ||
| 63821 | 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.".
|
||||
| 63824 | LD HL,58301 | 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. | ||
| 63827 | JP PrintResponse | |||
| Action_Blow_ToPrecipice | 63830 | LD A,23 | Call MovePlayerToRoom to move the player to the brink of the precipice. | |
| 63832 | CALL MovePlayerToRoom | |||
|
Reply with "The dragon swoops down
and picks you up.
It takes you to the top
of the precipice.".
|
||||
| 63835 | LD HL,58436 | Print "The dragon swoops down and picks you up. It takes you to the top of the precipice." and return to the game loop. | ||
| 63838 | JP PrintResponse | |||
| Action_Blow_NoEffect | 63841 | JP Response_ItHasNoApparentEffect | Jump back to Response_ItHasNoApparentEffect to say it has no effect. | |
| Prev: 63716 | Up: Map | Next: 63844 |