![]() |
Routines |
| Prev: 41427 | Up: Map | Next: 41450 |
|
Used by the routines at PrepareDraw and UpdateStarLayer.
Fetches the header of the second sprite and clips it to the playfield.
|
||||||||||||||||||
| ClipSecondSprite | 41433 | LD HL,(41429) | Fetch the position of the second sprite. | |||||||||||||||
| 41436 | CALL ReadSpriteHeader | Read the header of the sprite. | ||||||||||||||||
| 41439 | LD A,(41430) | Fetch the vertical position. | ||||||||||||||||
| 41442 | CALL ClipSpriteVertically | Clip the sprite at the top and bottom of the playfield. | ||||||||||||||||
| 41445 | LD A,L | Fetch the clipped vertical position. | ||||||||||||||||
| 41446 | LD (41430),A | Store it. | ||||||||||||||||
| 41449 | RET | Return. | ||||||||||||||||
| Prev: 41427 | Up: Map | Next: 41450 |