25600: Copy source sprite tiles over target sprite tiles
Used by the routine at 25618 to prepare sprite tiles 239-247, which are used by animatory states 9, 10, 15 and 31 (corresponding to the sprites of Sam rolling and somersaulting).
Input
C
Number of tiles to copy
E
Target sprite tile reference
L
Source sprite tile reference
Output
25600
LD H,199
This is the base page of the graphic data for the source tile
This entry point is used by the routine at 25618 with H=215.
25602
LD D,199
This is the base page of the graphic data for the target tile
25604
LD B,16
Copy the source sprite tile over the target sprite tile (8 bytes of graphic data interleaved with 8 bytes of mask data)