![]() |
Routines |
| Prev: F0C0 | Up: Map | Next: F125 |
|
Used by the routine at Handler_Events.
Event 19: reveal the first furniture item.
|
||||
| Event_RevealFurniture | F0E4 | LD IX,($6420) | IX=*ReferenceFurniture. | |
| F0E8 | BIT 7,(IX+$00) | Return if this furniture item is already visible. | ||
| F0EC | RET Z | |||
| F0ED | RES 7,(IX+$00) | Clear bit 7 of the furniture record. | ||
| F0F1 | LD BC,$1E08 | Write 1E08 to *SoundFlags. | ||
| F0F4 | LD ($6472),BC | |||
| F0F8 | LD C,(IX+$00) | Fetch the column, row, colour and glyph. | ||
| F0FB | LD B,(IX+$01) | |||
| F0FE | LD L,(IX+$02) | |||
| F101 | LD A,(IX+$03) | |||
| F104 | LD E,$03 | |||
| F106 | LD D,$04 | |||
| F108 | LD IX,$648B | IX=CarriedObject. | ||
| F10C | CALL JumpTable_SpawnEntity | Call JumpTable_SpawnEntity. | ||
| F10F | CALL Copy_ActorDestination | Call Copy_ActorDestination. | ||
| F112 | LD A,(IX+$01) | Store the drop row four cells above the furniture. | ||
| F115 | LD (IX+$0F),A | |||
| F118 | SUB $04 | |||
| F11A | LD (IX+$01),A | |||
| F11D | LD (IX+$11),A | |||
| F120 | LD (IX+$09),$01 | |||
| F124 | RET | Return. | ||
| Prev: F0C0 | Up: Map | Next: F125 |