Prev: C07A Up: Map Next: C0A3
C099: Intro sequence - move Maroc's sprite down one pixel
Used by the routine at C03F.
Move Maroc's sprite down 1 pixel and check if he's got to the bottom of his descent.
The check at C09D checks if we're past pixel row 152, which is well into the scroll area in the bottom third of the screen.
However, the Y co-ordinate is where Maroc's body is - his hat is above this, so this value continues the movement routine until the hat has completely disappeared.
C099 LD A,($EAD2) Get sprite Y co-ordinate
C09C INC A Increase by one
C09D CP $98 Is the sprite past the bottom of the playing area (character row 18)
C09F JR C,$C044 If not, go back and re-draw the sprite
C0A1 JR $C0C1 If so, finish the movement routine and start the intro music
Prev: C07A Up: Map Next: C0A3