![]() |
Routines |
| Prev: F1D4 | Up: Map | Next: F217 |
|
Used by the routine at Handler_Events.
Event 1E: reveal three decorations.
|
||||
| Event_RevealThreeDecorations | F1EE | LD IX,($642E) | IX=*ReferenceDecorations. | |
| F1F2 | LD B,$03 | B=03. | ||
| Event_RevealThreeDecorations_Target | F1F4 | PUSH BC | Stash the count on the stack. | |
| F1F5 | LD A,(IX+$00) | Jump to Event_RevealThreeDecorations_Continue if this decoration is hidden. | ||
| F1F8 | BIT 7,A | |||
| F1FA | JR NZ,Event_RevealThreeDecorations_Continue | |||
| F1FC | LD C,(IX+$00) | Fetch the column, row and size. | ||
| F1FF | LD B,(IX+$01) | |||
| F202 | LD E,(IX+$04) | |||
| F205 | LD D,(IX+$05) | |||
| F208 | CALL JumpTable_DrawBox | Call JumpTable_DrawBox. | ||
| F20B | SET 7,(IX+$00) | Set bit 7 of the decoration record. | ||
| Event_RevealThreeDecorations_Continue | F20F | POP BC | Restore the count from the stack. | |
| F210 | LD DE,$0006 | Advance to the next decoration. | ||
| F213 | ADD IX,DE | |||
| F215 | DJNZ Event_RevealThreeDecorations_Target | Decrease the count and loop back to Event_RevealThreeDecorations_Target. | ||
|
Continue on to Event_ShowMovers.
|
||||
| Prev: F1D4 | Up: Map | Next: F217 |