Decompiled source of PenguinSlide v0.2.0
PenguinSlide/mods/PenguinSlide/PenguinSlide.dll
Decompiled a week ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Text.Json.Serialization; using GDWeave; using GDWeave.Godot; using GDWeave.Godot.Variants; using GDWeave.Modding; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(/*Could not decode attribute arguments.*/)] [assembly: TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] [assembly: AssemblyCompany("PenguinSlide")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0.0+7df28583c134407ff9f3a28954048e27fbd989b7")] [assembly: AssemblyProduct("PenguinSlide")] [assembly: AssemblyTitle("PenguinSlide")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace PenguinSlide; public class Config { [JsonInclude] public float Speed = 12f; [JsonInclude] public float TurnSpeed = 2f; [JsonInclude] public bool EnableRoll = true; } public class Mod : IMod, global::System.IDisposable { public Config Config; public Mod(IModInterface modInterface) { modInterface.Logger.Information("InfiniteSlide Mod Loaded!"); Config = modInterface.ReadConfig<Config>(); modInterface.RegisterScriptMod((IScriptMod)(object)new PlayerPatch(Config.Speed, Config.TurnSpeed, Config.EnableRoll)); } public void Dispose() { } } public class PlayerPatch : IScriptMod { [CompilerGenerated] private sealed class <Modify>d__5 : global::System.Collections.Generic.IEnumerable<Token>, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerator<Token>, global::System.Collections.IEnumerator, global::System.IDisposable { private int <>1__state; private Token <>2__current; private int <>l__initialThreadId; private float speed; public float <>3__speed; private float turnSpeed; public float <>3__turnSpeed; private bool enableRoll; public bool <>3__enableRoll; private string path; public string <>3__path; private global::System.Collections.Generic.IEnumerable<Token> tokens; public global::System.Collections.Generic.IEnumerable<Token> <>3__tokens; public PlayerPatch <>4__this; private MultiTokenWaiter <diveDistanceWaiter>5__1; private MultiTokenWaiter <requestJumpWaiter>5__2; private MultiTokenWaiter <moveJumpWaiter>5__3; private MultiTokenWaiter <moveForwardWaiter>5__4; private MultiTokenWaiter <moveBackWaiter>5__5; private MultiTokenWaiter <moveRightWaiter>5__6; private MultiTokenWaiter <moveLeftWaiter>5__7; private MultiTokenWaiter <ySlowWaiter>5__8; private MultiTokenWaiter <mushroomFovWaiter>5__9; private MultiTokenWaiter <diveVecWaiter>5__10; private MultiTokenWaiter <ifDivingWaiter>5__11; private MultiTokenWaiter <playerScaleWaiter>5__12; private global::System.Collections.Generic.IEnumerator<Token> <>s__13; private Token <token>5__14; Token global::System.Collections.Generic.IEnumerator<Token>.Current { [DebuggerHidden] get { return <>2__current; } } object global::System.Collections.IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public <Modify>d__5(int <>1__state) { this.<>1__state = <>1__state; <>l__initialThreadId = Environment.CurrentManagedThreadId; } [DebuggerHidden] void global::System.IDisposable.Dispose() { int num = <>1__state; if (num != -3 && (uint)(num - 1) > 231u) { return; } try { } finally { <>m__Finally1(); } } private bool MoveNext() { //IL_15d7: Unknown result type (might be due to invalid IL or missing references) //IL_15e1: Expected O, but got Unknown //IL_15dc: Unknown result type (might be due to invalid IL or missing references) //IL_15e6: Expected O, but got Unknown //IL_1608: Unknown result type (might be due to invalid IL or missing references) //IL_1612: Expected O, but got Unknown //IL_1634: Unknown result type (might be due to invalid IL or missing references) //IL_163e: Expected O, but got Unknown //IL_165a: Unknown result type (might be due to invalid IL or missing references) //IL_1664: Expected O, but got Unknown //IL_1686: Unknown result type (might be due to invalid IL or missing references) //IL_1690: Expected O, but got Unknown //IL_16a8: Unknown result type (might be due to invalid IL or missing references) //IL_16b2: Expected O, but got Unknown //IL_16ad: Unknown result type (might be due to invalid IL or missing references) //IL_16b7: Expected O, but got Unknown //IL_16d9: Unknown result type (might be due to invalid IL or missing references) //IL_16e3: Expected O, but got Unknown //IL_1744: Unknown result type (might be due to invalid IL or missing references) //IL_174e: Expected O, but got Unknown //IL_176b: Unknown result type (might be due to invalid IL or missing references) //IL_1775: Expected O, but got Unknown //IL_1798: Unknown result type (might be due to invalid IL or missing references) //IL_17a2: Expected O, but got Unknown //IL_17bb: Unknown result type (might be due to invalid IL or missing references) //IL_17c5: Expected O, but got Unknown //IL_17c0: Unknown result type (might be due to invalid IL or missing references) //IL_17ca: Expected O, but got Unknown //IL_17ed: Unknown result type (might be due to invalid IL or missing references) //IL_17f7: Expected O, but got Unknown //IL_1858: Unknown result type (might be due to invalid IL or missing references) //IL_1862: Expected O, but got Unknown //IL_1885: Unknown result type (might be due to invalid IL or missing references) //IL_188f: Expected O, but got Unknown //IL_18ac: Unknown result type (might be due to invalid IL or missing references) //IL_18b6: Expected O, but got Unknown //IL_18d9: Unknown result type (might be due to invalid IL or missing references) //IL_18e3: Expected O, but got Unknown //IL_1900: Unknown result type (might be due to invalid IL or missing references) //IL_190a: Expected O, but got Unknown //IL_192d: Unknown result type (might be due to invalid IL or missing references) //IL_1937: Expected O, but got Unknown //IL_1954: Unknown result type (might be due to invalid IL or missing references) //IL_195e: Expected O, but got Unknown //IL_1959: Unknown result type (might be due to invalid IL or missing references) //IL_1963: Expected O, but got Unknown //IL_1986: Unknown result type (might be due to invalid IL or missing references) //IL_1990: Expected O, but got Unknown //IL_19b3: Unknown result type (might be due to invalid IL or missing references) //IL_19bd: Expected O, but got Unknown //IL_1a2e: Unknown result type (might be due to invalid IL or missing references) //IL_1a38: Expected O, but got Unknown //IL_1a55: Unknown result type (might be due to invalid IL or missing references) //IL_1a5f: Expected O, but got Unknown //IL_1af3: Unknown result type (might be due to invalid IL or missing references) //IL_1afd: Expected O, but got Unknown //IL_1b1a: Unknown result type (might be due to invalid IL or missing references) //IL_1b24: Expected O, but got Unknown //IL_1bb8: Unknown result type (might be due to invalid IL or missing references) //IL_1bc2: Expected O, but got Unknown //IL_1bdf: Unknown result type (might be due to invalid IL or missing references) //IL_1be9: Expected O, but got Unknown //IL_1c7d: Unknown result type (might be due to invalid IL or missing references) //IL_1c87: Expected O, but got Unknown //IL_1ca4: Unknown result type (might be due to invalid IL or missing references) //IL_1cae: Expected O, but got Unknown //IL_1d38: Unknown result type (might be due to invalid IL or missing references) //IL_1d42: Expected O, but got Unknown //IL_1d65: Unknown result type (might be due to invalid IL or missing references) //IL_1d6f: Expected O, but got Unknown //IL_1d8c: Unknown result type (might be due to invalid IL or missing references) //IL_1d96: Expected O, but got Unknown //IL_1db9: Unknown result type (might be due to invalid IL or missing references) //IL_1dc3: Expected O, but got Unknown //IL_1de0: Unknown result type (might be due to invalid IL or missing references) //IL_1dea: Expected O, but got Unknown //IL_1e0d: Unknown result type (might be due to invalid IL or missing references) //IL_1e17: Expected O, but got Unknown //IL_1e3a: Unknown result type (might be due to invalid IL or missing references) //IL_1e44: Expected O, but got Unknown //IL_1e67: Unknown result type (might be due to invalid IL or missing references) //IL_1e71: Expected O, but got Unknown //IL_1e94: Unknown result type (might be due to invalid IL or missing references) //IL_1e9e: Expected O, but got Unknown //IL_1ebb: Unknown result type (might be due to invalid IL or missing references) //IL_1ec5: Expected O, but got Unknown //IL_1ee8: Unknown result type (might be due to invalid IL or missing references) //IL_1ef2: Expected O, but got Unknown //IL_1f15: Unknown result type (might be due to invalid IL or missing references) //IL_1f1f: Expected O, but got Unknown //IL_1f42: Unknown result type (might be due to invalid IL or missing references) //IL_1f4c: Expected O, but got Unknown //IL_1f6f: Unknown result type (might be due to invalid IL or missing references) //IL_1f79: Expected O, but got Unknown //IL_1f96: Unknown result type (might be due to invalid IL or missing references) //IL_1fa0: Expected O, but got Unknown //IL_1fc3: Unknown result type (might be due to invalid IL or missing references) //IL_1fcd: Expected O, but got Unknown //IL_1ff0: Unknown result type (might be due to invalid IL or missing references) //IL_1ffa: Expected O, but got Unknown //IL_201d: Unknown result type (might be due to invalid IL or missing references) //IL_2027: Expected O, but got Unknown //IL_204a: Unknown result type (might be due to invalid IL or missing references) //IL_2054: Expected O, but got Unknown //IL_2071: Unknown result type (might be due to invalid IL or missing references) //IL_207b: Expected O, but got Unknown //IL_209e: Unknown result type (might be due to invalid IL or missing references) //IL_20a8: Expected O, but got Unknown //IL_20c5: Unknown result type (might be due to invalid IL or missing references) //IL_20cf: Expected O, but got Unknown //IL_20f2: Unknown result type (might be due to invalid IL or missing references) //IL_20fc: Expected O, but got Unknown //IL_211f: Unknown result type (might be due to invalid IL or missing references) //IL_2129: Expected O, but got Unknown //IL_2149: Unknown result type (might be due to invalid IL or missing references) //IL_2153: Expected O, but got Unknown //IL_2170: Unknown result type (might be due to invalid IL or missing references) //IL_217a: Expected O, but got Unknown //IL_219d: Unknown result type (might be due to invalid IL or missing references) //IL_21a7: Expected O, but got Unknown //IL_21c0: Unknown result type (might be due to invalid IL or missing references) //IL_21ca: Expected O, but got Unknown //IL_21c5: Unknown result type (might be due to invalid IL or missing references) //IL_21cf: Expected O, but got Unknown //IL_21ef: Unknown result type (might be due to invalid IL or missing references) //IL_21f9: Expected O, but got Unknown //IL_2216: Unknown result type (might be due to invalid IL or missing references) //IL_2220: Expected O, but got Unknown //IL_2243: Unknown result type (might be due to invalid IL or missing references) //IL_224d: Expected O, but got Unknown //IL_226a: Unknown result type (might be due to invalid IL or missing references) //IL_2274: Expected O, but got Unknown //IL_232b: Unknown result type (might be due to invalid IL or missing references) //IL_2335: Expected O, but got Unknown //IL_23bf: Unknown result type (might be due to invalid IL or missing references) //IL_23c9: Expected O, but got Unknown //IL_23e6: Unknown result type (might be due to invalid IL or missing references) //IL_23f0: Expected O, but got Unknown //IL_2413: Unknown result type (might be due to invalid IL or missing references) //IL_241d: Expected O, but got Unknown //IL_243a: Unknown result type (might be due to invalid IL or missing references) //IL_2444: Expected O, but got Unknown //IL_2467: Unknown result type (might be due to invalid IL or missing references) //IL_2471: Expected O, but got Unknown //IL_248e: Unknown result type (might be due to invalid IL or missing references) //IL_2498: Expected O, but got Unknown //IL_24bb: Unknown result type (might be due to invalid IL or missing references) //IL_24c5: Expected O, but got Unknown //IL_24e2: Unknown result type (might be due to invalid IL or missing references) //IL_24ec: Expected O, but got Unknown //IL_24e7: Unknown result type (might be due to invalid IL or missing references) //IL_24f1: Expected O, but got Unknown //IL_2514: Unknown result type (might be due to invalid IL or missing references) //IL_251e: Expected O, but got Unknown //IL_2541: Unknown result type (might be due to invalid IL or missing references) //IL_254b: Expected O, but got Unknown //IL_256e: Unknown result type (might be due to invalid IL or missing references) //IL_2578: Expected O, but got Unknown //IL_2595: Unknown result type (might be due to invalid IL or missing references) //IL_259f: Expected O, but got Unknown //IL_25c2: Unknown result type (might be due to invalid IL or missing references) //IL_25cc: Expected O, but got Unknown //IL_25e9: Unknown result type (might be due to invalid IL or missing references) //IL_25f3: Expected O, but got Unknown //IL_2616: Unknown result type (might be due to invalid IL or missing references) //IL_2620: Expected O, but got Unknown //IL_263d: Unknown result type (might be due to invalid IL or missing references) //IL_2647: Expected O, but got Unknown //IL_2642: Unknown result type (might be due to invalid IL or missing references) //IL_264c: Expected O, but got Unknown //IL_266f: Unknown result type (might be due to invalid IL or missing references) //IL_2679: Expected O, but got Unknown //IL_269c: Unknown result type (might be due to invalid IL or missing references) //IL_26a6: Expected O, but got Unknown //IL_26c6: Unknown result type (might be due to invalid IL or missing references) //IL_26d0: Expected O, but got Unknown //IL_26ed: Unknown result type (might be due to invalid IL or missing references) //IL_26f7: Expected O, but got Unknown //IL_271a: Unknown result type (might be due to invalid IL or missing references) //IL_2724: Expected O, but got Unknown //IL_2741: Unknown result type (might be due to invalid IL or missing references) //IL_274b: Expected O, but got Unknown //IL_276e: Unknown result type (might be due to invalid IL or missing references) //IL_2778: Expected O, but got Unknown //IL_2795: Unknown result type (might be due to invalid IL or missing references) //IL_279f: Expected O, but got Unknown //IL_27c2: Unknown result type (might be due to invalid IL or missing references) //IL_27cc: Expected O, but got Unknown //IL_27eb: Unknown result type (might be due to invalid IL or missing references) //IL_27f5: Expected O, but got Unknown //IL_2818: Unknown result type (might be due to invalid IL or missing references) //IL_2822: Expected O, but got Unknown //IL_283f: Unknown result type (might be due to invalid IL or missing references) //IL_2849: Expected O, but got Unknown //IL_286c: Unknown result type (might be due to invalid IL or missing references) //IL_2876: Expected O, but got Unknown //IL_2893: Unknown result type (might be due to invalid IL or missing references) //IL_289d: Expected O, but got Unknown //IL_28c0: Unknown result type (might be due to invalid IL or missing references) //IL_28ca: Expected O, but got Unknown //IL_28e7: Unknown result type (might be due to invalid IL or missing references) //IL_28f1: Expected O, but got Unknown //IL_2914: Unknown result type (might be due to invalid IL or missing references) //IL_291e: Expected O, but got Unknown //IL_2943: Unknown result type (might be due to invalid IL or missing references) //IL_294d: Expected O, but got Unknown //IL_2948: Unknown result type (might be due to invalid IL or missing references) //IL_2952: Expected O, but got Unknown //IL_2975: Unknown result type (might be due to invalid IL or missing references) //IL_297f: Expected O, but got Unknown //IL_29a2: Unknown result type (might be due to invalid IL or missing references) //IL_29ac: Expected O, but got Unknown //IL_29cc: Unknown result type (might be due to invalid IL or missing references) //IL_29d6: Expected O, but got Unknown //IL_29f3: Unknown result type (might be due to invalid IL or missing references) //IL_29fd: Expected O, but got Unknown //IL_2a20: Unknown result type (might be due to invalid IL or missing references) //IL_2a2a: Expected O, but got Unknown //IL_2a47: Unknown result type (might be due to invalid IL or missing references) //IL_2a51: Expected O, but got Unknown //IL_2a74: Unknown result type (might be due to invalid IL or missing references) //IL_2a7e: Expected O, but got Unknown //IL_2a9b: Unknown result type (might be due to invalid IL or missing references) //IL_2aa5: Expected O, but got Unknown //IL_2ac8: Unknown result type (might be due to invalid IL or missing references) //IL_2ad2: Expected O, but got Unknown //IL_2aef: Unknown result type (might be due to invalid IL or missing references) //IL_2af9: Expected O, but got Unknown //IL_2b1c: Unknown result type (might be due to invalid IL or missing references) //IL_2b26: Expected O, but got Unknown //IL_2b4b: Unknown result type (might be due to invalid IL or missing references) //IL_2b55: Expected O, but got Unknown //IL_2b50: Unknown result type (might be due to invalid IL or missing references) //IL_2b5a: Expected O, but got Unknown //IL_2b7d: Unknown result type (might be due to invalid IL or missing references) //IL_2b87: Expected O, but got Unknown //IL_2c54: Unknown result type (might be due to invalid IL or missing references) //IL_2c5e: Expected O, but got Unknown //IL_2c7e: Unknown result type (might be due to invalid IL or missing references) //IL_2c88: Expected O, but got Unknown //IL_2cae: Unknown result type (might be due to invalid IL or missing references) //IL_2cb8: Expected O, but got Unknown //IL_2cdb: Unknown result type (might be due to invalid IL or missing references) //IL_2ce5: Expected O, but got Unknown //IL_2d0b: Unknown result type (might be due to invalid IL or missing references) //IL_2d15: Expected O, but got Unknown //IL_2d35: Unknown result type (might be due to invalid IL or missing references) //IL_2d3f: Expected O, but got Unknown //IL_2d65: Unknown result type (might be due to invalid IL or missing references) //IL_2d6f: Expected O, but got Unknown //IL_2d8f: Unknown result type (might be due to invalid IL or missing references) //IL_2d99: Expected O, but got Unknown //IL_2dbf: Unknown result type (might be due to invalid IL or missing references) //IL_2dc9: Expected O, but got Unknown //IL_2dec: Unknown result type (might be due to invalid IL or missing references) //IL_2df6: Expected O, but got Unknown //IL_2e1c: Unknown result type (might be due to invalid IL or missing references) //IL_2e26: Expected O, but got Unknown //IL_2e4b: Unknown result type (might be due to invalid IL or missing references) //IL_2e55: Expected O, but got Unknown //IL_2e50: Unknown result type (might be due to invalid IL or missing references) //IL_2e5a: Expected O, but got Unknown //IL_2e80: Unknown result type (might be due to invalid IL or missing references) //IL_2e8a: Expected O, but got Unknown //IL_2eb0: Unknown result type (might be due to invalid IL or missing references) //IL_2eba: Expected O, but got Unknown //IL_2edf: Unknown result type (might be due to invalid IL or missing references) //IL_2ee9: Expected O, but got Unknown //IL_2ee4: Unknown result type (might be due to invalid IL or missing references) //IL_2eee: Expected O, but got Unknown //IL_2f14: Unknown result type (might be due to invalid IL or missing references) //IL_2f1e: Expected O, but got Unknown //IL_2f41: Unknown result type (might be due to invalid IL or missing references) //IL_2f4b: Expected O, but got Unknown //IL_2f9c: Unknown result type (might be due to invalid IL or missing references) //IL_2fa6: Expected O, but got Unknown //IL_2fcc: Unknown result type (might be due to invalid IL or missing references) //IL_2fd6: Expected O, but got Unknown //IL_2ff6: Unknown result type (might be due to invalid IL or missing references) //IL_3000: Expected O, but got Unknown //IL_3026: Unknown result type (might be due to invalid IL or missing references) //IL_3030: Expected O, but got Unknown //IL_3050: Unknown result type (might be due to invalid IL or missing references) //IL_305a: Expected O, but got Unknown //IL_3080: Unknown result type (might be due to invalid IL or missing references) //IL_308a: Expected O, but got Unknown //IL_30aa: Unknown result type (might be due to invalid IL or missing references) //IL_30b4: Expected O, but got Unknown //IL_30af: Unknown result type (might be due to invalid IL or missing references) //IL_30b9: Expected O, but got Unknown //IL_30df: Unknown result type (might be due to invalid IL or missing references) //IL_30e9: Expected O, but got Unknown //IL_310f: Unknown result type (might be due to invalid IL or missing references) //IL_3119: Expected O, but got Unknown //IL_313f: Unknown result type (might be due to invalid IL or missing references) //IL_3149: Expected O, but got Unknown //IL_3169: Unknown result type (might be due to invalid IL or missing references) //IL_3173: Expected O, but got Unknown //IL_3199: Unknown result type (might be due to invalid IL or missing references) //IL_31a3: Expected O, but got Unknown //IL_31c3: Unknown result type (might be due to invalid IL or missing references) //IL_31cd: Expected O, but got Unknown //IL_31f3: Unknown result type (might be due to invalid IL or missing references) //IL_31fd: Expected O, but got Unknown //IL_321d: Unknown result type (might be due to invalid IL or missing references) //IL_3227: Expected O, but got Unknown //IL_3222: Unknown result type (might be due to invalid IL or missing references) //IL_322c: Expected O, but got Unknown //IL_3252: Unknown result type (might be due to invalid IL or missing references) //IL_325c: Expected O, but got Unknown //IL_3282: Unknown result type (might be due to invalid IL or missing references) //IL_328c: Expected O, but got Unknown //IL_32af: Unknown result type (might be due to invalid IL or missing references) //IL_32b9: Expected O, but got Unknown //IL_32d9: Unknown result type (might be due to invalid IL or missing references) //IL_32e3: Expected O, but got Unknown //IL_3309: Unknown result type (might be due to invalid IL or missing references) //IL_3313: Expected O, but got Unknown //IL_3333: Unknown result type (might be due to invalid IL or missing references) //IL_333d: Expected O, but got Unknown //IL_3363: Unknown result type (might be due to invalid IL or missing references) //IL_336d: Expected O, but got Unknown //IL_338d: Unknown result type (might be due to invalid IL or missing references) //IL_3397: Expected O, but got Unknown //IL_33bd: Unknown result type (might be due to invalid IL or missing references) //IL_33c7: Expected O, but got Unknown //IL_33e9: Unknown result type (might be due to invalid IL or missing references) //IL_33f3: Expected O, but got Unknown //IL_3419: Unknown result type (might be due to invalid IL or missing references) //IL_3423: Expected O, but got Unknown //IL_3443: Unknown result type (might be due to invalid IL or missing references) //IL_344d: Expected O, but got Unknown //IL_3473: Unknown result type (might be due to invalid IL or missing references) //IL_347d: Expected O, but got Unknown //IL_349d: Unknown result type (might be due to invalid IL or missing references) //IL_34a7: Expected O, but got Unknown //IL_34cd: Unknown result type (might be due to invalid IL or missing references) //IL_34d7: Expected O, but got Unknown //IL_34fd: Unknown result type (might be due to invalid IL or missing references) //IL_3507: Expected O, but got Unknown //IL_3527: Unknown result type (might be due to invalid IL or missing references) //IL_3531: Expected O, but got Unknown //IL_3557: Unknown result type (might be due to invalid IL or missing references) //IL_3561: Expected O, but got Unknown //IL_3589: Unknown result type (might be due to invalid IL or missing references) //IL_3593: Expected O, but got Unknown //IL_358e: Unknown result type (might be due to invalid IL or missing references) //IL_3598: Expected O, but got Unknown //IL_35be: Unknown result type (might be due to invalid IL or missing references) //IL_35c8: Expected O, but got Unknown //IL_35ee: Unknown result type (might be due to invalid IL or missing references) //IL_35f8: Expected O, but got Unknown //IL_361b: Unknown result type (might be due to invalid IL or missing references) //IL_3625: Expected O, but got Unknown //IL_3645: Unknown result type (might be due to invalid IL or missing references) //IL_364f: Expected O, but got Unknown //IL_3675: Unknown result type (might be due to invalid IL or missing references) //IL_367f: Expected O, but got Unknown //IL_369f: Unknown result type (might be due to invalid IL or missing references) //IL_36a9: Expected O, but got Unknown //IL_36cf: Unknown result type (might be due to invalid IL or missing references) //IL_36d9: Expected O, but got Unknown //IL_36f9: Unknown result type (might be due to invalid IL or missing references) //IL_3703: Expected O, but got Unknown //IL_3729: Unknown result type (might be due to invalid IL or missing references) //IL_3733: Expected O, but got Unknown //IL_3753: Unknown result type (might be due to invalid IL or missing references) //IL_375d: Expected O, but got Unknown //IL_3783: Unknown result type (might be due to invalid IL or missing references) //IL_378d: Expected O, but got Unknown //IL_37b2: Unknown result type (might be due to invalid IL or missing references) //IL_37bc: Expected O, but got Unknown //IL_37b7: Unknown result type (might be due to invalid IL or missing references) //IL_37c1: Expected O, but got Unknown //IL_37e7: Unknown result type (might be due to invalid IL or missing references) //IL_37f1: Expected O, but got Unknown //IL_3853: Unknown result type (might be due to invalid IL or missing references) //IL_385d: Expected O, but got Unknown //IL_3883: Unknown result type (might be due to invalid IL or missing references) //IL_388d: Expected O, but got Unknown //IL_38ad: Unknown result type (might be due to invalid IL or missing references) //IL_38b7: Expected O, but got Unknown //IL_38dd: Unknown result type (might be due to invalid IL or missing references) //IL_38e7: Expected O, but got Unknown //IL_390a: Unknown result type (might be due to invalid IL or missing references) //IL_3914: Expected O, but got Unknown //IL_393a: Unknown result type (might be due to invalid IL or missing references) //IL_3944: Expected O, but got Unknown //IL_3964: Unknown result type (might be due to invalid IL or missing references) //IL_396e: Expected O, but got Unknown //IL_3994: Unknown result type (might be due to invalid IL or missing references) //IL_399e: Expected O, but got Unknown //IL_39be: Unknown result type (might be due to invalid IL or missing references) //IL_39c8: Expected O, but got Unknown //IL_39ee: Unknown result type (might be due to invalid IL or missing references) //IL_39f8: Expected O, but got Unknown //IL_3a1b: Unknown result type (might be due to invalid IL or missing references) //IL_3a25: Expected O, but got Unknown //IL_3a4b: Unknown result type (might be due to invalid IL or missing references) //IL_3a55: Expected O, but got Unknown //IL_3a7a: Unknown result type (might be due to invalid IL or missing references) //IL_3a84: Expected O, but got Unknown //IL_3a7f: Unknown result type (might be due to invalid IL or missing references) //IL_3a89: Expected O, but got Unknown //IL_3aaf: Unknown result type (might be due to invalid IL or missing references) //IL_3ab9: Expected O, but got Unknown //IL_3adf: Unknown result type (might be due to invalid IL or missing references) //IL_3ae9: Expected O, but got Unknown //IL_3b0e: Unknown result type (might be due to invalid IL or missing references) //IL_3b18: Expected O, but got Unknown //IL_3b13: Unknown result type (might be due to invalid IL or missing references) //IL_3b1d: Expected O, but got Unknown //IL_3b43: Unknown result type (might be due to invalid IL or missing references) //IL_3b4d: Expected O, but got Unknown //IL_3b70: Unknown result type (might be due to invalid IL or missing references) //IL_3b7a: Expected O, but got Unknown //IL_3ba0: Unknown result type (might be due to invalid IL or missing references) //IL_3baa: Expected O, but got Unknown //IL_3bd0: Unknown result type (might be due to invalid IL or missing references) //IL_3bda: Expected O, but got Unknown //IL_3bfd: Unknown result type (might be due to invalid IL or missing references) //IL_3c07: Expected O, but got Unknown //IL_3c27: Unknown result type (might be due to invalid IL or missing references) //IL_3c31: Expected O, but got Unknown //IL_3c57: Unknown result type (might be due to invalid IL or missing references) //IL_3c61: Expected O, but got Unknown //IL_3c81: Unknown result type (might be due to invalid IL or missing references) //IL_3c8b: Expected O, but got Unknown //IL_3cb1: Unknown result type (might be due to invalid IL or missing references) //IL_3cbb: Expected O, but got Unknown //IL_3cde: Unknown result type (might be due to invalid IL or missing references) //IL_3ce8: Expected O, but got Unknown //IL_3d0e: Unknown result type (might be due to invalid IL or missing references) //IL_3d18: Expected O, but got Unknown //IL_3d38: Unknown result type (might be due to invalid IL or missing references) //IL_3d42: Expected O, but got Unknown //IL_3d68: Unknown result type (might be due to invalid IL or missing references) //IL_3d72: Expected O, but got Unknown //IL_3d92: Unknown result type (might be due to invalid IL or missing references) //IL_3d9c: Expected O, but got Unknown //IL_3dc2: Unknown result type (might be due to invalid IL or missing references) //IL_3dcc: Expected O, but got Unknown //IL_3df1: Unknown result type (might be due to invalid IL or missing references) //IL_3dfb: Expected O, but got Unknown //IL_3df6: Unknown result type (might be due to invalid IL or missing references) //IL_3e00: Expected O, but got Unknown //IL_3e26: Unknown result type (might be due to invalid IL or missing references) //IL_3e30: Expected O, but got Unknown //IL_3e55: Unknown result type (might be due to invalid IL or missing references) //IL_3e5f: Expected O, but got Unknown //IL_3e5a: Unknown result type (might be due to invalid IL or missing references) //IL_3e64: Expected O, but got Unknown //IL_3e8a: Unknown result type (might be due to invalid IL or missing references) //IL_3e94: Expected O, but got Unknown //IL_3eb7: Unknown result type (might be due to invalid IL or missing references) //IL_3ec1: Expected O, but got Unknown //IL_2be7: Unknown result type (might be due to invalid IL or missing references) //IL_2bf1: Expected O, but got Unknown //IL_2bb9: Unknown result type (might be due to invalid IL or missing references) //IL_2bc3: Expected O, but got Unknown //IL_2f72: Unknown result type (might be due to invalid IL or missing references) //IL_2f7c: Expected O, but got Unknown //IL_3829: Unknown result type (might be due to invalid IL or missing references) //IL_3833: Expected O, but got Unknown //IL_2c24: Unknown result type (might be due to invalid IL or missing references) //IL_2c2e: Expected O, but got Unknown //IL_1a01: Unknown result type (might be due to invalid IL or missing references) //IL_1a0b: Expected O, but got Unknown //IL_15a9: Unknown result type (might be due to invalid IL or missing references) //IL_15b3: Expected O, but got Unknown //IL_0905: Unknown result type (might be due to invalid IL or missing references) //IL_090f: Expected O, but got Unknown //IL_1ac6: Unknown result type (might be due to invalid IL or missing references) //IL_1ad0: Expected O, but got Unknown //IL_1b8b: Unknown result type (might be due to invalid IL or missing references) //IL_1b95: Expected O, but got Unknown //IL_1c50: Unknown result type (might be due to invalid IL or missing references) //IL_1c5a: Expected O, but got Unknown //IL_22b4: Unknown result type (might be due to invalid IL or missing references) //IL_22be: Expected O, but got Unknown //IL_22b9: Unknown result type (might be due to invalid IL or missing references) //IL_22c3: Expected O, but got Unknown //IL_09c2: Unknown result type (might be due to invalid IL or missing references) //IL_09cc: Expected O, but got Unknown //IL_2304: Unknown result type (might be due to invalid IL or missing references) //IL_230e: Expected O, but got Unknown //IL_0b71: Unknown result type (might be due to invalid IL or missing references) //IL_0b7b: Expected O, but got Unknown //IL_0c94: Unknown result type (might be due to invalid IL or missing references) //IL_0c9e: Expected O, but got Unknown //IL_0db7: Unknown result type (might be due to invalid IL or missing references) //IL_0dc1: Expected O, but got Unknown //IL_0eda: Unknown result type (might be due to invalid IL or missing references) //IL_0ee4: Expected O, but got Unknown //IL_0ffd: Unknown result type (might be due to invalid IL or missing references) //IL_1007: Expected O, but got Unknown //IL_10ba: Unknown result type (might be due to invalid IL or missing references) //IL_10c4: Expected O, but got Unknown //IL_1199: Unknown result type (might be due to invalid IL or missing references) //IL_11a3: Expected O, but got Unknown //IL_12bc: Unknown result type (might be due to invalid IL or missing references) //IL_12c6: Expected O, but got Unknown //IL_13bd: Unknown result type (might be due to invalid IL or missing references) //IL_13c7: Expected O, but got Unknown //IL_1549: Unknown result type (might be due to invalid IL or missing references) //IL_1553: Expected O, but got Unknown try { switch (<>1__state) { default: return false; case 0: <>1__state = -1; <diveDistanceWaiter>5__1 = new MultiTokenWaiter(new Func<Token, bool>[5] { (Token t) => (int)t.Type == 59, delegate(Token t) { IdentifierToken val47 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val47 != null && val47.Name == "dive_distance"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val45 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result13; if (val45 != null) { Variant value12 = val45.Value; RealVariant val46 = (RealVariant)(object)((value12 is RealVariant) ? value12 : null); if (val46 != null) { result13 = ((val46.Value == 9.0) ? 1 : 0); goto IL_002d; } } result13 = 0; goto IL_002d; IL_002d: return (byte)result13 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); <requestJumpWaiter>5__2 = new MultiTokenWaiter(new Func<Token, bool>[5] { (Token t) => (int)t.Type == 59, delegate(Token t) { IdentifierToken val44 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val44 != null && val44.Name == "request_jump"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val42 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result12; if (val42 != null) { Variant value11 = val42.Value; BoolVariant val43 = (BoolVariant)(object)((value11 is BoolVariant) ? value11 : null); if (val43 != null) { result12 = ((!val43.Value) ? 1 : 0); goto IL_0025; } } result12 = 0; goto IL_0025; IL_0025: return (byte)result12 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); <moveJumpWaiter>5__3 = new MultiTokenWaiter(new Func<Token, bool>[12] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val41 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val41 != null && val41.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val40 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val40 != null && val40.Name == "is_action_just_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val38 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result11; if (val38 != null) { Variant value10 = val38.Value; StringVariant val39 = (StringVariant)(object)((value10 is StringVariant) ? value10 : null); if (val39 != null) { result11 = ((val39.Value == "move_jump") ? 1 : 0); goto IL_002c; } } result11 = 0; goto IL_002c; IL_002c: return (byte)result11 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { IdentifierToken val37 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val37 != null && val37.Name == "request_jump"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val35 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result10; if (val35 != null) { Variant value9 = val35.Value; BoolVariant val36 = (BoolVariant)(object)((value9 is BoolVariant) ? value9 : null); if (val36 != null) { result10 = (val36.Value ? 1 : 0); goto IL_0022; } } result10 = 0; goto IL_0022; IL_0022: return (byte)result10 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); <moveForwardWaiter>5__4 = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val34 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val34 != null && val34.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val33 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val33 != null && val33.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val31 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result9; if (val31 != null) { Variant value8 = val31.Value; StringVariant val32 = (StringVariant)(object)((value8 is StringVariant) ? value8 : null); if (val32 != null) { result9 = ((val32.Value == "move_forward") ? 1 : 0); goto IL_002c; } } result9 = 0; goto IL_002c; IL_002c: return (byte)result9 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); <moveBackWaiter>5__5 = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val30 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val30 != null && val30.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val29 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val29 != null && val29.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, (Token t) => (int)t.Type == 4, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); <moveRightWaiter>5__6 = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val28 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val28 != null && val28.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val27 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val27 != null && val27.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val25 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result8; if (val25 != null) { Variant value7 = val25.Value; StringVariant val26 = (StringVariant)(object)((value7 is StringVariant) ? value7 : null); if (val26 != null) { result8 = ((val26.Value == "move_right") ? 1 : 0); goto IL_002c; } } result8 = 0; goto IL_002c; IL_002c: return (byte)result8 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); <moveLeftWaiter>5__7 = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val24 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val24 != null && val24.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val23 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val23 != null && val23.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val21 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result7; if (val21 != null) { Variant value6 = val21.Value; StringVariant val22 = (StringVariant)(object)((value6 is StringVariant) ? value6 : null); if (val22 != null) { result7 = ((val22.Value == "move_left") ? 1 : 0); goto IL_002c; } } result7 = 0; goto IL_002c; IL_002c: return (byte)result7 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); <ySlowWaiter>5__8 = new MultiTokenWaiter(new Func<Token, bool>[5] { (Token t) => (int)t.Type == 59, delegate(Token t) { IdentifierToken val20 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val20 != null && val20.Name == "y_slow"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val18 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result6; if (val18 != null) { Variant value5 = val18.Value; RealVariant val19 = (RealVariant)(object)((value5 is RealVariant) ? value5 : null); if (val19 != null) { result6 = ((val19.Value == 0.02) ? 1 : 0); goto IL_002d; } } result6 = 0; goto IL_002d; IL_002d: return (byte)result6 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); <mushroomFovWaiter>5__9 = new MultiTokenWaiter(new Func<Token, bool>[6] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val17 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val17 != null && val17.Name == "animation_data"; }, (Token t) => (int)t.Type == 76, delegate(Token t) { ConstantToken val15 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result5; if (val15 != null) { Variant value4 = val15.Value; StringVariant val16 = (StringVariant)(object)((value4 is StringVariant) ? value4 : null); if (val16 != null) { result5 = ((val16.Value == "mushroom") ? 1 : 0); goto IL_002c; } } result5 = 0; goto IL_002c; IL_002c: return (byte)result5 != 0; }, (Token t) => (int)t.Type == 77, (Token t) => (int)t.Type == 86 }, false, false); <diveVecWaiter>5__10 = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val14 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val14 != null && val14.Name == "ZERO"; }, (Token t) => (int)t.Type == 82, delegate(Token t) { IdentifierToken val13 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val13 != null && val13.Name == "delta"; }, (Token t) => (int)t.Type == 18, delegate(Token t) { IdentifierToken val12 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val12 != null && val12.Name == "_accel"; }, (Token t) => (int)t.Type == 18, delegate(Token t) { IdentifierToken val11 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val11 != null && val11.Name == "y_slow"; } }, false, false); <ifDivingWaiter>5__11 = new MultiTokenWaiter(new Func<Token, bool>[7] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val10 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val10 != null && val10.Name == "diving"; }, (Token t) => (int)t.Type == 86, delegate(Token t) { IdentifierToken val9 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val9 != null && val9.Name == "speed_mult"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val7 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result4; if (val7 != null) { Variant value3 = val7.Value; RealVariant val8 = (RealVariant)(object)((value3 is RealVariant) ? value3 : null); if (val8 != null) { result4 = ((val8.Value == 0.0) ? 1 : 0); goto IL_002d; } } result4 = 0; goto IL_002d; IL_002d: return (byte)result4 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); <playerScaleWaiter>5__12 = new MultiTokenWaiter(new Func<Token, bool>[11] { delegate(Token t) { IdentifierToken val6 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val6 != null && val6.Name == "player_scale_y"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Invalid comparison between Unknown and I4 int result3; if ((int)t.Type == 5) { uint? associatedData = t.AssociatedData; result3 = ((associatedData.HasValue && associatedData.GetValueOrDefault() == 30) ? 1 : 0); } else { result3 = 0; } return (byte)result3 != 0; }, (Token t) => (int)t.Type == 80, delegate(Token t) { IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val5 != null && val5.Name == "player_scale_y"; }, (Token t) => (int)t.Type == 82, delegate(Token t) { ConstantToken val3 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result2; if (val3 != null) { Variant value2 = val3.Value; RealVariant val4 = (RealVariant)(object)((value2 is RealVariant) ? value2 : null); if (val4 != null) { result2 = ((val4.Value == 1.0) ? 1 : 0); goto IL_002d; } } result2 = 0; goto IL_002d; IL_002d: return (byte)result2 != 0; }, (Token t) => (int)t.Type == 82, delegate(Token t) { ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result; if (val != null) { Variant value = val.Value; RealVariant val2 = (RealVariant)(object)((value is RealVariant) ? value : null); if (val2 != null) { result = ((val2.Value == 0.35) ? 1 : 0); goto IL_002d; } } result = 0; goto IL_002d; IL_002d: return (byte)result != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 89 }, false, false); <>s__13 = tokens.GetEnumerator(); <>1__state = -3; goto IL_3f2f; case 1: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant((double)<>4__this.<speed>P, false)); <>1__state = 2; return true; case 2: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 3; return true; case 3: <>1__state = -3; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 4; return true; case 4: <>1__state = -3; <>2__current = (Token)new IdentifierToken("was_diving"); <>1__state = 5; return true; case 5: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 6; return true; case 6: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false)); <>1__state = 7; return true; case 7: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 8; return true; case 8: <>1__state = -3; goto IL_16fa; case 9: <>1__state = -3; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 10; return true; case 10: <>1__state = -3; <>2__current = (Token)new IdentifierToken("jump_held"); <>1__state = 11; return true; case 11: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 12; return true; case 12: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false)); <>1__state = 13; return true; case 13: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 14; return true; case 14: <>1__state = -3; goto IL_3f27; case 15: <>1__state = -3; <>2__current = (Token)new IdentifierToken("jump_held"); <>1__state = 16; return true; case 16: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 17; return true; case 17: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Input"); <>1__state = 18; return true; case 18: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 19; return true; case 19: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_action_pressed"); <>1__state = 20; return true; case 20: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 21; return true; case 21: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new StringVariant("move_jump")); <>1__state = 22; return true; case 22: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 23; return true; case 23: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 24; return true; case 24: <>1__state = -3; goto IL_3f27; case 25: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 26; return true; case 26: <>1__state = -3; <>2__current = (Token)new IdentifierToken("diving"); <>1__state = 27; return true; case 27: <>1__state = -3; <>2__current = <token>5__14; <>1__state = 28; return true; case 28: <>1__state = -3; goto IL_3f27; case 29: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 30; return true; case 30: <>1__state = -3; <>2__current = (Token)new IdentifierToken("diving"); <>1__state = 31; return true; case 31: <>1__state = -3; <>2__current = <token>5__14; <>1__state = 32; return true; case 32: <>1__state = -3; goto IL_3f27; case 33: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 34; return true; case 34: <>1__state = -3; <>2__current = (Token)new IdentifierToken("diving"); <>1__state = 35; return true; case 35: <>1__state = -3; <>2__current = <token>5__14; <>1__state = 36; return true; case 36: <>1__state = -3; goto IL_3f27; case 37: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 38; return true; case 38: <>1__state = -3; <>2__current = (Token)new IdentifierToken("diving"); <>1__state = 39; return true; case 39: <>1__state = -3; <>2__current = <token>5__14; <>1__state = 40; return true; case 40: <>1__state = -3; goto IL_3f27; case 41: <>1__state = -3; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 42; return true; case 42: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 43; return true; case 43: <>1__state = -3; <>2__current = (Token)new IdentifierToken("diving"); <>1__state = 44; return true; case 44: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 45; return true; case 45: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_on_floor"); <>1__state = 46; return true; case 46: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 47; return true; case 47: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 48; return true; case 48: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 49; return true; case 49: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 50; return true; case 50: <>1__state = -3; <>2__current = (Token)new IdentifierToken("jump_held"); <>1__state = 51; return true; case 51: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 52; return true; case 52: <>1__state = -3; <>2__current = new Token((TokenType)14, (uint?)null); <>1__state = 53; return true; case 53: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 54; return true; case 54: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 55; return true; case 55: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_on_floor"); <>1__state = 56; return true; case 56: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 57; return true; case 57: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 58; return true; case 58: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 59; return true; case 59: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 60; return true; case 60: <>1__state = -3; <>2__current = (Token)new IdentifierToken("diving"); <>1__state = 61; return true; case 61: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 62; return true; case 62: <>1__state = -3; <>2__current = (Token)new IdentifierToken("jump_held"); <>1__state = 63; return true; case 63: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 64; return true; case 64: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 65; return true; case 65: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 66; return true; case 66: <>1__state = -3; <>2__current = (Token)new IdentifierToken("request_jump"); <>1__state = 67; return true; case 67: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 68; return true; case 68: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true)); <>1__state = 69; return true; case 69: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 70; return true; case 70: <>1__state = -3; <>2__current = (Token)new IdentifierToken("was_diving"); <>1__state = 71; return true; case 71: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 72; return true; case 72: <>1__state = -3; <>2__current = (Token)new IdentifierToken("diving"); <>1__state = 73; return true; case 73: <>1__state = -3; goto IL_3f27; case 74: <>1__state = -3; goto IL_3f27; case 75: <>1__state = -3; <>2__current = (Token)new IdentifierToken("was_diving"); <>1__state = 76; return true; case 76: <>1__state = -3; <>2__current = <token>5__14; <>1__state = 77; return true; case 77: <>1__state = -3; goto IL_3f27; case 78: <>1__state = -3; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 79; return true; case 79: <>1__state = -3; <>2__current = (Token)new IdentifierToken("was_diving"); <>1__state = 80; return true; case 80: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 81; return true; case 81: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Input"); <>1__state = 82; return true; case 82: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 83; return true; case 83: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_action_pressed"); <>1__state = 84; return true; case 84: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 85; return true; case 85: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new StringVariant("move_left")); <>1__state = 86; return true; case 86: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 87; return true; case 87: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 88; return true; case 88: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 89; return true; case 89: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Input"); <>1__state = 90; return true; case 90: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 91; return true; case 91: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_action_pressed"); <>1__state = 92; return true; case 92: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 93; return true; case 93: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new StringVariant("move_right")); <>1__state = 94; return true; case 94: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 95; return true; case 95: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 96; return true; case 96: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 97; return true; case 97: <>1__state = -3; <>2__current = (Token)new IdentifierToken("dive_vec"); <>1__state = 98; return true; case 98: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 99; return true; case 99: <>1__state = -3; <>2__current = (Token)new IdentifierToken("dive_vec"); <>1__state = 100; return true; case 100: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 101; return true; case 101: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotated"); <>1__state = 102; return true; case 102: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 103; return true; case 103: <>1__state = -3; <>2__current = new Token((TokenType)4, (uint?)7u); <>1__state = 104; return true; case 104: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 105; return true; case 105: <>1__state = -3; <>2__current = (Token)new IdentifierToken("UP"); <>1__state = 106; return true; case 106: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 107; return true; case 107: <>1__state = -3; <>2__current = (Token)new IdentifierToken("deg2rad"); <>1__state = 108; return true; case 108: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 109; return true; case 109: <>1__state = -3; <>2__current = (Token)new IdentifierToken("delta"); <>1__state = 110; return true; case 110: <>1__state = -3; <>2__current = new Token((TokenType)18, (uint?)null); <>1__state = 111; return true; case 111: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant((double)<>4__this.<turnSpeed>P, false)); <>1__state = 112; return true; case 112: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 113; return true; case 113: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 114; return true; case 114: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 115; return true; case 115: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 116; return true; case 116: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 117; return true; case 117: <>1__state = -3; <>2__current = (Token)new IdentifierToken("y"); <>1__state = 118; return true; case 118: <>1__state = -3; <>2__current = new Token((TokenType)24, (uint?)null); <>1__state = 119; return true; case 119: <>1__state = -3; <>2__current = (Token)new IdentifierToken("deg2rad"); <>1__state = 120; return true; case 120: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 121; return true; case 121: <>1__state = -3; <>2__current = (Token)new IdentifierToken("delta"); <>1__state = 122; return true; case 122: <>1__state = -3; <>2__current = new Token((TokenType)18, (uint?)null); <>1__state = 123; return true; case 123: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant((double)<>4__this.<turnSpeed>P, false)); <>1__state = 124; return true; case 124: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 125; return true; case 125: <>1__state = -3; if (<>4__this.<enableRoll>P) { <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 126; return true; } <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 127; return true; case 126: <>1__state = -3; goto IL_2c09; case 127: <>1__state = -3; goto IL_2c09; case 128: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 129; return true; case 129: <>1__state = -3; <>2__current = (Token)new IdentifierToken("z"); <>1__state = 130; return true; case 130: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 131; return true; case 131: <>1__state = -3; <>2__current = new Token((TokenType)5, (uint?)31u); <>1__state = 132; return true; case 132: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 133; return true; case 133: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 134; return true; case 134: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 135; return true; case 135: <>1__state = -3; <>2__current = (Token)new IdentifierToken("z"); <>1__state = 136; return true; case 136: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 137; return true; case 137: <>1__state = -3; <>2__current = new Token((TokenType)5, (uint?)43u); <>1__state = 138; return true; case 138: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 139; return true; case 139: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant(30.0, false)); <>1__state = 140; return true; case 140: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 141; return true; case 141: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 142; return true; case 142: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.2, false)); <>1__state = 143; return true; case 143: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 144; return true; case 144: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 145; return true; case 145: <>1__state = -3; goto IL_2f66; case 146: <>1__state = -3; <>2__current = (Token)new IdentifierToken("was_diving"); <>1__state = 147; return true; case 147: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 148; return true; case 148: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Input"); <>1__state = 149; return true; case 149: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 150; return true; case 150: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_action_pressed"); <>1__state = 151; return true; case 151: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 152; return true; case 152: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new StringVariant("move_right")); <>1__state = 153; return true; case 153: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 154; return true; case 154: <>1__state = -3; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 155; return true; case 155: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 156; return true; case 156: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Input"); <>1__state = 157; return true; case 157: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 158; return true; case 158: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_action_pressed"); <>1__state = 159; return true; case 159: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 160; return true; case 160: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new StringVariant("move_left")); <>1__state = 161; return true; case 161: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 162; return true; case 162: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 163; return true; case 163: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 164; return true; case 164: <>1__state = -3; <>2__current = (Token)new IdentifierToken("dive_vec"); <>1__state = 165; return true; case 165: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 166; return true; case 166: <>1__state = -3; <>2__current = (Token)new IdentifierToken("dive_vec"); <>1__state = 167; return true; case 167: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 168; return true; case 168: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotated"); <>1__state = 169; return true; case 169: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 170; return true; case 170: <>1__state = -3; <>2__current = new Token((TokenType)4, (uint?)7u); <>1__state = 171; return true; case 171: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 172; return true; case 172: <>1__state = -3; <>2__current = (Token)new IdentifierToken("UP"); <>1__state = 173; return true; case 173: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 174; return true; case 174: <>1__state = -3; <>2__current = (Token)new IdentifierToken("deg2rad"); <>1__state = 175; return true; case 175: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 176; return true; case 176: <>1__state = -3; <>2__current = new Token((TokenType)17, (uint?)null); <>1__state = 177; return true; case 177: <>1__state = -3; <>2__current = (Token)new IdentifierToken("delta"); <>1__state = 178; return true; case 178: <>1__state = -3; <>2__current = new Token((TokenType)18, (uint?)null); <>1__state = 179; return true; case 179: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant((double)<>4__this.<turnSpeed>P, false)); <>1__state = 180; return true; case 180: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 181; return true; case 181: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 182; return true; case 182: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 183; return true; case 183: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 184; return true; case 184: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 185; return true; case 185: <>1__state = -3; <>2__current = (Token)new IdentifierToken("y"); <>1__state = 186; return true; case 186: <>1__state = -3; <>2__current = new Token((TokenType)25, (uint?)null); <>1__state = 187; return true; case 187: <>1__state = -3; <>2__current = (Token)new IdentifierToken("deg2rad"); <>1__state = 188; return true; case 188: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 189; return true; case 189: <>1__state = -3; <>2__current = (Token)new IdentifierToken("delta"); <>1__state = 190; return true; case 190: <>1__state = -3; <>2__current = new Token((TokenType)18, (uint?)null); <>1__state = 191; return true; case 191: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant(2.0, false)); <>1__state = 192; return true; case 192: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 193; return true; case 193: <>1__state = -3; if (<>4__this.<enableRoll>P) { <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 194; return true; } goto IL_3edc; case 194: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 195; return true; case 195: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 196; return true; case 196: <>1__state = -3; <>2__current = (Token)new IdentifierToken("z"); <>1__state = 197; return true; case 197: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 198; return true; case 198: <>1__state = -3; <>2__current = new Token((TokenType)5, (uint?)31u); <>1__state = 199; return true; case 199: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 200; return true; case 200: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 201; return true; case 201: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 202; return true; case 202: <>1__state = -3; <>2__current = (Token)new IdentifierToken("z"); <>1__state = 203; return true; case 203: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 204; return true; case 204: <>1__state = -3; <>2__current = new Token((TokenType)5, (uint?)43u); <>1__state = 205; return true; case 205: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 206; return true; case 206: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant(-30.0, false)); <>1__state = 207; return true; case 207: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 208; return true; case 208: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 209; return true; case 209: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.2, false)); <>1__state = 210; return true; case 210: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 211; return true; case 211: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 212; return true; case 212: <>1__state = -3; <>2__current = new Token((TokenType)40, (uint?)null); <>1__state = 213; return true; case 213: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 214; return true; case 214: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 215; return true; case 215: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 216; return true; case 216: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 217; return true; case 217: <>1__state = -3; <>2__current = (Token)new IdentifierToken("z"); <>1__state = 218; return true; case 218: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 219; return true; case 219: <>1__state = -3; <>2__current = new Token((TokenType)5, (uint?)31u); <>1__state = 220; return true; case 220: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 221; return true; case 221: <>1__state = -3; <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 222; return true; case 222: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 223; return true; case 223: <>1__state = -3; <>2__current = (Token)new IdentifierToken("z"); <>1__state = 224; return true; case 224: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 225; return true; case 225: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.0, false)); <>1__state = 226; return true; case 226: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 227; return true; case 227: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.2, false)); <>1__state = 228; return true; case 228: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 229; return true; case 229: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 230; return true; case 230: <>1__state = -3; goto IL_3edc; case 231: <>1__state = -3; goto IL_3f27; case 232: { <>1__state = -3; goto IL_3f27; } IL_3edc: <>2__current = <token>5__14; <>1__state = 231; return true; IL_2c09: if (<>4__this.<enableRoll>P) { <>2__current = (Token)new IdentifierToken("rotation"); <>1__state = 128; return true; } goto IL_2f66; IL_16fa: if (<requestJumpWaiter>5__2.Check(<token>5__14)) { <>2__current = <token>5__14; <>1__state = 9; return true; } if (<moveJumpWaiter>5__3.Check(<token>5__14)) { <>2__current = <token>5__14; <>1__state = 15; return true; } if (<moveForwardWaiter>5__4.Check(<token>5__14)) { <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 25; return true; } if (<moveBackWaiter>5__5.Check(<token>5__14)) { <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 29; return true; } if (<moveLeftWaiter>5__7.Check(<token>5__14)) { <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 33; return true; } if (<moveRightWaiter>5__6.Check(<token>5__14)) { <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 37; return true; } if (<ySlowWaiter>5__8.Check(<token>5__14)) { <>2__current = <token>5__14; <>1__state = 41; return true; } if (<diveVecWaiter>5__10.Check(<token>5__14)) { <>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.0, false)); <>1__state = 74; return true; } if (<mushroomFovWaiter>5__9.Check(<token>5__14)) { <>2__current = new Token((TokenType)14, (uint?)null); <>1__state = 75; return true; } if (<ifDivingWaiter>5__11.Check(<token>5__14)) { <>2__current = <token>5__14; <>1__state = 78; return true; } <>2__current = <token>5__14; <>1__state = 232; return true; IL_2f66: <>2__current = new Token((TokenType)39, (uint?)null); <>1__state = 146; return true; IL_3f2f: if (((global::System.Collections.IEnumerator)<>s__13).MoveNext()) { <token>5__14 = <>s__13.Current; if (<diveDistanceWaiter>5__1.Check(<token>5__14)) { <>2__current = new Token((TokenType)16, (uint?)null); <>1__state = 1; return true; } goto IL_16fa; } <>m__Finally1(); <>s__13 = null; return false; IL_3f27: <token>5__14 = null; goto IL_3f2f; } } catch { //try-fault ((global::System.IDisposable)this).Dispose(); throw; } } bool global::System.Collections.IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } private void <>m__Finally1() { <>1__state = -1; if (<>s__13 != null) { ((global::System.IDisposable)<>s__13).Dispose(); } } [DebuggerHidden] void global::System.Collections.IEnumerator.Reset() { //IL_0000: Unknown result type (might be due to invalid IL or missing references) throw new NotSupportedException(); } [DebuggerHidden] global::System.Collections.Generic.IEnumerator<Token> global::System.Collections.Generic.IEnumerable<Token>.GetEnumerator() { <Modify>d__5 <Modify>d__; if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId) { <>1__state = 0; <Modify>d__ = this; } else { <Modify>d__ = new <Modify>d__5(0) { <>4__this = <>4__this }; } <Modify>d__.path = <>3__path; <Modify>d__.tokens = <>3__tokens; return <Modify>d__; } [DebuggerHidden] global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() { return (global::System.Collections.IEnumerator)((global::System.Collections.Generic.IEnumerable<Token>)this).GetEnumerator(); } } [CompilerGenerated] [DebuggerBrowsable(/*Could not decode attribute arguments.*/)] private float <speed>P; [CompilerGenerated] [DebuggerBrowsable(/*Could not decode attribute arguments.*/)] private float <turnSpeed>P; [CompilerGenerated] [DebuggerBrowsable(/*Could not decode attribute arguments.*/)] private bool <enableRoll>P; public PlayerPatch(float speed, float turnSpeed, bool enableRoll) { <speed>P = speed; <turnSpeed>P = turnSpeed; <enableRoll>P = enableRoll; base..ctor(); } public bool ShouldRun(string path) { return path == "res://Scenes/Entities/Player/player.gdc"; } [IteratorStateMachine(typeof(<Modify>d__5))] public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens) { MultiTokenWaiter diveDistanceWaiter = new MultiTokenWaiter(new Func<Token, bool>[5] { (Token t) => (int)t.Type == 59, delegate(Token t) { IdentifierToken val47 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val47 != null && val47.Name == "dive_distance"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val45 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result13; if (val45 != null) { Variant value12 = val45.Value; RealVariant val46 = (RealVariant)(object)((value12 is RealVariant) ? value12 : null); if (val46 != null) { result13 = ((val46.Value == 9.0) ? 1 : 0); goto IL_002d; } } result13 = 0; goto IL_002d; IL_002d: return (byte)result13 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); MultiTokenWaiter requestJumpWaiter = new MultiTokenWaiter(new Func<Token, bool>[5] { (Token t) => (int)t.Type == 59, delegate(Token t) { IdentifierToken val44 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val44 != null && val44.Name == "request_jump"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val42 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result12; if (val42 != null) { Variant value11 = val42.Value; BoolVariant val43 = (BoolVariant)(object)((value11 is BoolVariant) ? value11 : null); if (val43 != null) { result12 = ((!val43.Value) ? 1 : 0); goto IL_0025; } } result12 = 0; goto IL_0025; IL_0025: return (byte)result12 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); MultiTokenWaiter moveJumpWaiter = new MultiTokenWaiter(new Func<Token, bool>[12] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val41 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val41 != null && val41.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val40 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val40 != null && val40.Name == "is_action_just_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val38 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result11; if (val38 != null) { Variant value10 = val38.Value; StringVariant val39 = (StringVariant)(object)((value10 is StringVariant) ? value10 : null); if (val39 != null) { result11 = ((val39.Value == "move_jump") ? 1 : 0); goto IL_002c; } } result11 = 0; goto IL_002c; IL_002c: return (byte)result11 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { IdentifierToken val37 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val37 != null && val37.Name == "request_jump"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val35 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result10; if (val35 != null) { Variant value9 = val35.Value; BoolVariant val36 = (BoolVariant)(object)((value9 is BoolVariant) ? value9 : null); if (val36 != null) { result10 = (val36.Value ? 1 : 0); goto IL_0022; } } result10 = 0; goto IL_0022; IL_0022: return (byte)result10 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); MultiTokenWaiter moveForwardWaiter = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val34 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val34 != null && val34.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val33 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val33 != null && val33.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val31 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result9; if (val31 != null) { Variant value8 = val31.Value; StringVariant val32 = (StringVariant)(object)((value8 is StringVariant) ? value8 : null); if (val32 != null) { result9 = ((val32.Value == "move_forward") ? 1 : 0); goto IL_002c; } } result9 = 0; goto IL_002c; IL_002c: return (byte)result9 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); MultiTokenWaiter moveBackWaiter = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val30 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val30 != null && val30.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val29 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val29 != null && val29.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, (Token t) => (int)t.Type == 4, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); MultiTokenWaiter moveRightWaiter = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val28 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val28 != null && val28.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val27 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val27 != null && val27.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val25 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result8; if (val25 != null) { Variant value7 = val25.Value; StringVariant val26 = (StringVariant)(object)((value7 is StringVariant) ? value7 : null); if (val26 != null) { result8 = ((val26.Value == "move_right") ? 1 : 0); goto IL_002c; } } result8 = 0; goto IL_002c; IL_002c: return (byte)result8 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); MultiTokenWaiter moveLeftWaiter = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val24 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val24 != null && val24.Name == "Input"; }, (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val23 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val23 != null && val23.Name == "is_action_pressed"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { ConstantToken val21 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result7; if (val21 != null) { Variant value6 = val21.Value; StringVariant val22 = (StringVariant)(object)((value6 is StringVariant) ? value6 : null); if (val22 != null) { result7 = ((val22.Value == "move_left") ? 1 : 0); goto IL_002c; } } result7 = 0; goto IL_002c; IL_002c: return (byte)result7 != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86 }, false, false); MultiTokenWaiter ySlowWaiter = new MultiTokenWaiter(new Func<Token, bool>[5] { (Token t) => (int)t.Type == 59, delegate(Token t) { IdentifierToken val20 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val20 != null && val20.Name == "y_slow"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val18 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result6; if (val18 != null) { Variant value5 = val18.Value; RealVariant val19 = (RealVariant)(object)((value5 is RealVariant) ? value5 : null); if (val19 != null) { result6 = ((val19.Value == 0.02) ? 1 : 0); goto IL_002d; } } result6 = 0; goto IL_002d; IL_002d: return (byte)result6 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); MultiTokenWaiter mushroomFovWaiter = new MultiTokenWaiter(new Func<Token, bool>[6] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val17 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val17 != null && val17.Name == "animation_data"; }, (Token t) => (int)t.Type == 76, delegate(Token t) { ConstantToken val15 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result5; if (val15 != null) { Variant value4 = val15.Value; StringVariant val16 = (StringVariant)(object)((value4 is StringVariant) ? value4 : null); if (val16 != null) { result5 = ((val16.Value == "mushroom") ? 1 : 0); goto IL_002c; } } result5 = 0; goto IL_002c; IL_002c: return (byte)result5 != 0; }, (Token t) => (int)t.Type == 77, (Token t) => (int)t.Type == 86 }, false, false); MultiTokenWaiter diveVecWaiter = new MultiTokenWaiter(new Func<Token, bool>[8] { (Token t) => (int)t.Type == 84, delegate(Token t) { IdentifierToken val14 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val14 != null && val14.Name == "ZERO"; }, (Token t) => (int)t.Type == 82, delegate(Token t) { IdentifierToken val13 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val13 != null && val13.Name == "delta"; }, (Token t) => (int)t.Type == 18, delegate(Token t) { IdentifierToken val12 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val12 != null && val12.Name == "_accel"; }, (Token t) => (int)t.Type == 18, delegate(Token t) { IdentifierToken val11 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val11 != null && val11.Name == "y_slow"; } }, false, false); MultiTokenWaiter ifDivingWaiter = new MultiTokenWaiter(new Func<Token, bool>[7] { (Token t) => (int)t.Type == 38, delegate(Token t) { IdentifierToken val10 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val10 != null && val10.Name == "diving"; }, (Token t) => (int)t.Type == 86, delegate(Token t) { IdentifierToken val9 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val9 != null && val9.Name == "speed_mult"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { ConstantToken val7 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result4; if (val7 != null) { Variant value3 = val7.Value; RealVariant val8 = (RealVariant)(object)((value3 is RealVariant) ? value3 : null); if (val8 != null) { result4 = ((val8.Value == 0.0) ? 1 : 0); goto IL_002d; } } result4 = 0; goto IL_002d; IL_002d: return (byte)result4 != 0; }, (Token t) => (int)t.Type == 89 }, false, false); new MultiTokenWaiter(new Func<Token, bool>[11] { delegate(Token t) { IdentifierToken val6 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val6 != null && val6.Name == "player_scale_y"; }, (Token t) => (int)t.Type == 23, delegate(Token t) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Invalid comparison between Unknown and I4 int result3; if ((int)t.Type == 5) { uint? associatedData = t.AssociatedData; result3 = ((associatedData.HasValue && associatedData.GetValueOrDefault() == 30) ? 1 : 0); } else { result3 = 0; } return (byte)result3 != 0; }, (Token t) => (int)t.Type == 80, delegate(Token t) { IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val5 != null && val5.Name == "player_scale_y"; }, (Token t) => (int)t.Type == 82, delegate(Token t) { ConstantToken val3 = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result2; if (val3 != null) { Variant value2 = val3.Value; RealVariant val4 = (RealVariant)(object)((value2 is RealVariant) ? value2 : null); if (val4 != null) { result2 = ((val4.Value == 1.0) ? 1 : 0); goto IL_002d; } } result2 = 0; goto IL_002d; IL_002d: return (byte)result2 != 0; }, (Token t) => (int)t.Type == 82, delegate(Token t) { ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null); int result; if (val != null) { Variant value = val.Value; RealVariant val2 = (RealVariant)(object)((value is RealVariant) ? value : null); if (val2 != null) { result = ((val2.Value == 0.35) ? 1 : 0); goto IL_002d; } } result = 0; goto IL_002d; IL_002d: return (byte)result != 0; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 89 }, false, false); global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator(); try { while (((global::System.Collections.IEnumerator)enumerator).MoveNext()) { Token token = enumerator.Current; if (diveDistanceWaiter.Check(token)) { yield return new Token((TokenType)16, (uint?)null); yield return (Token)new ConstantToken((Variant)new RealVariant((double)<speed>P, false)); yield return new Token((TokenType)89, (uint?)null); yield return new Token((TokenType)59, (uint?)null); yield return (Token)new IdentifierToken("was_diving"); yield return new Token((TokenType)23, (uint?)null); yield return (Token)new ConstantToken((Variant)new BoolVariant(false)); yield return new Token((TokenType)89, (uint?)null); } if (requestJumpWaiter.Check(token)) { yield return token; yield return new Token((TokenType)59, (uint?)null); yield return (Token)new IdentifierToken("jump_held"); yield return new Token((TokenType)23, (uint?)null); yield return (Token)new ConstantToken((Variant)new BoolVariant(false)); yield return new Token((TokenType)89, (uint?)null); } else if (moveJumpWaiter.Check(token)) { yield return token; yield return (Token)new IdentifierToken("jump_held"); yield return new Token((TokenType)23, (uint?)null); yield return (Token)new IdentifierToken("Input"); yield return new Token((TokenType)84, (uint?)null); yield return (Token)new IdentifierToken("is_action_pressed"); yield return new Token((TokenType)80, (uint?)null); yield return (Token)new ConstantToken((Variant)new StringVariant("move_jump")); yield return new Token((TokenType)81, (uint?)null); yield return new Token((TokenType)89, (uint?)null); } else if (moveForwardWaiter.Check(token)) { yield return new Token((TokenType)13, (uint?)null); yield return new Token((TokenType)15, (uint?)null); yield return (Token)new IdentifierToken("diving"); yield return token; } else if (moveBackWaiter.Check(token)) { yield return new Token((TokenType)13, (uint?)null); yield return new Token((TokenType)15, (uint?)null); yield return (Token)new IdentifierToken("diving"); yield return token; } else if (moveLeftWaiter.Check(token)) { yield return new Token((TokenType)13, (uint?)null); yield return new Token((TokenType)15, (uint?)null); yield return (Token)new IdentifierToken("diving"); yield return token; } else if (moveRightWaiter.Check(token)) { yield return new Token(