![]() |
Routines |
| Prev: DB05 | Up: Map | Next: DB3F |
|
Used by the routine at Handler_Pendulum.
Draws the two pendulum sprites.
|
||||||||||
|
Draw the pair.
|
||||||||||
| Draw_Pendulum | DB24 | LD A,$47 | Write WHITE (BRIGHT) to *ATTR_T. | |||||||
| DB26 | LD ($5C8F),A | |||||||||
| DB29 | PUSH BC | Draw the first sprite at row 12 column 14. | ||||||||
| DB2A | LD A,B | |||||||||
| DB2B | LD BC,$1214 | |||||||||
| DB2E | LD DE,$0102 | |||||||||
| DB31 | CALL JumpTable_PrintSprite | |||||||||
| DB34 | POP BC | |||||||||
| DB35 | LD A,C | Jump to JumpTable_PrintSprite for the second sprite at row 12 column 10. | ||||||||
| DB36 | LD BC,$1210 | |||||||||
| DB39 | LD DE,$0102 | |||||||||
| DB3C | JP JumpTable_PrintSprite | |||||||||
| Prev: DB05 | Up: Map | Next: DB3F |