using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using HarmonyLib; using MelonLoader; using makeitfreeze; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("SuperAmmo")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SuperAmmo")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("9eb5e0b5-f286-4256-8d88-039d075ded46")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: MelonInfo(typeof(mainclass), "SuperAmmo", "1.0.0", "bayturtleking", null)] [assembly: MelonGame("SUPERHOT_Team", "SUPERHOT")] [assembly: MelonAuthorColor(255, 200, 0, 220)] [assembly: MelonPriority(99)] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace makeitfreeze; public static class buildinfo { public const string name = "SuperAmmo"; public const string version = "1.0.0"; public const string author = "bayturtleking"; } public class mainclass : MelonMod { public override void OnInitializeMelon() { //IL_0005: Unknown result type (might be due to invalid IL or missing references) new Harmony("bayturtleking.superammo").PatchAll(); } } [HarmonyPatch(typeof(Gun), "FireNoAmmo")] public class infinitebulletss { private static bool Prefix(Gun __instance) { __instance.ammoCount = __instance.ammoMax; return false; } } [HarmonyPatch(typeof(SHRLgun), "FireNoAmmo")] public class infinitebulletssforothergun { private static bool Prefix(SHRLgun __instance) { __instance.ammoCount = __instance.ammoMax; return false; } }