Prev: ACCF Up: Map Next: ACF9
ACDF: Init sprite data
Used by the routines at init_stage_8, start_screen and initial_game_loop.
init_sprite_data ACDF LD IX,sprite_data Address of sprite data
ACE3 LD DE,$000C Size of each sprite
ACE6 LD B,$20 Number of sprites
ACE8 XOR A
ACE9 LD (allocated_sprites),A Number of allocated sprites
init_sprite_data_0 ACEC LD (IX+$0A),A Set pattern
This entry point is used by the routine at plot_pixel.
ACEF LD (IX+$00),$FF Set as unallocated
ACF3 INC A
ACF4 ADD IX,DE Advance to next sprite
ACF6 DJNZ init_sprite_data_0 Loop for 32 sprites
ACF8 RET
Prev: ACCF Up: Map Next: ACF9