some other crap

This commit is contained in:
Kade M 2021-06-05 12:02:06 -07:00
parent d52d450ce0
commit 1c49504728
21 changed files with 7 additions and 9 deletions

View File

@ -202,11 +202,11 @@ class FreeplayState extends MusicBeatState
if (accepted)
{
var poop:String = Highscore.formatSong(songs[curSelected].songName.toLowerCase(), curDifficulty);
var poop:String = Highscore.formatSong(StringTools.replace(songs[curSelected].songName," ", "-").toLowerCase(), curDifficulty);
trace(poop);
PlayState.SONG = Song.loadFromJson(poop, songs[curSelected].songName.toLowerCase());
PlayState.SONG = Song.loadFromJson(poop, StringTools.replace(songs[curSelected].songName," ", "-").toLowerCase());
PlayState.isStoryMode = false;
PlayState.storyDifficulty = curDifficulty;
PlayState.storyWeek = songs[curSelected].week;

View File

@ -58,7 +58,6 @@ class GameplayCustomizeState extends MusicBeatState
var camFollow = new FlxObject(0, 0, 1, 1);
dad = new Character(100, 100, 'dad');
bf = new Boyfriend(770, 450, 'bf');
bf = new Boyfriend(770, 450, 'bf');

View File

@ -97,15 +97,13 @@ class Paths
inline static public function voices(song:String)
{
var r = ~/\s+/g;
r.replace(song,'-');
song = StringTools.replace(song," ", "-");
return 'songs:assets/songs/${song.toLowerCase()}/Voices.$SOUND_EXT';
}
inline static public function inst(song:String)
{
var r = ~/\s+/g;
r.replace(song,'-');
song = StringTools.replace(song," ", "-");
return 'songs:assets/songs/${song.toLowerCase()}/Inst.$SOUND_EXT';
}

View File

@ -297,7 +297,7 @@ class StoryMenuState extends MusicBeatState
PlayState.storyDifficulty = curDifficulty;
PlayState.SONG = Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase() + diffic, PlayState.storyPlaylist[0].toLowerCase());
PlayState.SONG = Song.loadFromJson(StringTools.replace(PlayState.storyPlaylist[0]," ", "-").toLowerCase() + diffic, StringTools.replace(PlayState.storyPlaylist[0]," ", "-").toLowerCase());
PlayState.storyWeek = curWeek;
PlayState.campaignScore = 0;
new FlxTimer().start(1, function(tmr:FlxTimer)

View File

@ -1,4 +1,5 @@
1.5;
1.5.1;
- 1.5.1: Bug Fixes
- Added toggle for ghost tapping
- Officially support macOS (and add macOS requirements to docs)
- Autoplay