![]()  | 
Routines | 
| Prev: 59898 | Up: Map | Next: 59972 | 
| 
 | 
||||
| Event_Roman | 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 | Call ItemLocator with item 34: "Some food". | ||
| 59935 | CALL ItemLocator | |||
| 59938 | AND A | Jump to Event_Roman_0 if A is equal to A. | ||
| 59939 | JR Z,Event_Roman_0 | |||
| 
 
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. | ||
| Event_Roman_0 | 59949 | LD A,B | Call GenerateRandomNumber using the maximum value held in B. | |
| 59950 | CALL GenerateRandomNumber | |||
| 59953 | JR Z,Event_Roman_1 | Jump to Event_Roman_1 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 Event_Roman_2 | Jump to Event_Roman_2. | ||
| Event_Roman_1 | 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. | ||
| Event_Roman_2 | 59968 | CALL PausePrintStringAndScroll | Call PausePrintStringAndScroll. | |
| 59971 | RET | Return. | ||
| Prev: 59898 | Up: Map | Next: 59972 |