![]() |
Routines |
| Prev: 61157 | Up: Map | Next: 61242 |
|
Used by the routine at Handler_Events.
Event 6: reveal the room-header item.
|
||||
| Event_RevealHeader | 61178 | LD IX,(25630) | IX=*Pointer_RoomHeader. | |
| 61182 | BIT 7,(IX+0) | Return if this header item is already visible. | ||
| 61186 | RET Z | |||
| 61187 | LD BC,8224 | Write 8224 to *SoundFlags. | ||
| 61190 | LD (25714),BC | |||
| 61194 | RES 7,(IX+0) | Clear bit 7 of the header record. | ||
| 61198 | LD C,(IX+0) | Fetch the column, row, width and colour. | ||
| 61201 | LD B,(IX+1) | |||
| 61204 | LD E,(IX+4) | |||
| 61207 | LD D,1 | |||
| 61209 | LD L,(IX+2) | |||
| 61212 | LD A,(IX+3) | |||
| 61215 | LD IX,25739 | IX=CarriedObject. | ||
| 61219 | CALL JumpTable_SpawnEntity | Call JumpTable_SpawnEntity. | ||
| 61222 | CALL Copy_ActorDestination | Call Copy_ActorDestination. | ||
| 61225 | LD (IX+8),1 | Write 1 as the horizontal delta. | ||
| 61229 | LD A,(IX+0) | Subtract the width from the column and store it. | ||
| 61232 | SUB (IX+4) | |||
| 61235 | LD (IX+0),A | |||
| 61238 | LD (IX+19),A | |||
| 61241 | RET | Return. | ||
| Prev: 61157 | Up: Map | Next: 61242 |