Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Sync with private repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ActualMandM committed Dec 25, 2023
1 parent 8158996 commit 83da7a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions source/DokiFreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class DokiFreeplayState extends MusicBeatState

menu_character = new FlxSprite(40, 490);
if (curPage != 3)
{
{
menu_character.frames = Paths.getSparrowAtlas('freeplay/chibidorks');
menu_character.animation.addByPrefix('idle', 'FreeplayChibiIdle', 24, false);
menu_character.animation.addByPrefix('pop_off', 'FreeplayChibiCheer', 24, false);
Expand Down Expand Up @@ -629,7 +629,7 @@ class DokiFreeplayState extends MusicBeatState
FlxG.sound.music.destroy();
FlxG.sound.music = null;
}

playSong();
}
}
Expand Down Expand Up @@ -691,7 +691,7 @@ class DokiFreeplayState extends MusicBeatState
FlxG.sound.play(Paths.sound('confirmMenu'));
MusicBeatState.switchState(new CostumeSelectState());
}

}

function onMouseOver(txt:FlxText):Void
Expand All @@ -714,16 +714,16 @@ class DokiFreeplayState extends MusicBeatState
if (!multiDiff.contains(songName.toLowerCase()))
diff = 1;

if (songName.contains("-alt") && diffsuffix == "-alt") {
if (songName.contains("-alt") && diffsuffix == "-alt")
{
diffsuffix = "";
suffixChanged = true;
}

intendedScore = Highscore.getScore(songName + diffsuffix, diff);

if (suffixChanged) {
if (suffixChanged)
diffsuffix = "-alt";
}
}

function changePage(huh:Int = 0)
Expand Down
4 changes: 3 additions & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5228,8 +5228,10 @@ class PlayState extends MusicBeatState
endSong();

case 'obsession':
if (staticshock != null)
staticshock.visible = false;

remove(whiteflash);
staticshock.visible = false;
obsessionending();
endcutscene();
}
Expand Down

0 comments on commit 83da7a8

Please sign in to comment.