final fix for spooky bois

This commit is contained in:
codeeater_ 2021-07-26 12:50:16 +03:00 committed by GitHub
parent 92af60e885
commit 32040d5007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4469,20 +4469,8 @@ class PlayState extends MusicBeatState
//SPOOKY BOIS AND GF FIX
switch (dad.curCharacter) {
case 'spooky':
var commandToDance = false;
var commandCompleted = false;
if (SONG.notes[Math.floor(curStep / 16)].mustHitSection)
{
commandToDance = true;
commandCompleted = false;
}
if (commandToDance && !commandCompleted)
{
if (curBeat % 128 == 0) //lol it works
dad.dance();
commandToDance = false;
commandCompleted = true;
}
case 'gf':
{
if (SONG.notes[Math.floor(curStep / 16)].mustHitSection)