Prev: F350 Up: Map Next: F395
F361: Reveal All Decorations
Used by the routine at Handler_Events.
Event 1D: reveal every decoration.
Event_RevealAllDecorations F361 LD IX,($642E) IX=*ReferenceDecorations.
Event_RevealAllDecorations_Target F365 LD A,(IX+$00) Return if the terminator FF is reached.
F368 CP $FF
F36A RET Z
F36B BIT 7,A Jump to Event_RevealAllDecorations_Skip if this decoration is already visible.
F36D JR Z,Event_RevealAllDecorations_Skip
F36F RES 7,(IX+$00) Clear bit 7 of the decoration record.
F373 LD C,(IX+$00) BC=the column and row.
F376 LD B,(IX+$01)
F379 CALL JumpTable_SetPrintPosition Call JumpTable_SetPrintPosition.
F37C LD A,(IX+$02) Write the decoration colour to *ATTR_T.
F37F LD ($5C8F),A
F382 LD A,(IX+$03) A=the stored glyph.
F385 LD E,(IX+$04) DE=the stored size.
F388 LD D,(IX+$05)
F38B CALL JumpTable_PrintSprite Call JumpTable_PrintSprite.
Event_RevealAllDecorations_Skip F38E LD DE,$0006 IX+=0006.
F391 ADD IX,DE
F393 JR Event_RevealAllDecorations_Target Jump to Event_RevealAllDecorations_Target.
Prev: F350 Up: Map Next: F395