using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BoneLib.BoneMenu; using HarmonyLib; using Il2CppSLZ.Marrow; using MelonLoader; using NoSlowMo; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: MelonInfo(typeof(NoSlowMoMod), "No Slow Mo", "1.0.2", "Mr. B", null)] [assembly: MelonGame("Stress Level Zero", "BONELAB")] [assembly: AssemblyTitle("NoMoSloMo")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("NoMoSloMo")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("6cdc9c43-d0ae-4004-ba2a-79fc4a861916")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace NoSlowMo; public class NoSlowMoMod : MelonMod { public static bool DisableSlowMotion; public override void OnInitializeMelon() { CreateBoneMenu(); MelonLogger.Msg("No Slow Mo loaded."); } private void CreateBoneMenu() { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) Page val = Page.Root.CreatePage("No Slow Mo", Color.white, 0, true); val.CreateBool("Disable Slow Motion", Color.white, false, (Action)delegate(bool value) { DisableSlowMotion = value; MelonLogger.Msg("Disable Slow Motion: " + (DisableSlowMotion ? "ON" : "OFF")); }); } } [HarmonyPatch(typeof(OpenControllerRig))] public static class OpenControllerRigPatch { [HarmonyPrefix] [HarmonyPatch("TimeInput")] public static bool TimeInputPrefix(OpenControllerRig __instance, bool down, bool up, bool touch) { if (!NoSlowMoMod.DisableSlowMotion) { return true; } __instance._timeInput = false; return false; } }