Prev: A985 Up: Map Next: A9A7
A996: Handler for the side door: closing it
Chained after the normal CLOSE handler in the side door's record. When the door is really closed, it is locked again (bit 0), made invisible, and timer 9 is restarted with a count of 6; 'the hole vanishes.' is printed (via A97F). So closing the side door puts it back into its appear-and-vanish cycle.
A996 CALL $975D Only if the door is really being closed
A999 LD A,$06 Restart timer 9 with a count of 6
A99B LD ($C9B3),A
A99E LD HL,$C1AB HL = the side door's flags
A9A1 SET 0,(HL) Lock it
A9A3 RES 7,(HL) Hide it
A9A5 JR $A97F "the hole vanishes."
Prev: A985 Up: Map Next: A9A7