1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-22 14:53:53 +00:00

Merge pull request #502 from FunkinCrew/bugfix/rayman

Fix a bug where Darnell's arms would be invisible on HTML5
This commit is contained in:
Cameron Taylor 2024-04-21 17:25:47 -04:00 committed by GitHub
commit ab336f07af
2 changed files with 26 additions and 1 deletions

View file

@ -37,7 +37,7 @@
"name": "flxanimate",
"type": "git",
"dir": null,
"ref": "9bacdd6",
"ref": "17e0d59",
"url": "https://github.com/FunkinCrew/flxanimate"
},
{

View file

@ -328,6 +328,31 @@ class MainMenuState extends MusicBeatState
FlxG.state.openSubState(new DebugMenuSubState());
}
#if (debug || FORCE_DEBUG_VERSION)
if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.W)
{
// Give the user a score of 1 point on Weekend 1 story mode.
// This makes the level count as cleared and displays the songs in Freeplay.
funkin.save.Save.instance.setLevelScore('weekend1', 'easy',
{
score: 1,
tallies:
{
sick: 0,
good: 0,
bad: 0,
shit: 0,
missed: 0,
combo: 0,
maxCombo: 0,
totalNotesHit: 0,
totalNotes: 0,
},
accuracy: 0,
});
}
#end
if (FlxG.sound.music.volume < 0.8)
{
FlxG.sound.music.volume += 0.5 * elapsed;