Prev: 41543 Up: Map Next: 41594
41574: Set Second Row Group
Used by the routine at DrawShipTop.
Sets up the counters that are used by DrawSpritesDirectly for the second sprite, and finds the screen address of the sprite. Purpose not yet known.
Input
B Number of rows
H Width in bytes
Output
HL Screen address
SetSecondRowGroup 41574 LD A,(49028) Fetch the vertical position from 49028.
41577 LD (41610),A Store it.
41580 LD A,B Fetch the number of rows.
41581 LD (23581),A Store it.
41584 LD A,H Fetch the width.
41585 LD (23593),A Store it.
41588 LD HL,(49027) Fetch the position.
41591 JP GetScreenAddress Find the screen address.
Prev: 41543 Up: Map Next: 41594