Prev: D50D Up: Map Next: D52A
D519: Initialise Wave Start Sprites
Used by the routines at Main_Game_Loop and Animate_Wave_Start_Sprites.
Copies the wave sprite template at Intro_Sprite_Template to the working state at Intro_Sprite_State and resets the animation frame counter to 0E. Called once per wave from Main_Game_Loop before Animate_Wave_Start_Sprites begins advancing frames.
Initialise_Wave_Start_Sprites D519 LD HL,$D501 Set up to copy the sprite template to the working state.
D51C LD DE,$D50D
D51F LD BC,$000C
D522 LDIR Copy the sprite template to the working sprite state.
D524 LD A,$0E Reset the animation frame counter to 0E.
D526 LD ($C531),A
D529 RET Return.
Prev: D50D Up: Map Next: D52A