Prev: C2C4 Up: Map Next: C2DF
C2C8: Draw the compass on the panel
Used by the routine at NEW_GAME.
Eight characters from the panel's icons (PANEL_ICONS), in yellow, as two blocks of two by two (PRINT_BLOCK). The characters are stored as the compass's two rows of four, so COMPASS_ORDER picks them out a block at a time. Drawn once, at a new game.
PRINT_COMPASS C2C8 LD HL,PANEL_ICONS the compass's characters; where; yellow
C2CB LD (FONT_BASE),HL
C2CE LD HL,$507B
C2D1 LD DE,COMPASS_ORDER
C2D4 LD A,$46
C2D6 EX AF,AF'
C2D7 CALL PRINT_BLOCK the left half, and then the right
C2DA INC L
C2DB INC L
C2DC JP PRINT_BLOCK
Prev: C2C4 Up: Map Next: C2DF