![]() |
Routines |
| Prev: C381 | Up: Map | Next: C418 |
|
Used by the routine at DrawBlockShape.
Draws one part of a block whose shape is 12 to 15 lengthens both row counts by two, then jumps into DrawBlockShape to finish.
|
||||
| DrawBlockShapeTwo | C3F7 | PUSH BC | Remember the counts and the position. | |
| C3F8 | PUSH HL | |||
| C3F9 | PUSH DE | |||
| C3FA | LD BC,($C3D8) | Use the row routine chosen for this view. | ||
| C3FE | LD ($C408),BC | |||
| C402 | LD A,($C3D5) | Draw this part. | ||
| C405 | LD B,A | |||
| C406 | PUSH BC | |||
| C407 | CALL DrawBlockRow | |||
| C40A | LD A,($C5E9) | Lengthen both row counts by two. | ||
| C40D | ADD A,$02 | |||
| C40F | LD ($C5E9),A | |||
| C412 | LD ($C739),A | |||
| C415 | JP DrawBlockShape_Resume | Continue with the rest of the shape. | ||
| Prev: C381 | Up: Map | Next: C418 |