Prev: 62130 Up: Map Next: 62237
62176: Reveal Door
Used by the routine at Handler_Events.
Event 18: reveal the first door.
Event_RevealDoor 62176 LD IX,(25634) IX=*ReferenceDoors.
This entry point is used by the routines at Event_RevealNextDoor and Event_RevealThirdDoor.
Event_RevealDoor_Body 62180 BIT 7,(IX+0) Return if this door is already visible.
62184 RET Z
62185 RES 7,(IX+0) Clear bit 7 of the door record.
62189 HALT Halt.
62190 LD BC,4102 Write 4102 to *SoundFlags.
62193 LD (25714),BC
62197 LD C,(IX+0) Fetch the column, row and colour; glyph 132.
62200 LD B,(IX+1)
62203 LD L,(IX+2)
62206 LD A,132
62208 LD DE,514
62211 LD IX,25739 IX=CarriedObject.
62215 CALL JumpTable_SpawnEntity Call JumpTable_SpawnEntity.
62218 CALL Copy_ActorDestination Call Copy_ActorDestination.
62221 LD A,(IX+1) Store the drop row two cells below the door.
62224 LD (IX+16),A
62227 INC A
62228 INC A
62229 LD (IX+1),A
62232 LD (IX+9),255
62236 RET Return.
Prev: 62130 Up: Map Next: 62237