diff --git a/docs/gameplay/jimmy-movement-stabilization.md b/docs/gameplay/jimmy-movement-stabilization.md index afc47a4..8752a82 100644 --- a/docs/gameplay/jimmy-movement-stabilization.md +++ b/docs/gameplay/jimmy-movement-stabilization.md @@ -97,3 +97,10 @@ orders. Control loss still runs the body, but a supported root need not move; its regression checks the physics count/support/ownership instead of inventing an airborne displacement. Grappler completion/other callbacks are not inferred from these tests. + +The eight-stage Bubble GPU replay exposed the first-step boundary too: a negative +subdegree facing increment can publish canonical360, whose signed remainder is0. +The immediate throttle assertion admits that source result; the sustained managed +case still requires negative lean. Both headless and native1920×1080 SDL Bubble +replays pass all eight phases with zero validation errors. This correction changes +only the smoke predicate, not movement or gadget behavior. diff --git a/src/GamePort/Application/BubbleSmoke.cs b/src/GamePort/Application/BubbleSmoke.cs index 07cacce..83643ee 100644 --- a/src/GamePort/Application/BubbleSmoke.cs +++ b/src/GamePort/Application/BubbleSmoke.cs @@ -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;