Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
ChromaSen committed Jun 1, 2024
1 parent d860efc commit 12e5f83
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 339 deletions.
2 changes: 1 addition & 1 deletion source/ForeverTools.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ForeverTools
// make sure the music is playing
if (((FlxG.sound.music != null) && (!FlxG.sound.music.playing)) || (FlxG.sound.music == null))
{
var song = (Init.trueSettings.get("Custom Titlescreen") ? Paths.music('foreverMenu') : Paths.music('freakyMenu'));
var song = Paths.music('freakyMenu');
FlxG.sound.playMusic(song, (resetVolume) ? 0 : 0.7);
if (resetVolume)
FlxG.sound.music.fadeIn(4, 0, 0.7);
Expand Down
11 changes: 1 addition & 10 deletions source/Init.hx
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ class Init extends FlxState
NOT_FORCED
],
'Centered Notefield' => [false, Checkmark, "Center the notes, disables the enemy's notes."],
"Custom Titlescreen" => [
false,
Checkmark,
"Enables the custom Forever Engine titlescreen! (only effective with a restart)",
FORCED
],
'Skip Text' => [
'freeplay only',
Selector,
Expand Down Expand Up @@ -255,10 +249,7 @@ class Init extends FlxState

private function gotoTitleScreen()
{
if (trueSettings.get("Custom Titlescreen"))
Main.switchState(this, new CustomTitlescreen());
else
Main.switchState(this, new TitleState());
Main.switchState(this, new TitleState());
}

public static function loadSettings():Void
Expand Down
4 changes: 4 additions & 0 deletions source/Paths.hx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class Paths
'assets/music/foreverMenu.$SOUND_EXT',
'assets/music/breakfast.$SOUND_EXT',
];
public static function getFile(path:String):String{
var file=path.split("/");
return file[file.length-1];
}

/// haya I love you for the base cache dump I took to the max
public static function clearUnusedMemory()
Expand Down
307 changes: 0 additions & 307 deletions source/meta/state/CustomTitlescreen.hx

This file was deleted.

Loading

0 comments on commit 12e5f83

Please sign in to comment.