![]() |
Routines |
| Prev: 62376 | Up: Map | Next: 62459 |
|
Play the sword against the dragon.
|
||||
| Play_DragonWithSword | 62417 | LD A,94 | Call ValidateItemPresent with item 94: "A dead dragon.". | |
| 62419 | CALL ValidateItemPresent | |||
| 62422 | JP Z,Play_BarrowightWithBible_0 | Jump to Play_BarrowightWithBible_0 if the Z flag is set. | ||
| 62425 | LD A,47 | Call IsPlayerCarryingItem with item 47: "A sword.". | ||
| 62427 | CALL IsPlayerCarryingItem | |||
| 62430 | LD BC,23902 | Call TransformItem to transform "A dragon." into "A dead dragon.". | ||
| 62433 | CALL TransformItem | |||
| 62436 | LD A,41 | Write 41 to open northbound access to The Treasury from The Dragon's Lair. | ||
| 62438 | LD (59660),A | |||
| 62441 | LD A,3 | Call AddToScore with 3. | ||
| 62443 | CALL AddToScore | |||
|
Print "Your blow strikes true.
With a last faint roar,it dies.".
|
||||
| 62446 | LD HL,56421 | HL=Messaging_YourBlowStrikesTrue. | ||
| 62449 | JP PrintResponse | Jump to PrintResponse. | ||
| 62452 | 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 | 62453 | LD HL,56477 | HL=Messaging_AsYouAttackThePirateHidesInATunnelTooSmall. | |
| 62456 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: 62376 | Up: Map | Next: 62459 |