![]() |
Routines |
| Prev: A1FB | Up: Map | Next: A223 |
|
Used by the routine at DrawShipTop.
Reads the width and the number of rows from the header of a sprite.
|
||||||||||||||||
| ReadSpriteSize | A21C | LD A,(DE) | Fetch the width. | |||||||||||||
| A21D | LD H,A | Store it in H. | ||||||||||||||
| A21E | INC DE | Move on to the number of rows. | ||||||||||||||
| A21F | LD A,(DE) | Fetch it. | ||||||||||||||
| A220 | LD B,A | Store it in B. | ||||||||||||||
| A221 | INC DE | Move on to the data. | ||||||||||||||
| A222 | RET | Return. | ||||||||||||||
| Prev: A1FB | Up: Map | Next: A223 |