1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-28 18:02:46 +00:00

code in place for story week

This commit is contained in:
Cameron Taylor 2022-08-22 20:18:54 -04:00
parent a731ccf0ad
commit 3be4530fa5

View file

@ -13,8 +13,8 @@ import flixel.text.FlxText;
import flixel.tweens.FlxTween; import flixel.tweens.FlxTween;
import flixel.util.FlxColor; import flixel.util.FlxColor;
import flixel.util.FlxTimer; import flixel.util.FlxTimer;
import lime.net.curl.CURLCode;
import funkin.play.PlayState; import funkin.play.PlayState;
import lime.net.curl.CURLCode;
using StringTools; using StringTools;
@ -30,13 +30,14 @@ class StoryMenuState extends MusicBeatState
['Satin-Panties', "High", "Milf"], ['Satin-Panties', "High", "Milf"],
['Cocoa', 'Eggnog', 'Winter-Horrorland'], ['Cocoa', 'Eggnog', 'Winter-Horrorland'],
['Senpai', 'Roses', 'Thorns'], ['Senpai', 'Roses', 'Thorns'],
['Ugh', 'Guns', 'Stress'] ['Ugh', 'Guns', 'Stress'],
['Darnell', "lit-up", "2hot"]
]; ];
var curDifficulty:Int = 1; var curDifficulty:Int = 1;
// TODO: This info is just hardcoded right now. // TODO: This info is just hardcoded right now.
// We should probably make it so that weeks must be completed in order to unlock the next week. // We should probably make it so that weeks must be completed in order to unlock the next week.
public static var weekUnlocked:Array<Bool> = [true, true, true, true, true, true, true, true]; public static var weekUnlocked:Array<Bool> = [true, true, true, true, true, true, true, true, true];
var weekCharacters:Array<Dynamic> = [ var weekCharacters:Array<Dynamic> = [
['dad', 'bf', 'gf'], ['dad', 'bf', 'gf'],
@ -47,6 +48,7 @@ class StoryMenuState extends MusicBeatState
['parents-christmas', 'bf', 'gf'], ['parents-christmas', 'bf', 'gf'],
['senpai', 'bf', 'gf'], ['senpai', 'bf', 'gf'],
['tankman', 'bf', 'gf'], ['tankman', 'bf', 'gf'],
['pico', 'pico', 'pico']
]; ];
var weekNames:Array<String> = [ var weekNames:Array<String> = [
@ -57,7 +59,8 @@ class StoryMenuState extends MusicBeatState
"MOMMY MUST MURDER", "MOMMY MUST MURDER",
"RED SNOW", "RED SNOW",
"hating simulator ft. moawling", "hating simulator ft. moawling",
"TANKMAN" "TANKMAN",
"DARNELL AND NENE"
]; ];
var txtWeekTitle:FlxText; var txtWeekTitle:FlxText;