Prev: CC56 Up: Map Next: CD02
CCE4: The ending's ten records
A graphic and the screen x and y for each, copied into the object records by GAME_OVER when the four villains are gone.
The x and y go into each record's step bytes (+A and +B), which the ending's routines use as a place in the play area, y counting up from its bottom. Records 0-4 are the back of a pit, five pictures side by side (graphics 153-157, drawn in white by ENDING_PIT_FRONT); records 5-8 are the four villains (graphics 144, 146, 148 and 150, the pictures of the villains of 96, 100, 104 and 108), waiting at the left and right edges (ENDING_VILLAIN); record 9 is the front of the pit (graphic 152), updated last and so drawn over whatever is sinking into it.
ENDING_RECORDS CCE4 DEFB $99 Record 0: graphic 153 at x 80, y 96
CCE5 DEFB $50
CCE6 DEFB $60
CCE7 DEFB $9A Record 1: graphic 154 at x 96, y 96
CCE8 DEFB $60
CCE9 DEFB $60
CCEA DEFB $9B Record 2: graphic 155 at x 112, y 96
CCEB DEFB $70
CCEC DEFB $60
CCED DEFB $9C Record 3: graphic 156 at x 128, y 96
CCEE DEFB $80
CCEF DEFB $60
CCF0 DEFB $9D Record 4: graphic 157 at x 144, y 96
CCF1 DEFB $90
CCF2 DEFB $60
CCF3 DEFB $90 Record 5: graphic 144 at x 16, y 128
CCF4 DEFB $10
CCF5 DEFB $80
CCF6 DEFB $92 Record 6: graphic 146 at x 208, y 128
CCF7 DEFB $D0
CCF8 DEFB $80
CCF9 DEFB $94 Record 7: graphic 148 at x 16, y 128
CCFA DEFB $10
CCFB DEFB $80
CCFC DEFB $96 Record 8: graphic 150 at x 208, y 128
CCFD DEFB $D0
CCFE DEFB $80
CCFF DEFB $98 Record 9: graphic 152 at x 96, y 72
CD00 DEFB $60
CD01 DEFB $48
Prev: CC56 Up: Map Next: CD02