Prev: EC3D Up: Map Next: EC99
EC5F: Events: Wolves
Wolves attack. The bow drives them off; otherwise the player dies.
Events_Wolves EC5F LD HL,$DA61 Print " A pack of wolves appears.".
EC62 CALL PrintStringAndANewline
EC65 LD A,$03 Jump to Events_Wolves_Next if the player is not carrying object 03 (the bow).
EC67 CALL IsObjectCarried
EC6A JR NZ,Events_Wolves_Next
EC6C LD A,$04 Jump to Events_Wolves_FightOff when the player is carrying object 04 (the arrows).
EC6E CALL IsObjectCarried
EC71 JR Z,Events_Wolves_FightOff
Events_Wolves_Next EC73 LD HL,$DA7C Print "You have nothing to fight with. They pounce upon you.".
EC76 CALL PausePrintStringAndScroll
EC79 LD HL,$EB23 Switch GameOver onto the stack.
EC7C EX (SP),HL
EC7D RET Return.
Events_Wolves_FightOff EC7E LD HL,$DAB2 Print "You successfully fight them off and kill some of them,but you are badly wounded.".
EC81 CALL PausePrintStringAndScroll
EC84 LD A,$48 Move object 48 (the injury) into the current room.
EC86 CALL Handler_UpdateItemForTheCurrentRoom
EC89 LD A,$8B Destroy object 8B (the wolves).
EC8B CALL Handler_DestroyItem
EC8E LD A,$1B Move object 1B (the dead wolves) into the current room.
EC90 CALL Handler_UpdateItemForTheCurrentRoom
EC93 LD A,$8A Remove object 8A (the wood nymph) from the game.
EC95 CALL Handler_RemoveItemFromPlay
EC98 RET Return.
Prev: EC3D Up: Map Next: EC99