Prev: EBAF Up: Map Next: EBE9
EBCC: Events: Flying Lizard
A flying lizard attacks. Sometimes the blow is fatal.
Print " A Flying Lizard attacks you.".
Events_FlyingLizard EBCC LD HL,$D7D1 HL=Messaging_AFlyingLizardAttacksYou.
EBCF CALL PrintStringAndNewline Call PrintStringAndNewline.
EBD2 LD A,$0F A=0F.
EBD4 CALL GenerateRandomNumber Call GenerateRandomNumber.
EBD7 JR NZ,Events_FlyingLizard_Next Jump to Events_FlyingLizard_Next if the blow is not fatal.
EBD9 LD HL,$EB23 Switch GameOver onto the stack so the next return actions a "game over".
EBDC EX (SP),HL
Print "You move too slowly. It's jaws crush you.".
EBDD LD HL,$D823 HL=Messaging_YouMoveTooSlowly.
EBE0 JR Events_FlyingLizard_Print Jump to Events_FlyingLizard_Print.
Print "But you deftly avoid the the vicious,snapping jaws.".
Events_FlyingLizard_Next EBE2 LD HL,$D7EF HL=Messaging_ButYouDeftlyAvoidThe.
Events_FlyingLizard_Print EBE5 CALL PausePrintStringAndScroll Call PausePrintStringAndScroll.
EBE8 RET Return.
Prev: EBAF Up: Map Next: EBE9