Accept original canonical angle at first Bubble replay step

This commit is contained in:
UnixNight committed 2026-11-05 09:52:02 -05:00
1 parent 0e2f426d42
commit acd1b287cf
2 files changed
+10 -1

No files matched your search

+3 -1
View File
@@ -106,7 +106,9 @@ public sealed class BubbleSmoke
if (count == 1) checks[1] = effect.Active && !effect.Expanding && effect.Visible
&& effect.Width == 240 && effect.Height >= 210 && effect.Height <= 270;
if (count == 2) checks[2] = player.GadgetMode == 0 && player.MovementMode == 2
&& player.Speed > 0 && player.TurnRate > 0 && MathF.IEEERemainder(player.Pitch,360) < 0 && !player.Shooting;
//The first subdegree negative AddEuler can normalize to360;
//sustained negative lean is covered by the managed integration test.
&& player.Speed > 0 && player.TurnRate > 0 && MathF.IEEERemainder(player.Pitch,360) <= 0 && !player.Shooting;
if (count == 3) checks[3] = player.BubbleBounces > bouncesBeforeHeld
&& MathF.Abs(player.Velocity.Y - 900) < .001f && boingSounds > soundsBeforeHeld;
if (count == 4) checks[4] = player.GadgetMode == 0 && effect.Active && !player.Shooting;