![]() |
Routines |
| Prev: 61908 | Up: Map | Next: 61975 |
|
Used by the routine at Handler_Events.
Event 30: reveal three decorations.
|
||||
| Event_RevealThreeDecorations | 61934 | LD IX,(25646) | IX=*ReferenceDecorations. | |
| 61938 | LD B,3 | B=3. | ||
| Event_RevealThreeDecorations_Target | 61940 | PUSH BC | Stash the count on the stack. | |
| 61941 | LD A,(IX+0) | Jump to Event_RevealThreeDecorations_Continue if this decoration is hidden. | ||
| 61944 | BIT 7,A | |||
| 61946 | JR NZ,Event_RevealThreeDecorations_Continue | |||
| 61948 | LD C,(IX+0) | Fetch the column, row and size. | ||
| 61951 | LD B,(IX+1) | |||
| 61954 | LD E,(IX+4) | |||
| 61957 | LD D,(IX+5) | |||
| 61960 | CALL JumpTable_DrawBox | Call JumpTable_DrawBox. | ||
| 61963 | SET 7,(IX+0) | Set bit 7 of the decoration record. | ||
| Event_RevealThreeDecorations_Continue | 61967 | POP BC | Restore the count from the stack. | |
| 61968 | LD DE,6 | Advance to the next decoration. | ||
| 61971 | ADD IX,DE | |||
| 61973 | DJNZ Event_RevealThreeDecorations_Target | Decrease the count and loop back to Event_RevealThreeDecorations_Target. | ||
|
Continue on to Event_ShowMovers.
|
||||
| Prev: 61908 | Up: Map | Next: 61975 |