Prev: A968 Up: Map Next: A996
A985: Timer 9 tick: the side door appears
The tick routine of timer 9, run when its count is down to 1. The side door is made visible, and if Bilbo is in room 42 he reads 'there is a loud crack and a hole appears about three feet from the ground. you are standing in front of the side door to the lonely mountain.' Next turn the timer expires (A968), and unless Bilbo has opened the door by then, it vanishes again.
A985 LD HL,$C1AB HL = the side door's flags
A988 SET 7,(HL) Make it visible
A98A LD A,($C01B) Is Bilbo at the side door (room 42)?
A98D CP $2A
A98F RET NZ No: done
A990 LD HL,$B169 "there is a loud crack and a hole appears about three feet from the ground..."
A993 JP $72D4
Prev: A968 Up: Map Next: A996