@@ -503,7 +503,6 @@ class APItem {
503503 states. PlayState .storyWeek = - 1 ;
504504 Mods .currentModDirectory = ' ' ;
505505 states. PlayState .storyDifficulty = Difficulty .list .length - 1 ;
506- FlxG .save .flush ();
507506
508507 if (Std .is (FlxG .state , APPlayState )) {
509508 MusicBeatState .resetState ();
@@ -1064,7 +1063,7 @@ class APItem {
10641063 case " Animal Bonus Trap" :
10651064 return new APTrap (name , ConditionHelper . PlayState (), function () {
10661065 popup (' We\' re gonna go someplace SPECIAL!' , ' TrapLink: Animal Bonus Trap' );
1067- var specialSongList = [' Rise' , ' Zeventeen' , ' Pack-A-Punch' , ' Driller' , ' Test Field' , ' Rawr' , ' Fightback' , ' Funky Fanta' , ' Tag And Seek' , ' Testimony' , ' Fangirl Frenzy' , ' Slowdown' ];
1066+ var specialSongList = [' Rise' , ' Zeventeen' , /* 'Pack-A-Punch', 'Driller',*/ ' Test Field' , ' Rawr' , /* 'Fightback',*/ ' Funky Fanta' , /* 'Tag And Seek', 'Testimony', 'Fangirl Frenzy', 'Slowdown'*/ ];
10681067 FlxTween .num (APPlayState .instance .playbackRate , 0 , 0.5 , {
10691068 onComplete : function (e ) {
10701069 APPlayState .instance .paused = false ;
@@ -1080,13 +1079,22 @@ class APItem {
10801079 FlxG .save .data .songPos = FlxG .sound .music .time ;
10811080 FlxG .save .flush ();
10821081
1083- Difficulty .list = Difficulty .defaultList .copy ();
1084- states. PlayState .storyDifficulty = 1 ;
1085- var num = FlxG .random .int (0 , specialSongList .length - 1 );
1086- states. PlayState .SONG = backend. Song .loadFromJson (backend. Highscore .formatSong (specialSongList [num ].toLowerCase (), 1 ), specialSongList [num ].toLowerCase ());
1087- states. PlayState .storyWeek = 0 ;
1082+ var curSong = FlxG .random .int (0 , specialSongList .length - 1 );
1083+ switch (specialSongList [curSong ])
1084+ {
1085+ case ' Small Argument' | ' Beat Battle 2' | ' GeoStar' | ' Zeventeen' | ' Tag And Seek' | ' Rawr' :
1086+ Difficulty .list = [' Hard' ];
1087+ case ' Rise' | ' Test Field' :
1088+ Difficulty .list = [' Normal' ];
1089+ case " Beat Battle" :
1090+ Difficulty .list = [" Normal" , " Reasonable" , " Unreasonable" , " Semi-Impossible" , " Impossible" ];
1091+ default :
1092+ Difficulty .list = Difficulty .defaultList .copy ();
1093+ }
1094+ states. PlayState .SONG = backend. Song .loadFromJson (backend. Highscore .formatSong (specialSongList [curSong ], Difficulty .list .length - 1 ), Paths .formatToSongPath (specialSongList [curSong ]));
1095+ states. PlayState .storyWeek = - 1 ;
10881096 Mods .currentModDirectory = ' ' ;
1089- FlxG . save . flush () ;
1097+ states. PlayState . storyDifficulty = Difficulty . list . length - 1 ;
10901098
10911099 if (Std .is (FlxG .state , APPlayState )) {
10921100 MusicBeatState .resetState ();
0 commit comments