![]() |
Routines |
| Prev: 41507 | Up: Map | Next: 41543 |
|
Used by the routines at PrepareErase and UpdateStarLayer.
Sets up the first sprite, which is the sprite that is erased by DrawSprites.
|
||||||||||||||||||
| SelectEraseSprite | 41524 | LD A,B | Fetch the number of rows. | |||||||||||||||
| 41525 | LD (41431),A | Store it. | ||||||||||||||||
| 41528 | LD A,H | Fetch the width. | ||||||||||||||||
| 41529 | LD (23592),A | Store it. | ||||||||||||||||
| 41532 | LD HL,41620 | Use the table of routines that erase sprites. | ||||||||||||||||
| 41535 | CALL GetTableEntry | Fetch the address of the routine. | ||||||||||||||||
| 41538 | PUSH HL | Put it in IY. | ||||||||||||||||
| 41539 | POP IY | |||||||||||||||||
| 41541 | JR SelectEraseSprite_Position | Jump to SelectEraseSprite_Position. | ||||||||||||||||
| Prev: 41507 | Up: Map | Next: 41543 |