Prev: 50049 Up: Map Next: 50200
50167: Draw Block Shape Two
Used by the routine at DrawBlockShape.
Draws one part of a block whose shape is 18 to 21 lengthens both row counts by two, then jumps into DrawBlockShape to finish.
DrawBlockShapeTwo 50167 PUSH BC Remember the counts and the position.
50168 PUSH HL
50169 PUSH DE
50170 LD BC,(50136) Use the row routine chosen for this view.
50174 LD (50184),BC
50178 LD A,(50133) Draw this part.
50181 LD B,A
50182 PUSH BC
50183 CALL DrawBlockRow
50186 LD A,(50665) Lengthen both row counts by two.
50189 ADD A,2
50191 LD (50665),A
50194 LD (51001),A
50197 JP DrawBlockShape_Resume Continue with the rest of the shape.
Prev: 50049 Up: Map Next: 50200