![]() |
Routines |
| Prev: 54541 | Up: Map | Next: 54570 |
|
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 14. Called once per wave from Main_Game_Loop before Animate_Wave_Start_Sprites begins advancing frames.
|
||||
| Initialise_Wave_Start_Sprites | 54553 | LD HL,54529 | Set up to copy the sprite template to the working state. | |
| 54556 | LD DE,54541 | |||
| 54559 | LD BC,12 | |||
| 54562 | LDIR | Copy the sprite template to the working sprite state. | ||
| 54564 | LD A,14 | Reset the animation frame counter to 14. | ||
| 54566 | LD (50481),A | |||
| 54569 | RET | Return. | ||
| Prev: 54541 | Up: Map | Next: 54570 |