YO I GOT PULLED SWAG

YO I GOT PULLED SWAG
This commit is contained in:
CyndaquilDAC authored and GitHub committed 2021-04-06 19:21:41 -05:00
commit 2799203561
2 files changed
+21 -21

No files matched your search

+18 -18
View File
@@ -90,29 +90,13 @@ class ChartingState extends MusicBeatState
override function create() override function create()
{ {
if (PlayState.SONG != null)
_song = PlayState.SONG;
else
{
_song = {
song: 'Test',
notes: [],
bpm: 150,
needsVoices: true,
player1: 'bf',
player2: 'dad',
speed: 1,
validScore: false
};
}
curSection = lastSection; curSection = lastSection;
gridBG = FlxGridOverlay.create(GRID_SIZE, GRID_SIZE, GRID_SIZE * 8, GRID_SIZE * 16); gridBG = FlxGridOverlay.create(GRID_SIZE, GRID_SIZE, GRID_SIZE * 8, GRID_SIZE * 16);
add(gridBG); add(gridBG);
leftIcon = new HealthIcon(PlayState.SONG.player1); leftIcon = new HealthIcon('bf');
rightIcon = new HealthIcon(PlayState.SONG.player2); rightIcon = new HealthIcon('dad');
leftIcon.scrollFactor.set(1, 1); leftIcon.scrollFactor.set(1, 1);
rightIcon.scrollFactor.set(1, 1); rightIcon.scrollFactor.set(1, 1);
@@ -131,6 +115,22 @@ class ChartingState extends MusicBeatState
curRenderedNotes = new FlxTypedGroup<Note>(); curRenderedNotes = new FlxTypedGroup<Note>();
curRenderedSustains = new FlxTypedGroup<FlxSprite>(); curRenderedSustains = new FlxTypedGroup<FlxSprite>();
if (PlayState.SONG != null)
_song = PlayState.SONG;
else
{
_song = {
song: 'Test',
notes: [],
bpm: 150,
needsVoices: true,
player1: 'bf',
player2: 'dad',
speed: 1,
validScore: false
};
}
FlxG.mouse.visible = true; FlxG.mouse.visible = true;
FlxG.save.bind('funkin', 'ninjamuffin99'); FlxG.save.bind('funkin', 'ninjamuffin99');
+3 -3
View File
@@ -37,7 +37,7 @@ class StoryMenuState extends MusicBeatState
public static var weekUnlocked:Array<Bool> = [true, true, true, true, true, true, true]; public static var weekUnlocked:Array<Bool> = [true, true, true, true, true, true, true];
var weekCharacters:Array<Dynamic> = [ var weekCharacters:Array<Dynamic> = [
['gf', 'bf', ''], ['', 'bf', 'gf'],
['dad', 'bf', 'gf'], ['dad', 'bf', 'gf'],
['spooky', 'bf', 'gf'], ['spooky', 'bf', 'gf'],
['pico', 'bf', 'gf'], ['pico', 'bf', 'gf'],
@@ -47,13 +47,13 @@ class StoryMenuState extends MusicBeatState
]; ];
var weekNames:Array<String> = [ var weekNames:Array<String> = [
"", "How to Funk",
"Daddy Dearest", "Daddy Dearest",
"Spooky Month", "Spooky Month",
"PICO", "PICO",
"MOMMY MUST MURDER", "MOMMY MUST MURDER",
"RED SNOW", "RED SNOW",
"hating simulator ft. moawling" "Hating Simulator ft. Moawling"
]; ];
var txtWeekTitle:FlxText; var txtWeekTitle:FlxText;