Prev: 59898 Up: Map Next: 59972
59915: Routine at EA0B
59915 LD A,3 Call Handler_DestroyItemEvent with N/A.
59917 CALL Handler_DestroyItemEvent
59920 LD A,2 Call Handler_UpdateItemEventCurrentRoom with N/A.
59922 CALL Handler_UpdateItemEventCurrentRoom
Print " The Roman suddenly appears and he attacks you...".
59925 LD HL,51631 HL=Messaging_RomanSuddenlyAppears.
59928 CALL PrintStringAndNewline Call PrintStringAndNewline.
59931 LD B,20 B=20.
59933 LD A,34 A=34.
59935 CALL 44753 Call 44753.
59938 AND A Jump to 59949 if A is equal to A.
59939 JR Z,59949
Print " You shouldn't fight on an empty stomach...".
59941 LD HL,51738 HL=Messaging_ShouldntFightOnEmptyStomach.
59944 CALL PausePrintStringAndScroll Call PausePrintStringAndScroll.
59947 LD B,10 B=10.
59949 LD A,B Call GenerateRandomNumber using the maximum value held in B.
59950 CALL GenerateRandomNumber
59953 JR Z,59960 Jump to 59960 if the random number was zero.
Print " You are too fast for him and you easily avoid the blow.".
59955 LD HL,51681 HL=Messaging_YouAreTooFastForHim.
59958 JR 59968 Jump to 59968.
59960 POP HL Restore HL from the stack.
Bad luck!
59961 LD HL,59826 Switch GameOver onto the stack so the next return actions a "game over".
59964 EX (SP),HL
Print " You are taken by surprise. The blow strikes true.".
59965 LD HL,51782 HL=Messaging_YouAreTakenBySurpriseBlowStrikesTrue.
59968 CALL PausePrintStringAndScroll Call PausePrintStringAndScroll.
59971 RET Return.
Prev: 59898 Up: Map Next: 59972