miss sfx option

This commit is contained in:
CyndaquilDAC
2021-07-19 23:56:03 -05:00
parent 8ed09b1929
commit a38f1bdd45
3 changed files with 28 additions and 4 deletions

View File

@ -4035,9 +4035,12 @@ class PlayState extends MusicBeatState
else
songScore -= 10;
FlxG.sound.play(Paths.soundRandom('missnote', 1, 3), FlxG.random.float(0.1, 0.2));
// FlxG.sound.play(Paths.sound('missnote1'), 1, false);
// FlxG.log.add('played imss note');
if(FlxG.save.data.missSounds)
{
FlxG.sound.play(Paths.soundRandom('missnote', 1, 3), FlxG.random.float(0.1, 0.2));
// FlxG.sound.play(Paths.sound('missnote1'), 1, false);
// FlxG.log.add('played imss note');
}
// Hole switch statement replaced with a single line :)
boyfriend.playAnim('sing' + dataSuffix[direction] + 'miss', true);