Prev: 61620 Up: Map Next: 61668
61632: Reveal Header Triple
Used by the routine at Handler_Events.
Event 7: reveal three header items.
Event_RevealHeaderTriple 61632 LD BC,9748 Write 9748 to *EventTimer.
61635 LD (25759),BC
61639 LD B,3 B=3.
61641 LD IX,(25630) IX=*Pointer_RoomHeader.
Event_RevealHeaderTriple_Target 61645 PUSH BC Stash the count on the stack.
61646 LD A,(IX+0) A=the header record.
61649 BIT 7,A Test bit 7.
61651 PUSH AF Stash the flags on the stack.
61652 CALL NZ,Event_DrawHeader_Body Call Event_DrawHeader_Body if the item is hidden.
61655 POP AF Restore the flags from the stack.
61656 CALL Z,Hide_HeaderItem Call Hide_HeaderItem if the item is visible.
61659 POP BC Restore the count from the stack.
61660 LD DE,6 Advance to the next header record.
61663 ADD IX,DE
61665 DJNZ Event_RevealHeaderTriple_Target Decrease the count and loop back to Event_RevealHeaderTriple_Target.
61667 RET Return.
Prev: 61620 Up: Map Next: 61668