Routines |
Prev: 49274 | Up: Map | Next: 49315 |
Used by the routine at 49215.
|
||||
Move Maroc's sprite down 1 pixel and check if he's got to the bottom of his descent.
The check at 49309 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.
|
||||
49305 | LD A,(60114) | Get sprite Y co-ordinate | ||
49308 | INC A | Increase by one | ||
49309 | CP 152 | Is the sprite past the bottom of the playing area (character row 18) | ||
49311 | JR C,49220 | If not, go back and re-draw the sprite | ||
49313 | JR 49345 | If so, finish the movement routine and start the intro music |
Prev: 49274 | Up: Map | Next: 49315 |