Prev: EB88 Up: Map Next: EBAF
EB98: Fatal Events: Wizard
Zarn kills the player, and the game ends at once.
Make Zarn inactive.
Events_Wizard EB98 LD HL,$BA36 HL=Flag_TurnBasedEventState.
EB9B RES 4,(HL) Reset bit 4 of *HL.
EB9D LD A,$2A Call ValidateItemPresent with item 2A: "The Wizard,Zarn. He prepares to cast a spell over you".
EB9F CALL ValidateItemPresent
EBA2 RET NZ Return if "The Wizard,Zarn. He prepares to cast a spell over you" is not in the current room.
Print "The Wizard completes his spell and flings a fireball at you.".
EBA3 LD HL,$D716 HL=Messaging_TheWizardCompletesHisSpell.
This entry point is used by the routines at Events_Spider, Events_SlimeMonster and Events_Demons.
Events_AnnounceDeath EBA6 CALL PrintStringAndNewline Call PrintStringAndNewline.
EBA9 POP HL Restore HL from the stack.
EBAA POP HL Restore HL from the stack.
EBAB POP HL Restore HL from the stack.
EBAC JP GameOver Jump to GameOver.
Prev: EB88 Up: Map Next: EBAF