![]() |
Routines |
| Prev: 62288 | Up: Map | Next: 62357 |
|
Used by the routine at Handler_Events.
Event 29: reveal every decoration.
|
||||
| Event_RevealAllDecorations | 62305 | LD IX,(25646) | IX=*ReferenceDecorations. | |
| Event_RevealAllDecorations_Target | 62309 | LD A,(IX+0) | Return if the terminator 255 is reached. | |
| 62312 | CP 255 | |||
| 62314 | RET Z | |||
| 62315 | BIT 7,A | Jump to Event_RevealAllDecorations_Skip if this decoration is already visible. | ||
| 62317 | JR Z,Event_RevealAllDecorations_Skip | |||
| 62319 | RES 7,(IX+0) | Clear bit 7 of the decoration record. | ||
| 62323 | LD C,(IX+0) | BC=the column and row. | ||
| 62326 | LD B,(IX+1) | |||
| 62329 | CALL JumpTable_SetPrintPosition | Call JumpTable_SetPrintPosition. | ||
| 62332 | LD A,(IX+2) | Write the decoration colour to *ATTR_T. | ||
| 62335 | LD (23695),A | |||
| 62338 | LD A,(IX+3) | A=the stored glyph. | ||
| 62341 | LD E,(IX+4) | DE=the stored size. | ||
| 62344 | LD D,(IX+5) | |||
| 62347 | CALL JumpTable_PrintSprite | Call JumpTable_PrintSprite. | ||
| Event_RevealAllDecorations_Skip | 62350 | LD DE,6 | IX+=0006. | |
| 62353 | ADD IX,DE | |||
| 62355 | JR Event_RevealAllDecorations_Target | Jump to Event_RevealAllDecorations_Target. | ||
| Prev: 62288 | Up: Map | Next: 62357 |