![]() |
Routines |
| Prev: F0E4 | Up: Map | Next: F164 |
|
Used by the routine at Handler_Events.
Event 1B: reveal the first ladder.
|
||||
| Event_RevealLadder | F125 | LD IX,($6428) | IX=*ReferenceLadders. | |
| F129 | BIT 7,(IX+$00) | Return if this ladder is already visible. | ||
| F12D | RET Z | |||
| F12E | RES 7,(IX+$00) | Clear bit 7 of the ladder record. | ||
| F132 | LD BC,$2207 | Write 2207 to *SoundFlags. | ||
| F135 | LD ($6472),BC | |||
| F139 | LD C,(IX+$00) | Fetch the column, row and colour; glyph D9. | ||
| F13C | LD B,(IX+$01) | |||
| F13F | LD L,(IX+$02) | |||
| F142 | LD A,$D9 | |||
| F144 | LD DE,$0502 | |||
| F147 | LD IX,$648B | IX=CarriedObject. | ||
| F14B | CALL JumpTable_SpawnEntity | Call JumpTable_SpawnEntity. | ||
| F14E | CALL Copy_ActorDestination | Call Copy_ActorDestination. | ||
| F151 | LD A,(IX+$01) | Store the drop row five cells above the ladder. | ||
| F154 | LD (IX+$0F),A | |||
| F157 | SUB $05 | |||
| F159 | LD (IX+$01),A | |||
| F15C | LD (IX+$11),A | |||
| F15F | LD (IX+$09),$01 | |||
| F163 | RET | Return. | ||
| Prev: F0E4 | Up: Map | Next: F164 |