![]() |
Routines |
Prev: 59915 | Up: Map | Next: 60000 |
|
||||
Print "
A Fomorian attacks you...".
|
||||
Event_Fomorian | 59972 | LD HL,51833 | HL=Messaging_FomorianAttacksYou. | |
59975 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
59978 | LD A,20 | Call GenerateRandomNumber using 20 as a maximum value. | ||
59980 | CALL GenerateRandomNumber | |||
Print "
You match the evil creature's
speed and avoid the blow.".
|
||||
59983 | LD HL,51860 | HL=Messaging_MatchEvilCreaturesSpeed. | ||
59986 | JR NZ,Fomorian_Return | Jump to Fomorian_Return if the generated number was non-zero. | ||
59988 | POP HL | Discard the return address on the stack. | ||
Bad luck!
|
||||
59989 | LD HL,59826 | Switch GameOver onto the stack so the next return actions a "game over". | ||
59992 | EX (SP),HL | |||
Print "
You are taken by surprise.
The blow strikes true.".
|
||||
59993 | LD HL,51782 | HL=Messaging_YouAreTakenBySurpriseBlowStrikesTrue. | ||
Fomorian_Return | 59996 | CALL PausePrintStringAndScroll | Call PausePrintStringAndScroll. | |
59999 | RET | Return. |
Prev: 59915 | Up: Map | Next: 60000 |