![]() |
Routines |
| Prev: F3D1 | Up: Map | Next: F42A |
|
Play the bottle of water against the witch.
|
||||
| Play_WitchWithWater | F3FB | LD A,$7A | Call ValidateItemPresent with item 7A: "A dead witch.". | |
| F3FD | CALL ValidateItemPresent | |||
| F400 | JR NZ,Play_WitchWithWater_0 | Jump to Play_WitchWithWater_0 if the Z flag is not set. | ||
|
Print "She is already dead.".
|
||||
| F402 | LD HL,$DCFE | HL=Messaging_SheIsAlreadyDead. | ||
| F405 | JP PrintResponse | Jump to PrintResponse. | ||
| Play_WitchWithWater_0 | F408 | LD A,$38 | Call IsPlayerCarryingItem with item 38: "A bottle of water.". | |
| F40A | CALL IsPlayerCarryingItem | |||
| F40D | LD BC,$3837 | Call TransformItem to transform "A bottle of water." into "A bottle.". | ||
| F410 | CALL TransformItem | |||
| F413 | LD BC,$797A | Call TransformItem to transform "A witch." into "A dead witch.". | ||
| F416 | CALL TransformItem | |||
| F419 | LD A,$3E | Write 3E to open westbound access to The Plant Room from The Hall of Black Magic. | ||
| F41B | LD ($E963),A | |||
| F41E | LD A,$03 | Call AddToScore with 03. | ||
| F420 | CALL AddToScore | |||
|
Print "The witch dies screaming.".
|
||||
| F423 | LD HL,$DCE4 | HL=Messaging_TheWitchDiesScreaming. | ||
| F426 | JP PrintResponse | Jump to PrintResponse. | ||
| F429 | NOP | No operation. | ||
| Prev: F3D1 | Up: Map | Next: F42A |