![]() |
Routines |
| Prev: F3A8 | Up: Map | Next: F3FB |
|
Play the sword against the dragon.
|
||||
| Play_DragonWithSword | F3D1 | LD A,$5E | Call ValidateItemPresent with item 5E: "A dead dragon.". | |
| F3D3 | CALL ValidateItemPresent | |||
| F3D6 | JP Z,Play_BarrowightWithBible_0 | Jump to Play_BarrowightWithBible_0 if the Z flag is set. | ||
| F3D9 | LD A,$2F | Call IsPlayerCarryingItem with item 2F: "A sword.". | ||
| F3DB | CALL IsPlayerCarryingItem | |||
| F3DE | LD BC,$5D5E | Call TransformItem to transform "A dragon." into "A dead dragon.". | ||
| F3E1 | CALL TransformItem | |||
| F3E4 | LD A,$29 | Write 29 to open northbound access to The Treasury from The Dragon's Lair. | ||
| F3E6 | LD ($E90C),A | |||
| F3E9 | LD A,$03 | Call AddToScore with 03. | ||
| F3EB | CALL AddToScore | |||
|
Print "Your blow strikes true.
With a last faint roar,it dies.".
|
||||
| F3EE | LD HL,$DC65 | HL=Messaging_YourBlowStrikesTrue. | ||
| F3F1 | JP PrintResponse | Jump to PrintResponse. | ||
| F3F4 | NOP | No operation. | ||
|
This entry point is used by the routine at Play_PirateWithDagger.
Print "As you attack,the pirate hides
in a tunnel,too small for you
to enter.".
|
||||
| Play_DragonWithSword_0 | F3F5 | LD HL,$DC9D | HL=Messaging_AsYouAttackThePirateHidesInATunnelTooSmall. | |
| F3F8 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: F3A8 | Up: Map | Next: F3FB |