/// <summary> /// Play a song based on the location. /// </summary> public void playSong() { if (Lemonade_Globals.restartMusic == false) { FlxG.resumeMp3(); } else { if (Lemonade_Globals.location == "sydney") { FlxG.playMp3("Lemonade/music/Coffee", 0.5f); } else if (Lemonade_Globals.location == "newyork") { FlxG.playMp3("Lemonade/music/January", 0.5f); } else if (Lemonade_Globals.location == "military") { FlxG.playMp3("Lemonade/music/Graveyard", 0.5f); } else if (Lemonade_Globals.location == "warehouse") { FlxG.playMp3("Lemonade/music/February", 0.5f); } else if (Lemonade_Globals.location == "factory") { FlxG.playMp3("Lemonade/music/April", 0.5f); } else if (Lemonade_Globals.location == "management") { FlxG.playMp3("Lemonade/music/GreenlandFuneral", 0.5f); } else { FlxG.playMp3("Lemonade/music/GreenlandFuneral", 0.5f); } } }