![]() |
Routines |
| Prev: F0B4 | Up: Map | Next: F0E4 |
|
Used by the routine at Handler_Events.
Event 07: reveal three header items.
|
||||
| Event_RevealHeaderTriple | F0C0 | LD BC,$2614 | Write 2614 to *EventTimer. | |
| F0C3 | LD ($649F),BC | |||
| F0C7 | LD B,$03 | B=03. | ||
| F0C9 | LD IX,($641E) | IX=*Pointer_RoomHeader. | ||
| Event_RevealHeaderTriple_Target | F0CD | PUSH BC | Stash the count on the stack. | |
| F0CE | LD A,(IX+$00) | A=the header record. | ||
| F0D1 | BIT 7,A | Test bit 7. | ||
| F0D3 | PUSH AF | Stash the flags on the stack. | ||
| F0D4 | CALL NZ,Event_DrawHeader_Body | Call Event_DrawHeader_Body if the item is hidden. | ||
| F0D7 | POP AF | Restore the flags from the stack. | ||
| F0D8 | CALL Z,Hide_HeaderItem | Call Hide_HeaderItem if the item is visible. | ||
| F0DB | POP BC | Restore the count from the stack. | ||
| F0DC | LD DE,$0006 | Advance to the next header record. | ||
| F0DF | ADD IX,DE | |||
| F0E1 | DJNZ Event_RevealHeaderTriple_Target | Decrease the count and loop back to Event_RevealHeaderTriple_Target. | ||
| F0E3 | RET | Return. | ||
| Prev: F0B4 | Up: Map | Next: F0E4 |