sWaterParticle 0 0 -10000 -1 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 currentbgm = musTitle; previousbgm = 254; bossbgm = sndJump; sound_id = 0; useMultistageMusic = 0; if (file_exists("musQueenbreak.ogg") and file_exists("musQueen2.ogg") and file_exists("musQueen3.ogg")) { useMultistageMusic = 1; } 1 603 7 0 0 -1 2 self 0 0 1 sfx_stop(musItemGet); 1 603 7 0 0 -1 2 self 0 0 1 if (oMusicV2.bossbgm == sndJump) mus_stop_muted(); 1 603 7 0 0 -1 2 self 0 0 1 sfx_stop(sound_id); sfx_play(sound_id); 1 603 7 0 0 -1 2 self 0 0 1 mus_pause(previousbgm); 1 603 7 0 0 -1 2 self 0 0 1 // Part 3 Queen theme if (!instance_exists(oQueenFireball) && !sfx_isplaying(musQueen3)) { if (instance_exists(oQueen) || global.ingame == false) { mus_play(musQueen3); oMusicV2.bossbgm = musQueen3; } } else { alarm[7] = 1; } 1 603 7 0 0 -1 2 self 0 0 1 // Part 2 Queen theme. if (!instance_exists(oQueenFireball) && !sfx_isplaying(musQueen2)) { if (instance_exists(oQueen) || global.ingame == false) { mus_play(musQueen2); oMusicV2.bossbgm = musQueen2; } } else { alarm[6] = 1; } 1 603 7 0 0 -1 2 self 0 0 1 if (!sfx_isplaying(musQueenIntro) && !sfx_isplaying(musQueen)) { if (instance_exists(oQueen) || global.ingame == false) { mus_play(musQueen); oMusicV2.bossbgm = musQueen; } } else alarm[5] = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (!sfx_isplaying(musMonsterAppear) && !sfx_isplaying(musOmegaFight)) { if (instance_exists(oMOmega) && oMOmega.myhealth > false || global.ingame == 0) { mus_play(musOmegaFight); oMusicV2.bossbgm = musOmegaFight; } } else alarm[4] = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (!sfx_isplaying(musMonsterAppear) && !sfx_isplaying(musZetaFight)) { if (instance_exists(oMZeta) && oMZeta.myhealth > false || global.ingame == 0) { mus_play(musZetaFight); oMusicV2.bossbgm = musZetaFight; } } else alarm[3] = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (!sfx_isplaying(musMonsterAppear) && !sfx_isplaying(musGammaFight)) { if (instance_exists(oMGamma) && oMGamma.myhealth > false || global.ingame == 0) { mus_play(musGammaFight); oMusicV2.bossbgm = musGammaFight; } } else alarm[2] = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (!sfx_isplaying(musMonsterAppear) && !sfx_isplaying(musAlphaFight)) { if (instance_exists(oMAlpha) && oMAlpha.myhealth > false || global.ingame == 0) { mus_play(musAlphaFight); oMusicV2.bossbgm = musAlphaFight; } } else alarm[1] = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (!sfx_isplaying(musFanfare)) { if (!sfx_isplaying(currentbgm)) { mus_current_fadein(); alarm[0] = 10; } } else alarm[0] = 5; /* //Original Code if (!sfx_isplaying(musFanfare)) { mus_current_fadein(); } else alarm[0] = 5; 1 603 7 0 0 -1 2 self 0 0 1 alarm[10] = 210; 1 603 7 0 0 -1 2 self 0 0 1 var yoff, sep; yoff = 48; sep = 8; draw_set_alpha(1); draw_set_font(fontMenuSmall); draw_set_color(c_white); draw_text_shadow(view_xview[0], view_yview[0] + yoff, " Current Song: " + string(currentbgm) + " - Playing: " + string(audio_is_playing(currentbgm)) + " - A0: " + string(alarm[0])); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 1, " Boss: " + string(bossbgm)); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 2, " Title: " + string(254) + " - Playing: " + string(audio_is_playing(musTitle))); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 3, " Fanfare: " + string(256) + " - Playing: " + string(audio_is_playing(musFanfare))); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 4, " Cave: " + string(257) + " - Playing: " + string(audio_is_playing(musMainCave)) + " - Vol: " + string(audio_sound_get_gain(musMainCave))); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 5, " MetAppear: " + string(258) + " - Playing: " + string(audio_is_playing(musMonsterAppear))); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 6, " Alpha: " + string(259) + " - Playing: " + string(audio_is_playing(musAlphaFight))); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 7, " Amb: " + string(260) + " - Playing: " + string(audio_is_playing(musCaveAmbience))); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 8, " Area1A: " + string(261) + " - Playing: " + string(audio_is_playing(musArea1A))); draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 9, " Area1B: " + string(262) + " - Playing: " + string(audio_is_playing(musArea1B))); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1