![]() |
Routines |
| Prev: F231 | Up: Map | Next: F305 |
|
Wave the mandolin.
|
||||
| Wave_Mandolin | F2C9 | LD A,$46 | Call IsPlayerCarryingItem with item 46: "A mandolin.". | |
| F2CB | CALL IsPlayerCarryingItem | |||
| F2CE | CALL Response_OK_GameLoop | Call Response_OK_GameLoop. | ||
| F2D1 | LD A,($AECD) | A=*CurrentRoom. | ||
| F2D4 | CP $23 | Return if A is not 23. | ||
| F2D6 | RET NZ | |||
| F2D7 | LD A,$24 | Write 24 to open eastbound access to The Lair of the Hydra from The Hall of Infinity. | ||
| F2D9 | LD ($E8BA),A | |||
| F2DC | LD HL,$AE76 | Return if bit 7 of *Flags_RoomChange is set. | ||
| F2DF | BIT 7,(HL) | |||
| F2E1 | RET NZ | |||
| F2E2 | SET 7,(HL) | Set bit 7 of *HL. | ||
| F2E4 | LD A,$02 | Call AddToScore with 02. | ||
| F2E6 | CALL AddToScore | |||
|
Print "Your vision clears and you can
now see the exit.".
|
||||
| F2E9 | LD HL,$DA05 | HL=Messaging_YourVisionClearsAndYouCanNowSeeTheExit. | ||
| F2EC | JP PausePrintAndScroll | Jump to PausePrintAndScroll. | ||
|
This entry point is used by the routine at Wave_Flute.
|
||||
| Wave_Mandolin_0 | F2EF | LD BC,$3E01 | Call TransformItem to transform "Istar,held behind crystal bars." into "Istar,the wizard.". | |
| F2F2 | CALL TransformItem | |||
| F2F5 | LD HL,$AE91 | Set bit 1 of *Flag_FollowingHeroes. | ||
| F2F8 | SET 1,(HL) | |||
| F2FA | LD A,$04 | Call AddToScore with 04. | ||
| F2FC | CALL AddToScore | |||
|
Print "The bars tremble and break.
Istar is free.".
|
||||
| F2FF | LD HL,$DA36 | HL=Messaging_TheBarsTrembleAndBreak. | ||
| F302 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: F231 | Up: Map | Next: F305 |