![]() |
Routines |
| Prev: EF3A | Up: Map | Next: EF8A |
|
Used by the routine at Handler_Events.
Event 1C: reveal three decorations and three movers.
|
||||
| Event_RevealTriple | EF5C | LD IX,($642E) | IX=*ReferenceDecorations+0018. | |
| EF60 | LD DE,$0018 | |||
| EF63 | ADD IX,DE | |||
| EF65 | LD B,$03 | B=03. | ||
|
Reveal three decorations.
|
||||
| Event_RevealTriple_Target | EF67 | PUSH BC | Stash the count on the stack. | |
| EF68 | CALL Reveal_Decoration | Call Reveal_Decoration. | ||
| EF6B | POP BC | Restore the count from the stack. | ||
| EF6C | LD DE,$0006 | Advance to the next decoration. | ||
| EF6F | ADD IX,DE | |||
| EF71 | DJNZ Event_RevealTriple_Target | Decrease the count and loop back to Event_RevealTriple_Target. | ||
|
Reveal three movers.
|
||||
| EF73 | LD IX,($642A) | IX=*ReferenceMovingObjects+0039. | ||
| EF77 | LD DE,$0039 | |||
| EF7A | ADD IX,DE | |||
| EF7C | LD B,$03 | B=03. | ||
| EF7E | LD DE,$0013 | DE=0013. | ||
| Event_RevealTriple_Target2 | EF81 | RES 7,(IX+$00) | Clear bit 7 of this mover. | |
| EF85 | ADD IX,DE | IX+=DE. | ||
| EF87 | DJNZ Event_RevealTriple_Target2 | Decrease the count and loop back to Event_RevealTriple_Target2. | ||
| EF89 | RET | Return. | ||
| Prev: EF3A | Up: Map | Next: EF8A |