Prev: 61632 Up: Map Next: 61733
61668: Reveal Furniture
Used by the routine at Handler_Events.
Event 25: reveal the first furniture item.
Event_RevealFurniture 61668 LD IX,(25632) IX=*ReferenceFurniture.
61672 BIT 7,(IX+0) Return if this furniture item is already visible.
61676 RET Z
61677 RES 7,(IX+0) Clear bit 7 of the furniture record.
61681 LD BC,7688 Write 7688 to *SoundFlags.
61684 LD (25714),BC
61688 LD C,(IX+0) Fetch the column, row, colour and glyph.
61691 LD B,(IX+1)
61694 LD L,(IX+2)
61697 LD A,(IX+3)
61700 LD E,3
61702 LD D,4
61704 LD IX,25739 IX=CarriedObject.
61708 CALL JumpTable_SpawnEntity Call JumpTable_SpawnEntity.
61711 CALL Copy_ActorDestination Call Copy_ActorDestination.
61714 LD A,(IX+1) Store the drop row four cells above the furniture.
61717 LD (IX+15),A
61720 SUB 4
61722 LD (IX+1),A
61725 LD (IX+17),A
61728 LD (IX+9),1
61732 RET Return.
Prev: 61632 Up: Map Next: 61733