mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-01 01:36:47 +00:00
seen video save data shit
This commit is contained in:
parent
b501d620b8
commit
ac8a8aef42
|
@ -109,6 +109,11 @@ class TitleState extends MusicBeatState
|
||||||
StoryMenuState.weekUnlocked[0] = true;
|
StoryMenuState.weekUnlocked[0] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (FlxG.save.data.seenVideo != null)
|
||||||
|
{
|
||||||
|
VideoState.seenVideo = FlxG.save.data.seenVideo;
|
||||||
|
}
|
||||||
|
|
||||||
#if FREEPLAY
|
#if FREEPLAY
|
||||||
FlxG.switchState(new FreeplayState());
|
FlxG.switchState(new FreeplayState());
|
||||||
#elseif ANIMATE
|
#elseif ANIMATE
|
||||||
|
|
|
@ -23,6 +23,9 @@ class VideoState extends MusicBeatState
|
||||||
|
|
||||||
seenVideo = true;
|
seenVideo = true;
|
||||||
|
|
||||||
|
FlxG.save.data.seenVideo = true;
|
||||||
|
FlxG.save.flush();
|
||||||
|
|
||||||
if (FlxG.sound.music != null)
|
if (FlxG.sound.music != null)
|
||||||
FlxG.sound.music.stop();
|
FlxG.sound.music.stop();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue