Prev: 62011 Up: Map Next: 62178
62060: Show Title Screen
Used by the routine at RunGame.
Draws the title screen, with a frame, the title text and two small graphics, and shows the control icons and the options with UpdateControlIcon and DrawMenuOptions. A tune plays until a key is pressed and then the menu runs with RunTitleMenu. When it has finished, the options are shown again and a short tune plays.
title-screen
ShowTitleScreen 62060 CALL ClearPixels Call ClearPixels.
62063 CALL FillAttributesWhite Call FillAttributesWhite.
62066 LD IX,61994 The title frame parameters.
62070 LD DE,61954 The title frame corners.
62073 LD (IX+9),E Write E to offset 9 of IX.
62076 LD (IX+10),D Write D to offset 10 of IX.
62079 LD DE,61982 The title frame ticks.
62082 LD (IX+12),E Write E to offset 12 of IX.
62085 LD (IX+13),D Write D to offset 13 of IX.
62088 CALL DrawFrame Call DrawFrame.
62091 LD DE,61714 The title text.
62094 LD B,12 B=12.
62096 CALL PrintTextRepeatedly Call PrintTextRepeatedly.
62099 LD HL,48960 Use 48960.
62102 LD DE,62179 The title graphics.
62105 CALL DrawBitmap Call DrawBitmap.
62108 LD HL,48816 Use 48816.
62111 CALL DrawBitmap Call DrawBitmap.
62114 LD A,70 A=70.
62116 LD (23273),A A title-screen attribute.
62119 LD (23286),A A title-screen attribute.
62122 LD HL,18540 HL=18540.
62125 LD (HL),15 Store 15 at the address in HL.
62127 INC L Advance L.
62128 LD B,6 B=6.
ShowTitleScreen_Line 62130 LD (HL),255 Store 255 at the address in HL.
62132 INC L Advance L.
62133 DJNZ ShowTitleScreen_Line Decrease B and jump to ShowTitleScreen_Line until none remain.
62135 LD (HL),240 Store 240 at the address in HL.
62137 LD IX,34568 The control icon data.
62141 LD DE,34574 The control icon sprites.
62144 CALL UpdateControlIcon Call UpdateControlIcon.
62147 LD IX,34571 The second player's control icon.
62151 LD DE,34639 The second control-icon sprite.
62154 CALL UpdateControlIcon Call UpdateControlIcon.
62157 CALL DrawMenuOptions Call DrawMenuOptions.
62160 LD DE,28888 The tune: title screen.
62163 CALL PlayMusic_WaitKey Call PlayMusic_WaitKey.
62166 CALL RunTitleMenu Call RunTitleMenu.
62169 CALL DrawMenuOptions Call DrawMenuOptions.
62172 LD DE,62692 The tune: game start.
62175 JP PlayMusic Jump to PlayMusic.
Prev: 62011 Up: Map Next: 62178