![]() |
Routines |
| Prev: EC5F | Up: Map | Next: ECB6 |
|
A Korl warrior attacks. Sometimes the blow is fatal.
|
||||
| Events_KorlWarrior | EC99 | LD HL,$DB03 | Print " A Korl Warrior appears. He swings his sword at you.". | |
| EC9C | CALL PrintStringAndANewline | |||
| EC9F | LD A,$14 | Jump to Events_KorlWarrior_Next unless a roll of 14 comes up zero. | ||
| ECA1 | CALL GenerateRandomNumber | |||
| ECA4 | JR NZ,Events_KorlWarrior_Next | |||
| ECA6 | LD HL,$EB23 | Make the blow fatal and print "You were caught by surprise and didn't move quickly enough.". | ||
| ECA9 | EX (SP),HL | |||
| ECAA | LD HL,$D795 | |||
| ECAD | JR Events_KorlWarrior_Print | |||
| Events_KorlWarrior_Next | ECAF | LD HL,$D768 | The blow only glances, with "But you are too fast and you evade the blow.". | |
| Events_KorlWarrior_Print | ECB2 | CALL PausePrintStringAndScroll | Call PausePrintStringAndScroll to pause, then print that message and start a new line. | |
| ECB5 | RET | Return. | ||
| Prev: EC5F | Up: Map | Next: ECB6 |