![]() |
Routines |
| Prev: 60477 | Up: Map | Next: 60569 |
|
Wolves attack. The bow drives them off; otherwise the player dies.
|
||||
| Events_Wolves | 60511 | LD HL,55905 | Print " A pack of wolves appears.". | |
| 60514 | CALL PrintStringAndANewline | |||
| 60517 | LD A,3 | Jump to Events_Wolves_Next if the player is not carrying object 3 (the bow). | ||
| 60519 | CALL IsObjectCarried | |||
| 60522 | JR NZ,Events_Wolves_Next | |||
| 60524 | LD A,4 | Jump to Events_Wolves_FightOff when the player is carrying object 4 (the arrows). | ||
| 60526 | CALL IsObjectCarried | |||
| 60529 | JR Z,Events_Wolves_FightOff | |||
| Events_Wolves_Next | 60531 | LD HL,55932 | Print "You have nothing to fight with. They pounce upon you.". | |
| 60534 | CALL PausePrintStringAndScroll | |||
| 60537 | LD HL,60195 | Switch GameOver onto the stack. | ||
| 60540 | EX (SP),HL | |||
| 60541 | RET | Return. | ||
| Events_Wolves_FightOff | 60542 | LD HL,55986 | Print "You successfully fight them off and kill some of them,but you are badly wounded.". | |
| 60545 | CALL PausePrintStringAndScroll | |||
| 60548 | LD A,72 | Move object 72 (the injury) into the current room. | ||
| 60550 | CALL Handler_UpdateItemForTheCurrentRoom | |||
| 60553 | LD A,139 | Destroy object 139 (the wolves). | ||
| 60555 | CALL Handler_DestroyItem | |||
| 60558 | LD A,27 | Move object 27 (the dead wolves) into the current room. | ||
| 60560 | CALL Handler_UpdateItemForTheCurrentRoom | |||
| 60563 | LD A,138 | Remove object 138 (the wood nymph) from the game. | ||
| 60565 | CALL Handler_RemoveItemFromPlay | |||
| 60568 | RET | Return. | ||
| Prev: 60477 | Up: Map | Next: 60569 |