Prev: A4C0 Up: Map Next: A4F5
A4D9: Event: Close The Goblins Door
Closes the object at C34B. The goblins door record at CA9B calls this.
Event_CloseTheGoblinsDoor A4D9 LD HL,$C34B Point HL at C34B.
A4DC RES 5,(HL) Close that object.
A4DE RET Return.
If the message is held back, the goblins' door is not closed.
A4DF CALL ConditionSuppressTheMessage Call ConditionSuppressTheMessage. If the message is held back, the goblins' door is not closed.
A4E2 LD A,$0A Roll a random number below 0A.
Roll a random number.
A4E4 CALL GetRandomNumber Call GetRandomNumber to roll a number from the limit in A.
A4E7 LD HL,$B0A6 Point HL at "what do you expect me to do with this ?".
A4EA CP $08 Jump back to Response_YouSay if the roll is not below 08.
A4EC JP NC,Response_YouSay
A4EF LD HL,$B047 Point HL at "thank you.".
A4F2 JP Response_YouSay Jump back to Response_YouSay to print "thank you.".
Prev: A4C0 Up: Map Next: A4F5