Prev: EC5F Up: Map Next: ECB6
EC99: Events: Korl Warrior
A Korl warrior attacks. Sometimes the blow is fatal.
Print " A Korl Warrior appears. He swings his sword at you.".
Events_KorlWarrior EC99 LD HL,$DB03 HL=Messaging_AKorlWarriorAppears.
EC9C CALL PrintStringAndNewline Call PrintStringAndNewline.
EC9F LD A,$14 A=14.
ECA1 CALL GenerateRandomNumber Call GenerateRandomNumber.
ECA4 JR NZ,Events_KorlWarrior_Next Jump to Events_KorlWarrior_Next if the blow is not fatal.
ECA6 LD HL,$EB23 Switch GameOver onto the stack so the next return actions a "game over".
ECA9 EX (SP),HL
Print "You were caught by surprise and didn't move quickly enough.".
ECAA LD HL,$D795 HL=Messaging_YouWereCaughtBySurprise.
ECAD JR Events_KorlWarrior_Print Jump to Events_KorlWarrior_Print.
Print "But you are too fast and you evade the blow.".
Events_KorlWarrior_Next ECAF LD HL,$D768 HL=Messaging_ButYouAreTooFastAnd.
Events_KorlWarrior_Print ECB2 CALL PausePrintStringAndScroll Call PausePrintStringAndScroll.
ECB5 RET Return.
Prev: EC5F Up: Map Next: ECB6