![]() |
Routines |
| Prev: 42176 | Up: Map | Next: 42229 |
| Event_CloseTheGoblinsDoor | 42201 | LD HL,49995 | Point HL at 49995. | |
| 42204 | RES 5,(HL) | Close that object. | ||
| 42206 | RET | Return. | ||
|
If the message is held back, the goblins' door is not closed.
|
||||
| 42207 | CALL ConditionSuppressTheMessage | Call ConditionSuppressTheMessage. If the message is held back, the goblins' door is not closed. | ||
| 42210 | LD A,10 | Roll a random number below 10. | ||
|
Roll a random number.
|
||||
| 42212 | CALL GetRandomNumber | Call GetRandomNumber to roll a number from the limit in A. | ||
| 42215 | LD HL,45222 | Point HL at "what do you expect me to do with this ?". | ||
| 42218 | CP 8 | Jump back to Response_YouSay if the roll is not below 8. | ||
| 42220 | JP NC,Response_YouSay | |||
| 42223 | LD HL,45127 | Point HL at "thank you.". | ||
| 42226 | JP Response_YouSay | Jump back to Response_YouSay to print "thank you.". | ||
| Prev: 42176 | Up: Map | Next: 42229 |