Skip to content

Commit aa19393

Browse files
committed
Merge branch 'Archipelago' of https://github.com/Z11Coding/Mixtape-Engine-Rework into Archipelago
2 parents 9b4562f + 6370b84 commit aa19393

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

source/states/PlayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6611,7 +6611,7 @@ class PlayState extends MusicBeatState
66116611
return;
66126612
}
66136613

6614-
if (curBeat % 32 == 0 && RandomSpeedChange && !songAboutToLoop)
6614+
if ((curBeat % 32 == 0 && RandomSpeedChange || curBeat % 8 == 0 && RandomSpeedChange && RandomSpeedChangeWild) && !songAboutToLoop)
66156615
{
66166616
// goes up to 3x speed cuz screw you thats why
66176617
var randomSpeed = RandomSpeedChangeWild ? FlxG.random.float(0.2, 5) : FlxG.random.float(0.45, 2);

source/yutautil/AprilFools.hx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class AprilFools {
1616
}
1717

1818
public static function randomModchartEffect(){
19-
switch(FlxG.random.int(0, 54)) {
19+
switch(FlxG.random.int(0, 54, [23, 24])) {
2020
case 0:
2121
PlayState.instance.modManager.setValue('boost', 1);
2222
case 1:
@@ -62,11 +62,7 @@ class AprilFools {
6262
case 21:
6363
PlayState.instance.modManager.setValue('bounceZ', 1);
6464
case 22:
65-
PlayState.instance.modManager.setValue('tornadoTan', 1);
66-
case 23:
67-
PlayState.instance.modManager.setValue('tornadoZ', 1);
68-
case 24:
69-
PlayState.instance.modManager.setValue('tornadoTanZ', 1);
65+
PlayState.instance.modManager.setValue('tornado', 1);
7066
case 25:
7167
PlayState.instance.modManager.setValue('itgTornado', 1);
7268
case 26:

0 commit comments

Comments
 (0)