![]() |
Routines |
| Prev: 62742 | Up: Map | Next: 62902 |
|
Fight the blacksmith.
|
||||
| Handler_KillTheBlacksmith | 62812 | CALL PausePrintStringAndScroll | Call PausePrintStringAndScroll to pause, then print that message and start a new line. | |
| 62815 | LD BC,35892 | Replace object 140 with object 52 (the dead warrior). | ||
| 62818 | CALL TransformItem | |||
|
Reply with "You have killed him.".
|
||||
| 62821 | LD HL,57478 | Print "You have killed him." and return to the game loop. | ||
| 62824 | JP PrintResponse | |||
|
This entry point is used by the routine at Handler_KillTheWitch.
|
||||
| Handler_KillTheBlacksmith_WarriorBow | 62827 | LD HL,59601 | Jump to Handler_KillTheBlacksmith_Next unless the player named the warrior with the bow. | |
| 62830 | CALL Parser_AdvanceToSeparator | |||
| 62833 | JR NZ,Handler_KillTheBlacksmith_Next | |||
| 62835 | LD A,140 | Jump to Response_HesAlreadyDead if object 140 is not here. | ||
| 62837 | CALL IsObjectInCurrentRoom | |||
| 62840 | JP NZ,Response_HesAlreadyDead | |||
| 62843 | CALL Handler_CheckWeapon | Call Handler_CheckWeapon to make sure the player is holding the bow and some arrows. | ||
| 62846 | LD A,5 | Call Handler_AnnounceArrow to announce the arrow. | ||
| 62848 | CALL Handler_AnnounceArrow | |||
| 62851 | LD HL,57102 | Print "Well done! A perfect shot." and strike the blacksmith. | ||
| 62854 | JP Handler_KillTheBlacksmith | |||
| Handler_KillTheBlacksmith_Next | 62857 | LD HL,59610 | Jump to Handler_KillTheBlacksmith_YouCant unless the player named the spider with the bow. | |
| 62860 | CALL Parser_AdvanceToSeparator | |||
| 62863 | JR NZ,Handler_KillTheBlacksmith_YouCant | |||
| 62865 | LD A,65 | Jump to Response_ItsAlreadyDead if object 65 (the giant spider) is not here. | ||
| 62867 | CALL IsObjectInCurrentRoom | |||
| 62870 | JP NZ,Response_ItsAlreadyDead | |||
| 62873 | CALL Handler_CheckWeapon | Call Handler_CheckWeapon to make sure the player is holding the bow and some arrows. | ||
| 62876 | LD A,5 | Call Handler_AnnounceArrow to announce the arrow. | ||
| 62878 | CALL Handler_AnnounceArrow | |||
| 62881 | LD BC,16706 | Replace object 65 (the giant spider) with object 66 (the dead spider). | ||
| 62884 | CALL TransformItem | |||
| 62887 | LD HL,57102 | Print "Well done! A perfect shot.". | ||
| 62890 | CALL PausePrintStringAndScroll | |||
|
Reply with "You have killed it.".
|
||||
| 62893 | LD HL,57312 | Print "You have killed it." and return to the game loop. | ||
| 62896 | JP PrintResponse | |||
| Handler_KillTheBlacksmith_YouCant | 62899 | JP Response_YouCant_GameLoop | Tell the player the command is impossible. | |
| Prev: 62742 | Up: Map | Next: 62902 |