|  | Routines | 
| Prev: 35906 | Up: Map | Next: 36059 | 
| 
Used by the routine at Game_Over.
 | ||||
| 
The main settings page, used for directing to the controls for P1/ P2 and turning the sound on or off.
 | ||||
| Game_Configs_Main | 35924 | CALL Clear_Screen | Call Clear_Screen. | |
| 35927 | LD DE,36459 | Point to Text_P1_Controls and call Print_String. | ||
| 35930 | LD HL,45 | |||
| 35933 | CALL Print_String | |||
| 35936 | LD DE,36492 | Point to Text_P2_Controls and call Print_String. | ||
| 35939 | LD HL,5174 | |||
| 35942 | CALL Print_String | |||
| 35945 | LD DE,36505 | Point to Text_Sound_On and call Print_String. | ||
| 35948 | LD HL,5183 | |||
| 35951 | CALL Print_String | |||
| 35954 | LD DE,36518 | Point to Text_Sound_Off and call Print_String. | ||
| 35957 | LD HL,5192 | |||
| 35960 | CALL Print_String | |||
| 35963 | LD DE,36531 | Point to Text_Type_1 and call Print_String. | ||
| 35966 | LD HL,1372 | |||
| 35969 | CALL Print_String | |||
| 35972 | LD DE,36550 | Point to Text_Exit and call Print_String. | ||
| 35975 | LD HL,1893 | |||
| 35978 | CALL Print_String | |||
| 
Does the user want to change Player 1 input method?
 | ||||
| Game_Configs_P1 | 35981 | LD A,36 | Check if "1" key is pressed. | |
| 35983 | CALL Keyboard_Test | |||
| 35986 | JP C,Game_Configs_P2 | No keys were pressed, continue on to Game_Configs_P2. | ||
| 35989 | LD HL,35794 | Write Player_1_Controls to Temp_Player. | ||
| 35992 | LD (36457),HL | |||
| 35995 | JP Game_Configs_Controls | Jump to Game_Configs_Controls. | ||
| 
Does the user want to change Player 2 input method?
 | ||||
| Game_Configs_P2 | 35998 | LD A,28 | Check if "2" key is pressed. | |
| 36000 | CALL Keyboard_Test | |||
| 36003 | JP C,Game_Configs_Exit | No keys were pressed, continue on to Game_Configs_Exit. | ||
| 36006 | LD HL,35814 | Write Player_2_Controls to Temp_Player. | ||
| 36009 | LD (36457),HL | |||
| 36012 | JP Game_Configs_Controls | Jump to Game_Configs_Controls. | ||
| 
Does the user want to exit this config screen and go back to the demo mode?
 | ||||
| Game_Configs_Exit | 36015 | LD A,21 | Check if "E" key is pressed. | |
| 36017 | CALL Keyboard_Test | |||
| 36020 | JP NC,Game_Configs_Return | Jump to Game_Configs_Return (just returns). | ||
| 
Does the user want to toggle the sound flag to be "ON".
 | ||||
| Game_Configs_Sound_On | 36023 | LD A,20 | Check if "3" key is pressed. | |
| 36025 | CALL Keyboard_Test | |||
| 36028 | JP C,Game_Configs_Sound_Off | No keys were pressed, continue on to Game_Configs_Sound_Off. | ||
| 36031 | LD A,1 | Write 1 to Flag_Sound. | ||
| 36033 | LD (45818),A | |||
| 36036 | JP Game_Configs_Return | Jump to Game_Configs_Return (just returns). | ||
| 
Does the user want to toggle the sound flag to be "OFF".
 | ||||
| Game_Configs_Sound_Off | 36039 | LD A,12 | Check if "4" key is pressed. | |
| 36041 | CALL Keyboard_Test | |||
| 36044 | JP C,Game_Configs_End | No keys were pressed, continue on to Game_Configs_End. | ||
| 36047 | LD A,0 | Write 0 to Flag_Sound. | ||
| 36049 | LD (45818),A | |||
| 36052 | JP Game_Configs_Return | Jump to Game_Configs_Return (just returns). | ||
| Game_Configs_End | 36055 | JP Game_Configs_P1 | Loop back round to Game_Configs_P1. | |
| 
This entry point is used by the routines at Game_Configs_Controls and Game_Configs_Keys.
 | ||||
| Game_Configs_Return | 36058 | RET | Return. | |
| Prev: 35906 | Up: Map | Next: 36059 |