From 85ce4a0cebb109d699f54c64feb4eb01aec0da16 Mon Sep 17 00:00:00 2001 From: KadeDev Date: Sat, 20 Mar 2021 02:48:43 -0700 Subject: [PATCH] some tweaks to mashing recovery and stuff --- source/PlayState.hx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 921790b..31024b1 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2401,7 +2401,7 @@ class PlayState extends MusicBeatState // ANTI MASH CODE FOR THE BOYS - if (mashing <= getKeyPresses(note) && mashViolations < 3) + if (mashing <= getKeyPresses(note) && mashViolations < 2) { mashViolations++; goodNoteHit(note, (mashing <= getKeyPresses(note))); @@ -2411,6 +2411,9 @@ class PlayState extends MusicBeatState playerStrums.members[note.noteData].animation.play('static'); trace('mash ' + mashing); } + + if (mashing != 0) + mashing = 0; } else if (!theFunne) { @@ -2420,8 +2423,6 @@ class PlayState extends MusicBeatState function goodNoteHit(note:Note, resetMashViolation = true):Void { - if (mashing != 0) - mashing = 0; if (resetMashViolation) mashViolations = 0;