1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-29 08:16:58 +00:00

freeplay fixin shit

This commit is contained in:
Cameron Taylor 2021-02-24 20:22:37 -05:00
parent 3e65da6d9d
commit 3882de4ad8
3 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,6 @@
package;
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.animation.FlxBaseAnimation;
import flixel.graphics.frames.FlxAtlasFrames;
@ -18,9 +19,9 @@ class Character extends FlxSprite
public function new(x:Float, y:Float, ?character:String = "bf", ?isPlayer:Bool = false)
{
animOffsets = new Map<String, Array<Dynamic>>();
super(x, y);
animOffsets = new Map<String, Array<Dynamic>>();
curCharacter = character;
this.isPlayer = isPlayer;

View file

@ -50,6 +50,7 @@ class FreeplayState extends MusicBeatState
{
songs.push('Spookeez');
songs.push('South');
songs.push('Monster');
}
if (StoryMenuState.weekUnlocked[3] || isDebug)
@ -198,6 +199,10 @@ class FreeplayState extends MusicBeatState
PlayState.SONG = Song.loadFromJson(poop, songs[curSelected].toLowerCase());
PlayState.isStoryMode = false;
PlayState.storyDifficulty = curDifficulty;
// QUICK DUMB MATH
// gets story week from currently selected, will be fuckie if things are NOT in order!
PlayState.storyWeek = Math.ceil((curSelected + 1) / 3);
LoadingState.loadAndSwitchState(new PlayState());
}
}

View file

@ -22,7 +22,7 @@ class StoryMenuState extends MusicBeatState
var weekData:Array<Dynamic> = [
['Tutorial'],
['Bopeebo', 'Fresh', 'Dadbattle'],
['Spookeez', 'South'],
['Spookeez', 'South', "Monster"],
['Pico', 'Philly', "Blammed"],
['Satin-Panties', "High", "Milf"],
['Cocoa', 'Eggnog', 'Winter-Horrorland'],