@@ -91,7 +91,7 @@ class Stage extends MusicBeatState
91
91
case ' halloween' :
92
92
{
93
93
hasGF = true ;
94
- if (FlxG .save .data .distractions )
94
+ if (FlxG .save .data .quality )
95
95
{
96
96
var hallowTex = Paths .getSparrowAtlas (' halloween_bg' );
97
97
@@ -134,7 +134,7 @@ class Stage extends MusicBeatState
134
134
swagBacks [' city' ] = city ;
135
135
toAdd .push (city );
136
136
137
- if (FlxG .save .data .distractions )
137
+ if (FlxG .save .data .quality )
138
138
{
139
139
phillyWindow = new FlxSprite (city .x , city .y ).loadGraphic (Paths .image (' philly/window' ));
140
140
phillyWindow .scrollFactor .set (0.3 , 0.3 );
@@ -151,7 +151,7 @@ class Stage extends MusicBeatState
151
151
toAdd .push (streetBehind );
152
152
153
153
var phillyTrain = new FlxSprite (2000 , 360 ).loadGraphic (Paths .image (' philly/train' ));
154
- if (FlxG .save .data .distractions )
154
+ if (FlxG .save .data .quality )
155
155
{
156
156
swagBacks [' phillyTrain' ] = phillyTrain ;
157
157
toAdd .push (phillyTrain );
@@ -189,7 +189,7 @@ class Stage extends MusicBeatState
189
189
fastCar .moves = true ;
190
190
var grpLimoDancers = new FlxTypedGroup <BackgroundDancer >();
191
191
192
- if (FlxG .save .data .distractions )
192
+ if (FlxG .save .data .quality )
193
193
{
194
194
swagGroup [' grpLimoDancers' ] = grpLimoDancers ;
195
195
toAdd .push (grpLimoDancers );
@@ -217,7 +217,7 @@ class Stage extends MusicBeatState
217
217
layInFront [0 ].push (limo );
218
218
swagBacks [' limo' ] = limo ;
219
219
220
- if (! FlxG .save .data .distractions )
220
+ if (! FlxG .save .data .quality )
221
221
{
222
222
grpLimoDancers .kill ();
223
223
grpLimoDancers .destroy ();
@@ -243,7 +243,7 @@ class Stage extends MusicBeatState
243
243
upperBoppers .scrollFactor .set (0.33 , 0.33 );
244
244
upperBoppers .setGraphicSize (Std .int (upperBoppers .width * 0.85 ));
245
245
upperBoppers .updateHitbox ();
246
- if (FlxG .save .data .distractions )
246
+ if (FlxG .save .data .quality )
247
247
{
248
248
swagBacks [' upperBoppers' ] = upperBoppers ;
249
249
toAdd .push (upperBoppers );
@@ -273,7 +273,7 @@ class Stage extends MusicBeatState
273
273
bottomBoppers .scrollFactor .set (0.9 , 0.9 );
274
274
bottomBoppers .setGraphicSize (Std .int (bottomBoppers .width * 1 ));
275
275
bottomBoppers .updateHitbox ();
276
- if (FlxG .save .data .distractions )
276
+ if (FlxG .save .data .quality )
277
277
{
278
278
swagBacks [' bottomBoppers' ] = bottomBoppers ;
279
279
toAdd .push (bottomBoppers );
@@ -290,13 +290,13 @@ class Stage extends MusicBeatState
290
290
santa .frames = Paths .getSparrowAtlas (' christmas/santa' );
291
291
santa .animation .addByPrefix (' idle' , ' santa idle in fear' , Std .int (24 * PlayState .songMultiplier ), false );
292
292
santa .antialiasing = FlxG .save .data .antialiasing ;
293
- if (FlxG .save .data .distractions )
293
+ if (FlxG .save .data .quality )
294
294
{
295
295
swagBacks [' santa' ] = santa ;
296
296
toAdd .push (santa );
297
297
animatedBacks .push (santa );
298
298
}
299
- if (! FlxG .save .data .distractions )
299
+ if (! FlxG .save .data .quality )
300
300
{
301
301
upperBoppers .kill ();
302
302
bottomBoppers .kill ();
@@ -390,7 +390,7 @@ class Stage extends MusicBeatState
390
390
bgTrees .updateHitbox ();
391
391
treeLeaves .updateHitbox ();
392
392
393
- if (FlxG .save .data .distractions )
393
+ if (FlxG .save .data .quality )
394
394
{
395
395
var bgGirls = new BackgroundGirls (- 100 , 190 );
396
396
bgGirls .scrollFactor .set (0.9 , 0.9 );
@@ -427,7 +427,7 @@ class Stage extends MusicBeatState
427
427
tankSky .scrollFactor .set (0 , 0 );
428
428
swagBacks [' tankSky' ] = tankSky ;
429
429
toAdd .push (tankSky );
430
- if (FlxG .save .data .distractions )
430
+ if (FlxG .save .data .quality )
431
431
{
432
432
var tankClouds : FlxSprite = new FlxSprite (FlxG .random .int (- 700 , - 100 ), FlxG .random .int (- 20 , 20 )).loadGraphic (Paths .image (' tankClouds' ));
433
433
tankClouds .velocity .x = FlxG .random .float (5 , 15 );
@@ -463,7 +463,7 @@ class Stage extends MusicBeatState
463
463
swagBacks [' tankRuins' ] = tankRuins ;
464
464
toAdd .push (tankRuins );
465
465
466
- if (FlxG .save .data .distractions )
466
+ if (FlxG .save .data .quality )
467
467
{
468
468
var smokeLeft : FlxSprite = new FlxSprite (- 200 , - 100 );
469
469
smokeLeft .antialiasing = FlxG .save .data .antialiasing ;
@@ -522,7 +522,7 @@ class Stage extends MusicBeatState
522
522
swagBacks [' foreGround0' ] = foreGround0 ;
523
523
layInFront [2 ].push (foreGround0 );
524
524
525
- if (FlxG .save .data .distractions )
525
+ if (FlxG .save .data .quality )
526
526
{
527
527
var foreGround1 = new FlxSprite (- 300 , 750 );
528
528
foreGround1 .scrollFactor .set (2 , 0.2 );
@@ -543,7 +543,7 @@ class Stage extends MusicBeatState
543
543
swagBacks [' foreGround2' ] = foreGround2 ;
544
544
layInFront [2 ].push (foreGround2 );
545
545
546
- if (FlxG .save .data .distractions )
546
+ if (FlxG .save .data .quality )
547
547
{
548
548
var foreGround3 = new FlxSprite (1300 , 900 );
549
549
foreGround3 .scrollFactor .set (1.5 , 1.5 );
@@ -564,7 +564,7 @@ class Stage extends MusicBeatState
564
564
swagBacks [' foreGround4' ] = foreGround4 ;
565
565
layInFront [2 ].push (foreGround4 );
566
566
567
- if (FlxG .save .data .distractions )
567
+ if (FlxG .save .data .quality )
568
568
{
569
569
var foreGround5 = new FlxSprite (1400 , 1290 );
570
570
foreGround5 .scrollFactor .set (1.5 , 1.5 );
@@ -600,7 +600,7 @@ class Stage extends MusicBeatState
600
600
swagBacks [' stageFront' ] = stageFront ;
601
601
toAdd .push (stageFront );
602
602
603
- if (FlxG .save .data .distractions )
603
+ if (FlxG .save .data .quality )
604
604
{
605
605
var stageCurtains : FlxSprite = new FlxSprite (- 500 , - 300 ).loadGraphic (Paths .image (' stagecurtains' ));
606
606
stageCurtains .setGraphicSize (Std .int (stageCurtains .width * 0.9 ));
@@ -806,31 +806,31 @@ class Stage extends MusicBeatState
806
806
scripts .executeAllFunc (" beatHit" , [beatHit ]);
807
807
#end
808
808
809
- if (FlxG .save .data .distractions && animatedBacks .length > 0 && FlxG .save .data .background )
809
+ if (FlxG .save .data .quality && animatedBacks .length > 0 && FlxG .save .data .background )
810
810
{
811
811
for (bg in animatedBacks )
812
812
bg .animation .play (' idle' , true );
813
813
}
814
814
815
- if (FlxG .save .data .distractions && FlxG .save .data .background )
815
+ if (FlxG .save .data .quality && FlxG .save .data .background )
816
816
{
817
817
switch (curStage )
818
818
{
819
819
case ' halloween' :
820
820
if (FlxG .random .bool (Conductor .bpm > 320 ? 100 : 10 ) && curBeat > lightningStrikeBeat + lightningOffset && ! inEditor )
821
821
{
822
- if (FlxG .save .data .distractions )
822
+ if (FlxG .save .data .quality )
823
823
{
824
824
lightningStrikeShit ();
825
825
}
826
826
}
827
827
case ' school' :
828
- if (FlxG .save .data .distractions )
828
+ if (FlxG .save .data .quality )
829
829
{
830
830
swagBacks [' bgGirls' ].dance ();
831
831
}
832
832
case ' limo' :
833
- if (FlxG .save .data .distractions )
833
+ if (FlxG .save .data .quality )
834
834
{
835
835
swagGroup [' grpLimoDancers' ].forEach (function (dancer : BackgroundDancer )
836
836
{
@@ -862,7 +862,7 @@ class Stage extends MusicBeatState
862
862
}
863
863
}
864
864
case " philly" :
865
- if (FlxG .save .data .distractions )
865
+ if (FlxG .save .data .quality )
866
866
{
867
867
if (! trainMoving )
868
868
trainCooldown + = 1 ;
@@ -881,7 +881,7 @@ class Stage extends MusicBeatState
881
881
&& trainCooldown > 8
882
882
&& ! inEditor )
883
883
{
884
- if (FlxG .save .data .distractions )
884
+ if (FlxG .save .data .quality )
885
885
{
886
886
trainCooldown = FlxG .random .int (- 4 , 0 );
887
887
trainStart ();
@@ -1063,7 +1063,7 @@ class Stage extends MusicBeatState
1063
1063
1064
1064
function trainStart (): Void
1065
1065
{
1066
- if (FlxG .save .data .distractions && FlxG .save .data .background && curStage == ' philly' )
1066
+ if (FlxG .save .data .quality && FlxG .save .data .background && curStage == ' philly' )
1067
1067
{
1068
1068
trainMoving = true ;
1069
1069
trainSound .play (true );
@@ -1074,7 +1074,7 @@ class Stage extends MusicBeatState
1074
1074
1075
1075
function updateTrainPos (): Void
1076
1076
{
1077
- if (FlxG .save .data .distractions && curStage == ' philly' )
1077
+ if (FlxG .save .data .quality && curStage == ' philly' )
1078
1078
{
1079
1079
if (trainSound .time >= 4700 )
1080
1080
{
@@ -1106,7 +1106,7 @@ class Stage extends MusicBeatState
1106
1106
1107
1107
function trainReset (): Void
1108
1108
{
1109
- if (FlxG .save .data .distractions && curStage == ' philly' )
1109
+ if (FlxG .save .data .quality && curStage == ' philly' )
1110
1110
{
1111
1111
if (PlayState .instance .gf != null && PlayState .instance .gf .curCharacter == ' gftrain' )
1112
1112
PlayState .instance .gf .playAnim (' hairFall' );
@@ -1125,7 +1125,7 @@ class Stage extends MusicBeatState
1125
1125
1126
1126
function resetFastCar (): Void
1127
1127
{
1128
- if (FlxG .save .data .distractions && curStage == ' limo' )
1128
+ if (FlxG .save .data .quality && curStage == ' limo' )
1129
1129
{
1130
1130
var fastCar = swagBacks [' fastCar' ];
1131
1131
fastCar .x = - 12600 ;
@@ -1138,7 +1138,7 @@ class Stage extends MusicBeatState
1138
1138
1139
1139
function fastCarDrive ()
1140
1140
{
1141
- if (FlxG .save .data .distractions && curStage == ' limo' )
1141
+ if (FlxG .save .data .quality && curStage == ' limo' )
1142
1142
{
1143
1143
FlxG .sound .play (Paths .soundRandom (' carPass' , 0 , 1 , ' shared' ), 0.7 );
1144
1144
0 commit comments