![]() |
Routines |
| Prev: EEE5 | Up: Map | Next: EF3A |
|
Used by the routine at Handler_Events.
Event 06: reveal the room-header item.
|
||||
| Event_RevealHeader | EEFA | LD IX,($641E) | IX=*Pointer_RoomHeader. | |
| EEFE | BIT 7,(IX+$00) | Return if this header item is already visible. | ||
| EF02 | RET Z | |||
| EF03 | LD BC,$2020 | Write 2020 to *SoundFlags. | ||
| EF06 | LD ($6472),BC | |||
| EF0A | RES 7,(IX+$00) | Clear bit 7 of the header record. | ||
| EF0E | LD C,(IX+$00) | Fetch the column, row, width and colour. | ||
| EF11 | LD B,(IX+$01) | |||
| EF14 | LD E,(IX+$04) | |||
| EF17 | LD D,$01 | |||
| EF19 | LD L,(IX+$02) | |||
| EF1C | LD A,(IX+$03) | |||
| EF1F | LD IX,$648B | IX=CarriedObject. | ||
| EF23 | CALL JumpTable_SpawnEntity | Call JumpTable_SpawnEntity. | ||
| EF26 | CALL Copy_ActorDestination | Call Copy_ActorDestination. | ||
| EF29 | LD (IX+$08),$01 | Write 01 as the horizontal delta. | ||
| EF2D | LD A,(IX+$00) | Subtract the width from the column and store it. | ||
| EF30 | SUB (IX+$04) | |||
| EF33 | LD (IX+$00),A | |||
| EF36 | LD (IX+$13),A | |||
| EF39 | RET | Return. | ||
| Prev: EEE5 | Up: Map | Next: EF3A |