#ifdef MEDIA042_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
BOOLEAN F0428_DIALOG_RequireGameDiskInDrive_NoDialogDrawn(
#ifdef MEDIA009_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G
P0844_B_ForceDialog, P0845_B_ModalDialog)
#endif
#ifdef MEDIA593_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
REGISTER BOOLEAN P0844_B_ForceDialog FINAL_SEPARATOR /* If P0844_B_ForceDialog = C2_FORCE_DIALOG_CSB then F0452_FLOPPY_GetDiskTypeInDrive_CPSB is called twice */
#endif
#ifdef MEDIA014_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J
REGISTER BOOLEAN P0844_B_ForceDialog SEPARATOR /* If P0844_B_ForceDialog = C2_FORCE_DIALOG_CSB then F0452_FLOPPY_GetDiskTypeInDrive_CPSB is called twice */
REGISTER BOOLEAN P0845_B_ModalDialog FINAL_SEPARATOR
#endif
{
        REGISTER char* L1318_pc_Message;
#ifdef MEDIA349_G14ED
        char L1319_ac_String[80];
#endif
        REGISTER BOOLEAN L1316_B_NoDialogDrawn;
#ifdef MEDIA184_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_G14ED_A20ED /* CHANGE7_34_OPTIMIZATION */
        REGISTER BOOLEAN L1317_B_MousePointerNotVisible;
#endif
#ifdef MEDIA287_S20E_S21E_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */
        char L1319_ac_String[80];
#endif
#ifdef MEDIA529_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
        char L1319_ac_String[100];
#endif


#ifdef MEDIA053_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J
        L1316_B_NoDialogDrawn = C1_TRUE;
#endif
#ifdef MEDIA265_S20E_S21E /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */ /* ANOMALY_ST_COMPARISON_WITH_ZERO */
        if (!F0452_FLOPPY_GetDiskTypeInDrive_CPSB(C1_DRIVE_TYPE_GAME_DISK) && (P0844_B_ForceDialog != C2_FORCE_DIALOG_CSB)) {
#endif
#ifdef MEDIA399_G20E_G21E_A20E_A20F_A20G_A21E_A22E_A22G_I34E_I34M /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */
        if ((F0452_FLOPPY_GetDiskTypeInDrive_CPSB(C1_DRIVE_TYPE_GAME_DISK) == C0_DISK_TYPE_GAME_DISK) && (P0844_B_ForceDialog != C2_FORCE_DIALOG_CSB)) {
#endif
#ifdef MEDIA459_P20JA_P20JB_P31J
        if ((F0452_FLOPPY_GetDiskTypeInDrive_CPSB(L1316_B_NoDialogDrawn = C1_TRUE) == C0_DISK_TYPE_GAME_DISK) && (P0844_B_ForceDialog != C2_FORCE_DIALOG_CSB)) { /* Probably possible to merge with line above */
#endif
#ifdef MEDIA349_G14ED
        if ((G0567_B_GameAndSaveDiskUseSameDrive == 0) && (F0452_FLOPPY_GetDiskTypeInDrive_CPSB(C1_DRIVE_TYPE_GAME_DISK) == C0_DISK_TYPE_GAME_DISK)) {
#endif
#ifdef MEDIA410_A20ED
        if (!G0567_B_GameAndSaveDiskUseSameDrive && (F0452_FLOPPY_GetDiskTypeInDrive_CPSB(C1_DRIVE_TYPE_GAME_DISK) == C0_DISK_TYPE_GAME_DISK) && (P0844_B_ForceDialog != C2_FORCE_DIALOG_CSB)) {
#endif
#ifdef MEDIA268_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_P20JA_P20JB_I34E_I34M_P31J /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */
                return L1316_B_NoDialogDrawn;
        }
#endif
#ifdef MEDIA550_F20E_F20J_X30J_A36M_A31E_A31M_A33M_A35E_A35M_X31J /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */
        if (F0452_FLOPPY_GetDiskTypeInDrive_CPSB(C1_DRIVE_TYPE_GAME_DISK) || (P0844_B_ForceDialog == C2_FORCE_DIALOG_CSB)) {
#endif
#ifdef MEDIA670_F31E_F31J
        if (F0452_FLOPPY_GetDiskTypeInDrive_CPSB(L1316_B_NoDialogDrawn = C1_TRUE) || (P0844_B_ForceDialog == C2_FORCE_DIALOG_CSB)) {
#endif
                L1318_pc_Message = NULL;
#ifdef MEDIA275_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_A31E_A35E_F31E_F31J_X31J_P31J /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */
                F0414_SAVEUTIL_ReplaceTildeByDriveLetterInString(L1319_ac_String, G0549_pc_PUTTHEGAMEDISKIN, C1_DRIVE_TYPE_GAME_DISK);
#endif
#ifdef MEDIA736_I34M_A36M_A31M_A33M_A35M
                F0414_SAVEUTIL_ReplaceTildeByDriveLetterInString(L1319_ac_String, F0758_TranslateLanguage(C96_PUT_THE_GAME_DISK_IN), C1_DRIVE_TYPE_GAME_DISK);
#endif
#ifdef MEDIA006_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB /* CHANGE7_03_IMPROVEMENT */
                while (P0844_B_ForceDialog || F0452_FLOPPY_GetDiskTypeInDrive_CPSB()) {
#endif
#ifdef MEDIA265_S20E_S21E /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */ /* ANOMALY_ST_COMPARISON_WITH_ZERO */
                while (P0844_B_ForceDialog || F0452_FLOPPY_GetDiskTypeInDrive_CPSB(C1_DRIVE_TYPE_GAME_DISK)) {
#endif
#ifdef MEDIA365_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */
                while (P0844_B_ForceDialog || (F0452_FLOPPY_GetDiskTypeInDrive_CPSB(C1_DRIVE_TYPE_GAME_DISK) != C0_DISK_TYPE_GAME_DISK)) {
#endif
#ifdef MEDIA593_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
                        F0456_START_DrawDisabledMenus();
#endif
                        L1316_B_NoDialogDrawn = P0844_B_ForceDialog = C0_FALSE;
#ifdef MEDIA398_G20E_G21E_A20E_A20F_A20G_A21E_A22E_A22G_X30J_A36M_A31E_A31M_A33M_A35E_A35M_X31J
                        F0528_FLOPPY_Eject(C1_DRIVE_TYPE_GAME_DISK);
#endif
#ifdef MEDIA006_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB /* CHANGE7_03_IMPROVEMENT */
                        F0427_DIALOG_Draw(L1318_pc_Message, G0549_pc_PUTTHEGAMEDISKIN, G0560_pc_OK, NULL, NULL, NULL, P0845_B_ModalDialog, P0845_B_ModalDialog, P0845_B_ModalDialog);
#endif
#ifdef MEDIA269_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J /* CHANGE7_03_IMPROVEMENT Support for two floppy disk drives */
                        F0427_DIALOG_Draw(L1318_pc_Message, L1319_ac_String, G0560_pc_OK, NULL, NULL, NULL, P0845_B_ModalDialog, P0845_B_ModalDialog, P0845_B_ModalDialog);
#endif
#ifdef MEDIA588_X30J_P20JA_P20JB_I34E_A31E_A35E_F31E_F31J_X31J_P31J
                        M540_F0427_DIALOG_Draw(L1318_pc_Message, L1319_ac_String, G0560_pc_OK, NULL, NULL, NULL, C1_DRIVE_TYPE_GAME_DISK, C1_DIALOG_CHOICE_1);
#endif
#ifdef MEDIA736_I34M_A36M_A31M_A33M_A35M
                        F0427_DIALOG_Draw(L1318_pc_Message, L1319_ac_String, F0758_TranslateLanguage(C105_OK), NULL, NULL, NULL);
#endif
#ifdef MEDIA184_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_G14ED_A20ED /* CHANGE7_34_OPTIMIZATION */
                        if (L1317_B_MousePointerNotVisible = !(G0587_i_HideMousePointerRequestCount <= 0)) {
                                F0078_MOUSE_DisableScreenUpdate();
                        }
                        F0424_DIALOG_GetChoice(C1_ONE_CHOICE, P0845_B_ModalDialog);
                        if (L1317_B_MousePointerNotVisible) {
                                F0077_MOUSE_EnableScreenUpdate_CPSE();
                        }
#endif
#ifdef MEDIA294_S20E_S21E_G20E_G21E_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J /* CHANGE7_34_OPTIMIZATION */
                        F0424_DIALOG_GetChoice(C1_ONE_CHOICE, P0845_B_ModalDialog, C1_DRIVE_TYPE_GAME_DISK, C1_DIALOG_CHOICE_1);
#endif
#ifdef MEDIA593_X30J_P20JA_P20JB_I34E_I34M_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J_P31J
                        F0424_DIALOG_GetChoice(C1_ONE_CHOICE, C1_DRIVE_TYPE_GAME_DISK, C1_DIALOG_CHOICE_1);
#endif
#ifdef MEDIA032_S10EA_S10EB_S11E_S12E_S12G_S13FA_S13FB_S20E_S21E_G14ED_G20E_G21E_A20ED_A20E_A20F_A20G_A21E_A22E_A22G_F20E_F20J_X30J_P20JA_P20JB_I34E_A31E_A35E_F31E_F31J_X31J_P31J
                        L1318_pc_Message = G0538_pc_THATSNOTTHEMASTERDISK;
#endif
#ifdef MEDIA736_I34M_A36M_A31M_A33M_A35M
                        L1318_pc_Message = F0758_TranslateLanguage(C79_THATS_NOT_THE_MASTER_DISK);
#endif
                }
#ifdef MEDIA548_F20E_F20J_X30J_A36M_A31E_A31M_A33M_A35E_A35M_F31E_F31J_X31J
        }
#endif
        return L1316_B_NoDialogDrawn;
}
#endif
