![]() |
Routines |
| Prev: B3A4 | Up: Map | Next: B3C5 |
|
Graphic 65 is the end of the sparkle an extra life vanishes in (EXTRA_LIFE): it first clears the graphic of its place in PLACES, whose address is in +10 and +11, so the extra life is gone for good. A collapsing block (COLLAPSING_BLOCK) comes here too, with 0 in +10 and +11, and writes its zero into the ROM. Graphic 55, the end of a death's sparkle, comes in at SPARKLE_END. Either way the record becomes graphic 1, which the drawing empties when it next draws it, with a note pitched by the position. Knight Lore's upd_185_187.
Two more entries serve other routines: VANISH, which turns any object into graphic 1 (WANTED_VALVE, SOCKET_SPARKLE), and SOUND_AND_DRAW, a note pitched by U, V and Z and a redraw, the common end of many update routines.
|
||||||||
| SPARKLE_END_PLACE | B3B0 | LD L,(IX+$10) | empty its place | |||||
| B3B3 | LD H,(IX+$11) | |||||||
| B3B6 | LD (HL),$00 | |||||||
| SPARKLE_END | B3B8 | CALL DRAW_AT_L12_D4 | the drawing nudge (graphic 55's entry) | |||||
|
This entry point is used by the routines at WANTED_VALVE and SOCKET_SPARKLE.
|
||||||||
| VANISH | B3BB | LD (IX+$00),$01 | graphic 1: gone when next drawn | |||||
|
|
||||||||
| SOUND_AND_DRAW | B3BF | CALL BEEP_BY_UVZ | a note pitched by U, V and Z, and redraw it | |||||
| B3C2 | JP SET_WIPE_AND_DRAW_FLAGS | |||||||
| Prev: B3A4 | Up: Map | Next: B3C5 |