Prev: 7CAB Up: Map Next: 7CEA
7CAF: Draw the title screen's list of options
Used by the routine at TITLE_SCREEN.
Points the tile source at the text font and then walks seven entries, each with its own string and position, writing the current one into $5E22 as it goes. Those seven are the six choices -- three control methods and three characters -- and the line that starts the game.
DRAW_MENU 7CAF LD HL,$BE4C The text font, less $100: TEXT_FONT-$100
7CB2 LD ($5E01),HL
7CB5 LD DE,MENU_DATA
7CB8 EXX
7CB9 LD HL,MENU_ROWS
7CBC LD DE,MENU_TEXT
7CBF LD B,$07
DRAW_MENU_0 7CC1 EXX
7CC2 LD A,(DE)
7CC3 LD ($5E22),A
7CC6 INC DE
7CC7 EXX
7CC8 PUSH BC
7CC9 LD A,(HL)
7CCA INC HL
7CCB PUSH HL
7CCC LD H,A
7CCD LD L,$58
7CCF CALL PRINT_MENU_LINE
7CD2 EXX
7CD3 POP HL
7CD4 POP BC
7CD5 INC DE
7CD6 DJNZ DRAW_MENU_0
7CD8 LD HL,$B800
7CDB LD DE,COPYRIGHT_LINE
7CDE CALL PRINT_STRING
7CE1 LD HL,$0020
7CE4 LD DE,MENU_TITLE
7CE7 JP PRINT_STRING
Prev: 7CAB Up: Map Next: 7CEA