Prev: A1D9 Up: Map Next: A1FB
A1EA: Read the old image's graphic header and clip it
Used by the routines at prepare_erase and draw_star_layer.
As new_sprite_header, for the old image (old_sprite_x, old_sprite_y).
Input
DE The graphic
old_sprite_header A1EA LD HL,(old_sprite_x)
A1ED CALL read_graphic_header
A1F0 LD A,(old_sprite_y)
A1F3 CALL clip_sprite_rows
A1F6 LD A,L
A1F7 LD (old_sprite_y),A
A1FA RET
Prev: A1D9 Up: Map Next: A1FB