![]() |
Routines |
| Prev: 41467 | Up: Map | Next: 41507 |
|
Used by the routine at DrawShipTop.
Reads the width and the number of rows from the header of a sprite.
|
||||||||||||||||
| ReadSpriteSize | 41500 | LD A,(DE) | Fetch the width. | |||||||||||||
| 41501 | LD H,A | Store it in H. | ||||||||||||||
| 41502 | INC DE | Move on to the number of rows. | ||||||||||||||
| 41503 | LD A,(DE) | Fetch it. | ||||||||||||||
| 41504 | LD B,A | Store it in B. | ||||||||||||||
| 41505 | INC DE | Move on to the data. | ||||||||||||||
| 41506 | RET | Return. | ||||||||||||||
| Prev: 41467 | Up: Map | Next: 41507 |