Decompiled source of thetambourine v1.2.1

GDWeave/mods/officerballs.thetambourine/worldpatch.dll

Decompiled 3 weeks ago
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("worldpatch")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0.0")]
[assembly: AssemblyProduct("worldpatch")]
[assembly: AssemblyTitle("worldpatch")]
[assembly: AssemblyVersion("1.0.0.0")]
[module: RefSafetyRules(11)]
namespace BallsWorldPatch;

public class Config
{
	[JsonInclude]
	public bool SomeSetting = true;
}
public class Mod : IMod, global::System.IDisposable
{
	public Config Config;

	public Mod(IModInterface modInterface)
	{
		Config = modInterface.ReadConfig<Config>();
		modInterface.RegisterScriptMod((IScriptMod)(object)new WorldInstanceMod());
		modInterface.RegisterScriptMod((IScriptMod)(object)new ActorWipePatch());
		modInterface.RegisterScriptMod((IScriptMod)(object)new RipplePatch());
		modInterface.Logger.Information("Hello, world!");
	}

	public void Dispose()
	{
	}
}
public class ActorWipePatch : IScriptMod
{
	[CompilerGenerated]
	private sealed class <Modify>d__1 : 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 string path;

		public string <>3__path;

		private global::System.Collections.Generic.IEnumerable<Token> tokens;

		public global::System.Collections.Generic.IEnumerable<Token> <>3__tokens;

		public ActorWipePatch <>4__this;

		private MultiTokenWaiter <funcstop>5__1;

		private MultiTokenWaiter <wipeadd>5__2;

		private MultiTokenWaiter <declared>5__3;

		private global::System.Collections.Generic.IEnumerator<Token> <>s__4;

		private Token <token>5__5;

		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__1(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) > 154u)
			{
				return;
			}
			try
			{
			}
			finally
			{
				<>m__Finally1();
			}
		}

		private bool MoveNext()
		{
			//IL_0827: Unknown result type (might be due to invalid IL or missing references)
			//IL_0831: Expected O, but got Unknown
			//IL_0853: Unknown result type (might be due to invalid IL or missing references)
			//IL_085d: Expected O, but got Unknown
			//IL_0879: Unknown result type (might be due to invalid IL or missing references)
			//IL_0883: Expected O, but got Unknown
			//IL_08a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_08af: Expected O, but got Unknown
			//IL_08cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_08d5: Expected O, but got Unknown
			//IL_08f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0900: Expected O, but got Unknown
			//IL_091c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0926: Expected O, but got Unknown
			//IL_0921: Unknown result type (might be due to invalid IL or missing references)
			//IL_092b: Expected O, but got Unknown
			//IL_094d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0957: Expected O, but got Unknown
			//IL_0974: Unknown result type (might be due to invalid IL or missing references)
			//IL_097e: Expected O, but got Unknown
			//IL_09a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_09ab: Expected O, but got Unknown
			//IL_09c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_09d2: Expected O, but got Unknown
			//IL_09f4: Unknown result type (might be due to invalid IL or missing references)
			//IL_09fe: Expected O, but got Unknown
			//IL_0a1b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a25: Expected O, but got Unknown
			//IL_0a20: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a2a: Expected O, but got Unknown
			//IL_0a4d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a57: Expected O, but got Unknown
			//IL_0a74: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a7e: Expected O, but got Unknown
			//IL_0aa1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aab: Expected O, but got Unknown
			//IL_0ac8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ad2: Expected O, but got Unknown
			//IL_0af5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aff: Expected O, but got Unknown
			//IL_0b18: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b22: Expected O, but got Unknown
			//IL_0b1d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b27: Expected O, but got Unknown
			//IL_0b4a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b54: Expected O, but got Unknown
			//IL_0b74: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b7e: Expected O, but got Unknown
			//IL_0ba1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bab: Expected O, but got Unknown
			//IL_0bce: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bd8: Expected O, but got Unknown
			//IL_0bfb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c05: Expected O, but got Unknown
			//IL_0c25: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c2f: Expected O, but got Unknown
			//IL_0c96: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ca0: Expected O, but got Unknown
			//IL_0cc3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ccd: Expected O, but got Unknown
			//IL_0cea: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cf4: Expected O, but got Unknown
			//IL_0d17: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d21: Expected O, but got Unknown
			//IL_0d3e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d48: Expected O, but got Unknown
			//IL_0d6b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d75: Expected O, but got Unknown
			//IL_0d92: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d9c: Expected O, but got Unknown
			//IL_0dbf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dc9: Expected O, but got Unknown
			//IL_0de2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dec: Expected O, but got Unknown
			//IL_0de7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0df1: Expected O, but got Unknown
			//IL_0e14: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e1e: Expected O, but got Unknown
			//IL_0e41: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e4b: Expected O, but got Unknown
			//IL_0e6b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e75: Expected O, but got Unknown
			//IL_0e98: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ea2: Expected O, but got Unknown
			//IL_0ec5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ecf: Expected O, but got Unknown
			//IL_0eec: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ef6: Expected O, but got Unknown
			//IL_0f19: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f23: Expected O, but got Unknown
			//IL_0f46: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f50: Expected O, but got Unknown
			//IL_0f70: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f7a: Expected O, but got Unknown
			//IL_0f9d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fa7: Expected O, but got Unknown
			//IL_0fc4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fce: Expected O, but got Unknown
			//IL_0ff1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ffb: Expected O, but got Unknown
			//IL_1018: Unknown result type (might be due to invalid IL or missing references)
			//IL_1022: Expected O, but got Unknown
			//IL_1045: Unknown result type (might be due to invalid IL or missing references)
			//IL_104f: Expected O, but got Unknown
			//IL_106c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1076: Expected O, but got Unknown
			//IL_1099: Unknown result type (might be due to invalid IL or missing references)
			//IL_10a3: Expected O, but got Unknown
			//IL_10c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_10ca: Expected O, but got Unknown
			//IL_10ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_10f7: Expected O, but got Unknown
			//IL_1117: Unknown result type (might be due to invalid IL or missing references)
			//IL_1121: Expected O, but got Unknown
			//IL_1144: Unknown result type (might be due to invalid IL or missing references)
			//IL_114e: Expected O, but got Unknown
			//IL_116e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1178: Expected O, but got Unknown
			//IL_119b: Unknown result type (might be due to invalid IL or missing references)
			//IL_11a5: Expected O, but got Unknown
			//IL_11c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_11cc: Expected O, but got Unknown
			//IL_11ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_11f9: Expected O, but got Unknown
			//IL_121c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1226: Expected O, but got Unknown
			//IL_1246: Unknown result type (might be due to invalid IL or missing references)
			//IL_1250: Expected O, but got Unknown
			//IL_126d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1277: Expected O, but got Unknown
			//IL_129a: Unknown result type (might be due to invalid IL or missing references)
			//IL_12a4: Expected O, but got Unknown
			//IL_12c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_12cb: Expected O, but got Unknown
			//IL_12ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_12f8: Expected O, but got Unknown
			//IL_1311: Unknown result type (might be due to invalid IL or missing references)
			//IL_131b: Expected O, but got Unknown
			//IL_1316: Unknown result type (might be due to invalid IL or missing references)
			//IL_1320: Expected O, but got Unknown
			//IL_1343: Unknown result type (might be due to invalid IL or missing references)
			//IL_134d: Expected O, but got Unknown
			//IL_1370: Unknown result type (might be due to invalid IL or missing references)
			//IL_137a: Expected O, but got Unknown
			//IL_13e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_13eb: Expected O, but got Unknown
			//IL_140e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1418: Expected O, but got Unknown
			//IL_1435: Unknown result type (might be due to invalid IL or missing references)
			//IL_143f: Expected O, but got Unknown
			//IL_1462: Unknown result type (might be due to invalid IL or missing references)
			//IL_146c: Expected O, but got Unknown
			//IL_1487: Unknown result type (might be due to invalid IL or missing references)
			//IL_1491: Expected O, but got Unknown
			//IL_148c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1496: Expected O, but got Unknown
			//IL_14b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_14c3: Expected O, but got Unknown
			//IL_14e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_14f0: Expected O, but got Unknown
			//IL_150d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1517: Expected O, but got Unknown
			//IL_153a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1544: Expected O, but got Unknown
			//IL_155f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1569: Expected O, but got Unknown
			//IL_1564: Unknown result type (might be due to invalid IL or missing references)
			//IL_156e: Expected O, but got Unknown
			//IL_1591: Unknown result type (might be due to invalid IL or missing references)
			//IL_159b: Expected O, but got Unknown
			//IL_15be: Unknown result type (might be due to invalid IL or missing references)
			//IL_15c8: Expected O, but got Unknown
			//IL_15e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_15ef: Expected O, but got Unknown
			//IL_1612: Unknown result type (might be due to invalid IL or missing references)
			//IL_161c: Expected O, but got Unknown
			//IL_1635: Unknown result type (might be due to invalid IL or missing references)
			//IL_163f: Expected O, but got Unknown
			//IL_163a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1644: Expected O, but got Unknown
			//IL_1667: Unknown result type (might be due to invalid IL or missing references)
			//IL_1671: Expected O, but got Unknown
			//IL_1694: Unknown result type (might be due to invalid IL or missing references)
			//IL_169e: Expected O, but got Unknown
			//IL_16bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_16c5: Expected O, but got Unknown
			//IL_16e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_16f2: Expected O, but got Unknown
			//IL_1711: Unknown result type (might be due to invalid IL or missing references)
			//IL_171b: Expected O, but got Unknown
			//IL_173e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1748: 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_17c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_17cf: Expected O, but got Unknown
			//IL_17ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_17f6: Expected O, but got Unknown
			//IL_1819: Unknown result type (might be due to invalid IL or missing references)
			//IL_1823: Expected O, but got Unknown
			//IL_1840: Unknown result type (might be due to invalid IL or missing references)
			//IL_184a: Expected O, but got Unknown
			//IL_1845: Unknown result type (might be due to invalid IL or missing references)
			//IL_184f: Expected O, but got Unknown
			//IL_1872: Unknown result type (might be due to invalid IL or missing references)
			//IL_187c: Expected O, but got Unknown
			//IL_189f: Unknown result type (might be due to invalid IL or missing references)
			//IL_18a9: Expected O, but got Unknown
			//IL_18c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_18d0: Expected O, but got Unknown
			//IL_18f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_18fd: Expected O, but got Unknown
			//IL_1918: Unknown result type (might be due to invalid IL or missing references)
			//IL_1922: Expected O, but got Unknown
			//IL_191d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1927: Expected O, but got Unknown
			//IL_194a: Unknown result type (might be due to invalid IL or missing references)
			//IL_1954: Expected O, but got Unknown
			//IL_1977: Unknown result type (might be due to invalid IL or missing references)
			//IL_1981: Expected O, but got Unknown
			//IL_199e: Unknown result type (might be due to invalid IL or missing references)
			//IL_19a8: Expected O, but got Unknown
			//IL_19cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_19d5: Expected O, but got Unknown
			//IL_19f0: Unknown result type (might be due to invalid IL or missing references)
			//IL_19fa: Expected O, but got Unknown
			//IL_19f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_19ff: Expected O, but got Unknown
			//IL_1a22: Unknown result type (might be due to invalid IL or missing references)
			//IL_1a2c: Expected O, but got Unknown
			//IL_1a4f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1a59: Expected O, but got Unknown
			//IL_1a76: Unknown result type (might be due to invalid IL or missing references)
			//IL_1a80: Expected O, but got Unknown
			//IL_1aa3: Unknown result type (might be due to invalid IL or missing references)
			//IL_1aad: 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_1acb: Unknown result type (might be due to invalid IL or missing references)
			//IL_1ad5: Expected O, but got Unknown
			//IL_1af8: Unknown result type (might be due to invalid IL or missing references)
			//IL_1b02: Expected O, but got Unknown
			//IL_1b25: Unknown result type (might be due to invalid IL or missing references)
			//IL_1b2f: Expected O, but got Unknown
			//IL_1b4c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1b56: Expected O, but got Unknown
			//IL_1b79: Unknown result type (might be due to invalid IL or missing references)
			//IL_1b83: Expected O, but got Unknown
			//IL_1b9c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1ba6: Expected O, but got Unknown
			//IL_1ba1: Unknown result type (might be due to invalid IL or missing references)
			//IL_1bab: Expected O, but got Unknown
			//IL_1bce: Unknown result type (might be due to invalid IL or missing references)
			//IL_1bd8: Expected O, but got Unknown
			//IL_1bfb: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c05: Expected O, but got Unknown
			//IL_1c22: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c2c: Expected O, but got Unknown
			//IL_1c4f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c59: Expected O, but got Unknown
			//IL_1c72: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c7c: Expected O, but got Unknown
			//IL_1c77: Unknown result type (might be due to invalid IL or missing references)
			//IL_1c81: 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_1cd1: Unknown result type (might be due to invalid IL or missing references)
			//IL_1cdb: Expected O, but got Unknown
			//IL_1cf8: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d02: Expected O, but got Unknown
			//IL_1d25: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d2f: Expected O, but got Unknown
			//IL_1d4e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d58: Expected O, but got Unknown
			//IL_1d7b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1d85: Expected O, but got Unknown
			//IL_1dab: Unknown result type (might be due to invalid IL or missing references)
			//IL_1db5: Expected O, but got Unknown
			//IL_1ddb: Unknown result type (might be due to invalid IL or missing references)
			//IL_1de5: Expected O, but got Unknown
			//IL_1e0b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e15: Expected O, but got Unknown
			//IL_1e35: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e3f: Expected O, but got Unknown
			//IL_1e65: Unknown result type (might be due to invalid IL or missing references)
			//IL_1e6f: 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_1e99: Unknown result type (might be due to invalid IL or missing references)
			//IL_1ea3: Expected O, but got Unknown
			//IL_1ec9: Unknown result type (might be due to invalid IL or missing references)
			//IL_1ed3: Expected O, but got Unknown
			//IL_1ef9: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f03: Expected O, but got Unknown
			//IL_1f23: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f2d: Expected O, but got Unknown
			//IL_1f53: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f5d: Expected O, but got Unknown
			//IL_1f7d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f87: Expected O, but got Unknown
			//IL_1f82: Unknown result type (might be due to invalid IL or missing references)
			//IL_1f8c: Expected O, but got Unknown
			//IL_1fb2: Unknown result type (might be due to invalid IL or missing references)
			//IL_1fbc: Expected O, but got Unknown
			//IL_1fe2: Unknown result type (might be due to invalid IL or missing references)
			//IL_1fec: Expected O, but got Unknown
			//IL_200c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2016: Expected O, but got Unknown
			//IL_203c: Unknown result type (might be due to invalid IL or missing references)
			//IL_2046: Expected O, but got Unknown
			//IL_2064: Unknown result type (might be due to invalid IL or missing references)
			//IL_206e: Expected O, but got Unknown
			//IL_2069: Unknown result type (might be due to invalid IL or missing references)
			//IL_2073: Expected O, but got Unknown
			//IL_2099: Unknown result type (might be due to invalid IL or missing references)
			//IL_20a3: Expected O, but got Unknown
			//IL_20c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_20d3: Expected O, but got Unknown
			//IL_20f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_20fd: Expected O, but got Unknown
			//IL_2123: Unknown result type (might be due to invalid IL or missing references)
			//IL_212d: 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_214e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2158: Expected O, but got Unknown
			//IL_217e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2188: Expected O, but got Unknown
			//IL_21ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_21b8: Expected O, but got Unknown
			//IL_21d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_21e2: Expected O, but got Unknown
			//IL_2208: Unknown result type (might be due to invalid IL or missing references)
			//IL_2212: Expected O, but got Unknown
			//IL_222e: Unknown result type (might be due to invalid IL or missing references)
			//IL_2238: Expected O, but got Unknown
			//IL_2233: Unknown result type (might be due to invalid IL or missing references)
			//IL_223d: Expected O, but got Unknown
			//IL_062e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0638: Expected O, but got Unknown
			//IL_070d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0717: Expected O, but got Unknown
			//IL_07a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_07b2: Expected O, but got Unknown
			try
			{
				switch (<>1__state)
				{
				default:
					return false;
				case 0:
					<>1__state = -1;
					<funcstop>5__1 = new MultiTokenWaiter(new Func<Token, bool>[4]
					{
						delegate(Token t)
						{
							IdentifierToken val7 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
							return val7 != null && val7.Name == "_get_actor_by_id";
						},
						(Token t) => (int)t.Type == 80,
						delegate(Token t)
						{
							IdentifierToken val6 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
							return val6 != null && val6.Name == "id";
						},
						(Token t) => (int)t.Type == 81
					}, false, false);
					<wipeadd>5__2 = new MultiTokenWaiter(new Func<Token, bool>[6]
					{
						delegate(Token t)
						{
							IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
							return val5 != null && val5.Name == "FALLBACK_ITEM";
						},
						(Token t) => (int)t.Type == 84,
						delegate(Token t)
						{
							IdentifierToken val4 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
							return val4 != null && val4.Name == "duplicate";
						},
						(Token t) => (int)t.Type == 80,
						(Token t) => (int)t.Type == 81,
						(Token t) => (int)t.Type == 81
					}, false, false);
					<declared>5__3 = new MultiTokenWaiter(new Func<Token, bool>[4]
					{
						(Token t) => (int)t.Type == 59,
						delegate(Token t)
						{
							IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
							return val3 != null && val3.Name == "camera_zoom";
						},
						(Token t) => (int)t.Type == 23,
						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 == 5.0) ? 1 : 0);
									goto IL_002d;
								}
							}
							result = 0;
							goto IL_002d;
							IL_002d:
							return (byte)result != 0;
						}
					}, false, false);
					<>s__4 = tokens.GetEnumerator();
					<>1__state = -3;
					break;
				case 1:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)1u);
					<>1__state = 2;
					return true;
				case 2:
					<>1__state = -3;
					<>2__current = new Token((TokenType)38, (uint?)null);
					<>1__state = 3;
					return true;
				case 3:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("actor");
					<>1__state = 4;
					return true;
				case 4:
					<>1__state = -3;
					<>2__current = new Token((TokenType)84, (uint?)null);
					<>1__state = 5;
					return true;
				case 5:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("actor_type");
					<>1__state = 6;
					return true;
				case 6:
					<>1__state = -3;
					<>2__current = new Token((TokenType)8, (uint?)null);
					<>1__state = 7;
					return true;
				case 7:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new StringVariant("fish_spawn"));
					<>1__state = 8;
					return true;
				case 8:
					<>1__state = -3;
					<>2__current = new Token((TokenType)13, (uint?)null);
					<>1__state = 9;
					return true;
				case 9:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("actor");
					<>1__state = 10;
					return true;
				case 10:
					<>1__state = -3;
					<>2__current = new Token((TokenType)84, (uint?)null);
					<>1__state = 11;
					return true;
				case 11:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("actor_type");
					<>1__state = 12;
					return true;
				case 12:
					<>1__state = -3;
					<>2__current = new Token((TokenType)8, (uint?)null);
					<>1__state = 13;
					return true;
				case 13:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new StringVariant("fish_spawn_alien"));
					<>1__state = 14;
					return true;
				case 14:
					<>1__state = -3;
					<>2__current = new Token((TokenType)86, (uint?)null);
					<>1__state = 15;
					return true;
				case 15:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("_wipe_alt");
					<>1__state = 16;
					return true;
				case 16:
					<>1__state = -3;
					<>2__current = new Token((TokenType)80, (uint?)null);
					<>1__state = 17;
					return true;
				case 17:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("id");
					<>1__state = 18;
					return true;
				case 18:
					<>1__state = -3;
					<>2__current = new Token((TokenType)82, (uint?)null);
					<>1__state = 19;
					return true;
				case 19:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
					<>1__state = 20;
					return true;
				case 20:
					<>1__state = -3;
					<>2__current = new Token((TokenType)81, (uint?)null);
					<>1__state = 21;
					return true;
				case 21:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)1u);
					<>1__state = 22;
					return true;
				case 22:
					<>1__state = -3;
					<>2__current = new Token((TokenType)40, (uint?)null);
					<>1__state = 23;
					return true;
				case 23:
					<>1__state = -3;
					<>2__current = new Token((TokenType)86, (uint?)null);
					<>1__state = 24;
					return true;
				case 24:
					<>1__state = -3;
					<>2__current = new Token((TokenType)46, (uint?)null);
					<>1__state = 25;
					return true;
				case 25:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)1u);
					<>1__state = 26;
					return true;
				case 26:
					<>1__state = -3;
					goto IL_227c;
				case 27:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 28;
					return true;
				case 28:
					<>1__state = -3;
					<>2__current = new Token((TokenType)48, (uint?)null);
					<>1__state = 29;
					return true;
				case 29:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("_wipe_alt");
					<>1__state = 30;
					return true;
				case 30:
					<>1__state = -3;
					<>2__current = new Token((TokenType)80, (uint?)null);
					<>1__state = 31;
					return true;
				case 31:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("id");
					<>1__state = 32;
					return true;
				case 32:
					<>1__state = -3;
					<>2__current = new Token((TokenType)82, (uint?)null);
					<>1__state = 33;
					return true;
				case 33:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("key");
					<>1__state = 34;
					return true;
				case 34:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 35;
					return true;
				case 35:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
					<>1__state = 36;
					return true;
				case 36:
					<>1__state = -3;
					<>2__current = new Token((TokenType)81, (uint?)null);
					<>1__state = 37;
					return true;
				case 37:
					<>1__state = -3;
					<>2__current = new Token((TokenType)86, (uint?)null);
					<>1__state = 38;
					return true;
				case 38:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)1u);
					<>1__state = 39;
					return true;
				case 39:
					<>1__state = -3;
					<>2__current = new Token((TokenType)38, (uint?)null);
					<>1__state = 40;
					return true;
				case 40:
					<>1__state = -3;
					<>2__current = new Token((TokenType)15, (uint?)null);
					<>1__state = 41;
					return true;
				case 41:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("key");
					<>1__state = 42;
					return true;
				case 42:
					<>1__state = -3;
					<>2__current = new Token((TokenType)86, (uint?)null);
					<>1__state = 43;
					return true;
				case 43:
					<>1__state = -3;
					<>2__current = new Token((TokenType)46, (uint?)null);
					<>1__state = 44;
					return true;
				case 44:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)1u);
					<>1__state = 45;
					return true;
				case 45:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 46;
					return true;
				case 46:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("actor");
					<>1__state = 47;
					return true;
				case 47:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 48;
					return true;
				case 48:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("world");
					<>1__state = 49;
					return true;
				case 49:
					<>1__state = -3;
					<>2__current = new Token((TokenType)84, (uint?)null);
					<>1__state = 50;
					return true;
				case 50:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("_get_actor_by_id");
					<>1__state = 51;
					return true;
				case 51:
					<>1__state = -3;
					<>2__current = new Token((TokenType)80, (uint?)null);
					<>1__state = 52;
					return true;
				case 52:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("id");
					<>1__state = 53;
					return true;
				case 53:
					<>1__state = -3;
					<>2__current = new Token((TokenType)81, (uint?)null);
					<>1__state = 54;
					return true;
				case 54:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)1u);
					<>1__state = 55;
					return true;
				case 55:
					<>1__state = -3;
					<>2__current = new Token((TokenType)38, (uint?)null);
					<>1__state = 56;
					return true;
				case 56:
					<>1__state = -3;
					<>2__current = new Token((TokenType)5, (uint?)89u);
					<>1__state = 57;
					return true;
				case 57:
					<>1__state = -3;
					<>2__current = new Token((TokenType)80, (uint?)null);
					<>1__state = 58;
					return true;
				case 58:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("actor");
					<>1__state = 59;
					return true;
				case 59:
					<>1__state = -3;
					<>2__current = new Token((TokenType)81, (uint?)null);
					<>1__state = 60;
					return true;
				case 60:
					<>1__state = -3;
					<>2__current = new Token((TokenType)86, (uint?)null);
					<>1__state = 61;
					return true;
				case 61:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)2u);
					<>1__state = 62;
					return true;
				case 62:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("actor");
					<>1__state = 63;
					return true;
				case 63:
					<>1__state = -3;
					<>2__current = new Token((TokenType)84, (uint?)null);
					<>1__state = 64;
					return true;
				case 64:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("_deinstantiate");
					<>1__state = 65;
					return true;
				case 65:
					<>1__state = -3;
					<>2__current = new Token((TokenType)80, (uint?)null);
					<>1__state = 66;
					return true;
				case 66:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
					<>1__state = 67;
					return true;
				case 67:
					<>1__state = -3;
					<>2__current = new Token((TokenType)81, (uint?)null);
					<>1__state = 68;
					return true;
				case 68:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 69;
					return true;
				case 69:
					<>1__state = -3;
					goto IL_227c;
				case 70:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 71;
					return true;
				case 71:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 72;
					return true;
				case 72:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("tamb_choice");
					<>1__state = 73;
					return true;
				case 73:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 74;
					return true;
				case 74:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
					<>1__state = 75;
					return true;
				case 75:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 76;
					return true;
				case 76:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 77;
					return true;
				case 77:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("meteortimer");
					<>1__state = 78;
					return true;
				case 78:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 79;
					return true;
				case 79:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					<>1__state = 80;
					return true;
				case 80:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 81;
					return true;
				case 81:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 82;
					return true;
				case 82:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("meteored");
					<>1__state = 83;
					return true;
				case 83:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 84;
					return true;
				case 84:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
					<>1__state = 85;
					return true;
				case 85:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 86;
					return true;
				case 86:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 87;
					return true;
				case 87:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("meteorPos");
					<>1__state = 88;
					return true;
				case 88:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 89;
					return true;
				case 89:
					<>1__state = -3;
					<>2__current = new Token((TokenType)4, (uint?)7u);
					<>1__state = 90;
					return true;
				case 90:
					<>1__state = -3;
					<>2__current = new Token((TokenType)80, (uint?)null);
					<>1__state = 91;
					return true;
				case 91:
					<>1__state = -3;
					<>2__current = new Token((TokenType)81, (uint?)null);
					<>1__state = 92;
					return true;
				case 92:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 93;
					return true;
				case 93:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 94;
					return true;
				case 94:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("meteorZone");
					<>1__state = 95;
					return true;
				case 95:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 96;
					return true;
				case 96:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new StringVariant(""));
					<>1__state = 97;
					return true;
				case 97:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 98;
					return true;
				case 98:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 99;
					return true;
				case 99:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("meteorZoneOwner");
					<>1__state = 100;
					return true;
				case 100:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 101;
					return true;
				case 101:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					<>1__state = 102;
					return true;
				case 102:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 103;
					return true;
				case 103:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 104;
					return true;
				case 104:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("rippletimer");
					<>1__state = 105;
					return true;
				case 105:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 106;
					return true;
				case 106:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					<>1__state = 107;
					return true;
				case 107:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 108;
					return true;
				case 108:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 109;
					return true;
				case 109:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("hatDisable");
					<>1__state = 110;
					return true;
				case 110:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 111;
					return true;
				case 111:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
					<>1__state = 112;
					return true;
				case 112:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 113;
					return true;
				case 113:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 114;
					return true;
				case 114:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("rippleHat");
					<>1__state = 115;
					return true;
				case 115:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 116;
					return true;
				case 116:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
					<>1__state = 117;
					return true;
				case 117:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 118;
					return true;
				case 118:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 119;
					return true;
				case 119:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("lockHatPos");
					<>1__state = 120;
					return true;
				case 120:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 121;
					return true;
				case 121:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
					<>1__state = 122;
					return true;
				case 122:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 123;
					return true;
				case 123:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 124;
					return true;
				case 124:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("rippleHatPos");
					<>1__state = 125;
					return true;
				case 125:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 126;
					return true;
				case 126:
					<>1__state = -3;
					<>2__current = new Token((TokenType)4, (uint?)7u);
					<>1__state = 127;
					return true;
				case 127:
					<>1__state = -3;
					<>2__current = new Token((TokenType)80, (uint?)null);
					<>1__state = 128;
					return true;
				case 128:
					<>1__state = -3;
					<>2__current = new Token((TokenType)81, (uint?)null);
					<>1__state = 129;
					return true;
				case 129:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 130;
					return true;
				case 130:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 131;
					return true;
				case 131:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("rippleHeightOffset");
					<>1__state = 132;
					return true;
				case 132:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 133;
					return true;
				case 133:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new RealVariant(-0.32, false));
					<>1__state = 134;
					return true;
				case 134:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 135;
					return true;
				case 135:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 136;
					return true;
				case 136:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("rippleHatZone");
					<>1__state = 137;
					return true;
				case 137:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 138;
					return true;
				case 138:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new StringVariant(""));
					<>1__state = 139;
					return true;
				case 139:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 140;
					return true;
				case 140:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 141;
					return true;
				case 141:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("rippleHatZoneOwner");
					<>1__state = 142;
					return true;
				case 142:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 143;
					return true;
				case 143:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					<>1__state = 144;
					return true;
				case 144:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 145;
					return true;
				case 145:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 146;
					return true;
				case 146:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("dedilatch");
					<>1__state = 147;
					return true;
				case 147:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 148;
					return true;
				case 148:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
					<>1__state = 149;
					return true;
				case 149:
					<>1__state = -3;
					<>2__current = new Token((TokenType)89, (uint?)null);
					<>1__state = 150;
					return true;
				case 150:
					<>1__state = -3;
					<>2__current = new Token((TokenType)59, (uint?)null);
					<>1__state = 151;
					return true;
				case 151:
					<>1__state = -3;
					<>2__current = (Token)new IdentifierToken("internallatch");
					<>1__state = 152;
					return true;
				case 152:
					<>1__state = -3;
					<>2__current = new Token((TokenType)23, (uint?)null);
					<>1__state = 153;
					return true;
				case 153:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
					<>1__state = 154;
					return true;
				case 154:
					<>1__state = -3;
					goto IL_227c;
				case 155:
					{
						<>1__state = -3;
						goto IL_227c;
					}
					IL_227c:
					<token>5__5 = null;
					break;
				}
				if (((global::System.Collections.IEnumerator)<>s__4).MoveNext())
				{
					<token>5__5 = <>s__4.Current;
					if (<funcstop>5__1.Check(<token>5__5))
					{
						<>2__current = <token>5__5;
						<>1__state = 1;
						return true;
					}
					if (<wipeadd>5__2.Check(<token>5__5))
					{
						<>2__current = <token>5__5;
						<>1__state = 27;
						return true;
					}
					if (<declared>5__3.Check(<token>5__5))
					{
						<>2__current = <token>5__5;
						<>1__state = 70;
						return true;
					}
					<>2__current = <token>5__5;
					<>1__state = 155;
					return true;
				}
				<>m__Finally1();
				<>s__4 = null;
				return false;
			}
			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__4 != null)
			{
				((global::System.IDisposable)<>s__4).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__1 <Modify>d__;
			if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId)
			{
				<>1__state = 0;
				<Modify>d__ = this;
			}
			else
			{
				<Modify>d__ = new <Modify>d__1(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();
		}
	}

	public bool ShouldRun(string path)
	{
		return path == "res://Scenes/Entities/Player/player.gdc";
	}

	[IteratorStateMachine(typeof(<Modify>d__1))]
	public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens)
	{
		MultiTokenWaiter funcstop = new MultiTokenWaiter(new Func<Token, bool>[4]
		{
			delegate(Token t)
			{
				IdentifierToken val7 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
				return val7 != null && val7.Name == "_get_actor_by_id";
			},
			(Token t) => (int)t.Type == 80,
			delegate(Token t)
			{
				IdentifierToken val6 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
				return val6 != null && val6.Name == "id";
			},
			(Token t) => (int)t.Type == 81
		}, false, false);
		MultiTokenWaiter wipeadd = new MultiTokenWaiter(new Func<Token, bool>[6]
		{
			delegate(Token t)
			{
				IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
				return val5 != null && val5.Name == "FALLBACK_ITEM";
			},
			(Token t) => (int)t.Type == 84,
			delegate(Token t)
			{
				IdentifierToken val4 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
				return val4 != null && val4.Name == "duplicate";
			},
			(Token t) => (int)t.Type == 80,
			(Token t) => (int)t.Type == 81,
			(Token t) => (int)t.Type == 81
		}, false, false);
		MultiTokenWaiter declared = new MultiTokenWaiter(new Func<Token, bool>[4]
		{
			(Token t) => (int)t.Type == 59,
			delegate(Token t)
			{
				IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
				return val3 != null && val3.Name == "camera_zoom";
			},
			(Token t) => (int)t.Type == 23,
			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 == 5.0) ? 1 : 0);
						goto IL_002d;
					}
				}
				result = 0;
				goto IL_002d;
				IL_002d:
				return (byte)result != 0;
			}
		}, false, false);
		global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator();
		try
		{
			while (((global::System.Collections.IEnumerator)enumerator).MoveNext())
			{
				Token token = enumerator.Current;
				if (funcstop.Check(token))
				{
					yield return token;
					yield return new Token((TokenType)89, (uint?)1u);
					yield return new Token((TokenType)38, (uint?)null);
					yield return (Token)new IdentifierToken("actor");
					yield return new Token((TokenType)84, (uint?)null);
					yield return (Token)new IdentifierToken("actor_type");
					yield return new Token((TokenType)8, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new StringVariant("fish_spawn"));
					yield return new Token((TokenType)13, (uint?)null);
					yield return (Token)new IdentifierToken("actor");
					yield return new Token((TokenType)84, (uint?)null);
					yield return (Token)new IdentifierToken("actor_type");
					yield return new Token((TokenType)8, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new StringVariant("fish_spawn_alien"));
					yield return new Token((TokenType)86, (uint?)null);
					yield return (Token)new IdentifierToken("_wipe_alt");
					yield return new Token((TokenType)80, (uint?)null);
					yield return (Token)new IdentifierToken("id");
					yield return new Token((TokenType)82, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new BoolVariant(true));
					yield return new Token((TokenType)81, (uint?)null);
					yield return new Token((TokenType)89, (uint?)1u);
					yield return new Token((TokenType)40, (uint?)null);
					yield return new Token((TokenType)86, (uint?)null);
					yield return new Token((TokenType)46, (uint?)null);
					yield return new Token((TokenType)89, (uint?)1u);
				}
				else if (wipeadd.Check(token))
				{
					yield return token;
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)48, (uint?)null);
					yield return (Token)new IdentifierToken("_wipe_alt");
					yield return new Token((TokenType)80, (uint?)null);
					yield return (Token)new IdentifierToken("id");
					yield return new Token((TokenType)82, (uint?)null);
					yield return (Token)new IdentifierToken("key");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
					yield return new Token((TokenType)81, (uint?)null);
					yield return new Token((TokenType)86, (uint?)null);
					yield return new Token((TokenType)89, (uint?)1u);
					yield return new Token((TokenType)38, (uint?)null);
					yield return new Token((TokenType)15, (uint?)null);
					yield return (Token)new IdentifierToken("key");
					yield return new Token((TokenType)86, (uint?)null);
					yield return new Token((TokenType)46, (uint?)null);
					yield return new Token((TokenType)89, (uint?)1u);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("actor");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new IdentifierToken("world");
					yield return new Token((TokenType)84, (uint?)null);
					yield return (Token)new IdentifierToken("_get_actor_by_id");
					yield return new Token((TokenType)80, (uint?)null);
					yield return (Token)new IdentifierToken("id");
					yield return new Token((TokenType)81, (uint?)null);
					yield return new Token((TokenType)89, (uint?)1u);
					yield return new Token((TokenType)38, (uint?)null);
					yield return new Token((TokenType)5, (uint?)89u);
					yield return new Token((TokenType)80, (uint?)null);
					yield return (Token)new IdentifierToken("actor");
					yield return new Token((TokenType)81, (uint?)null);
					yield return new Token((TokenType)86, (uint?)null);
					yield return new Token((TokenType)89, (uint?)2u);
					yield return (Token)new IdentifierToken("actor");
					yield return new Token((TokenType)84, (uint?)null);
					yield return (Token)new IdentifierToken("_deinstantiate");
					yield return new Token((TokenType)80, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new BoolVariant(true));
					yield return new Token((TokenType)81, (uint?)null);
					yield return new Token((TokenType)89, (uint?)null);
				}
				else if (declared.Check(token))
				{
					yield return token;
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("tamb_choice");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("meteortimer");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("meteored");
					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);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("meteorPos");
					yield return new Token((TokenType)23, (uint?)null);
					yield return new Token((TokenType)4, (uint?)7u);
					yield return new Token((TokenType)80, (uint?)null);
					yield return new Token((TokenType)81, (uint?)null);
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("meteorZone");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new StringVariant(""));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("meteorZoneOwner");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("rippletimer");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("hatDisable");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new BoolVariant(true));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("rippleHat");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new BoolVariant(true));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("lockHatPos");
					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);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("rippleHatPos");
					yield return new Token((TokenType)23, (uint?)null);
					yield return new Token((TokenType)4, (uint?)7u);
					yield return new Token((TokenType)80, (uint?)null);
					yield return new Token((TokenType)81, (uint?)null);
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("rippleHeightOffset");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new RealVariant(-0.32, false));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("rippleHatZone");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new StringVariant(""));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("rippleHatZoneOwner");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
					yield return new Token((TokenType)89, (uint?)null);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("dedilatch");
					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);
					yield return new Token((TokenType)59, (uint?)null);
					yield return (Token)new IdentifierToken("internallatch");
					yield return new Token((TokenType)23, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
				}
				else
				{
					yield return token;
				}
			}
		}
		finally
		{
			((global::System.IDisposable)enumerator)?.Dispose();
		}
	}
}
public class RipplePatch : IScriptMod
{
	[CompilerGenerated]
	private sealed class <Modify>d__1 : 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 string path;

		public string <>3__path;

		private global::System.Collections.Generic.IEnumerable<Token> tokens;

		public global::System.Collections.Generic.IEnumerable<Token> <>3__tokens;

		public RipplePatch <>4__this;

		private MultiTokenWaiter <waiter>5__1;

		private global::System.Collections.Generic.IEnumerator<Token> <>s__2;

		private Token <token>5__3;

		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__1(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) > 3u)
			{
				return;
			}
			try
			{
			}
			finally
			{
				<>m__Finally1();
			}
		}

		private bool MoveNext()
		{
			//IL_0136: Unknown result type (might be due to invalid IL or missing references)
			//IL_0140: Expected O, but got Unknown
			//IL_0158: Unknown result type (might be due to invalid IL or missing references)
			//IL_0162: Expected O, but got Unknown
			//IL_015d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0167: Expected O, but got Unknown
			//IL_00b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c1: Expected O, but got Unknown
			try
			{
				switch (<>1__state)
				{
				default:
					return false;
				case 0:
					<>1__state = -1;
					<waiter>5__1 = new MultiTokenWaiter(new Func<Token, bool>[3]
					{
						delegate(Token t)
						{
							IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
							return val3 != null && val3.Name == "disabled";
						},
						(Token t) => (int)t.Type == 23,
						delegate(Token t)
						{
							ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
							int result;
							if (val != null)
							{
								Variant value = val.Value;
								BoolVariant val2 = (BoolVariant)(object)((value is BoolVariant) ? value : null);
								if (val2 != null)
								{
									result = (val2.Value ? 1 : 0);
									goto IL_0022;
								}
							}
							result = 0;
							goto IL_0022;
							IL_0022:
							return (byte)result != 0;
						}
					}, false, false);
					<>s__2 = tokens.GetEnumerator();
					<>1__state = -3;
					break;
				case 1:
					<>1__state = -3;
					<>2__current = new Token((TokenType)13, (uint?)null);
					<>1__state = 2;
					return true;
				case 2:
					<>1__state = -3;
					<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
					<>1__state = 3;
					return true;
				case 3:
					<>1__state = -3;
					goto IL_019e;
				case 4:
					{
						<>1__state = -3;
						goto IL_019e;
					}
					IL_019e:
					<token>5__3 = null;
					break;
				}
				if (((global::System.Collections.IEnumerator)<>s__2).MoveNext())
				{
					<token>5__3 = <>s__2.Current;
					if (<waiter>5__1.Check(<token>5__3))
					{
						<>2__current = <token>5__3;
						<>1__state = 1;
						return true;
					}
					<>2__current = <token>5__3;
					<>1__state = 4;
					return true;
				}
				<>m__Finally1();
				<>s__2 = null;
				return false;
			}
			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__2 != null)
			{
				((global::System.IDisposable)<>s__2).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__1 <Modify>d__;
			if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId)
			{
				<>1__state = 0;
				<Modify>d__ = this;
			}
			else
			{
				<Modify>d__ = new <Modify>d__1(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();
		}
	}

	public bool ShouldRun(string path)
	{
		return path == "res://Scenes/Entities/FishSpawn/fish_spawn.gdc";
	}

	[IteratorStateMachine(typeof(<Modify>d__1))]
	public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens)
	{
		MultiTokenWaiter waiter = new MultiTokenWaiter(new Func<Token, bool>[3]
		{
			delegate(Token t)
			{
				IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
				return val3 != null && val3.Name == "disabled";
			},
			(Token t) => (int)t.Type == 23,
			delegate(Token t)
			{
				ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
				int result;
				if (val != null)
				{
					Variant value = val.Value;
					BoolVariant val2 = (BoolVariant)(object)((value is BoolVariant) ? value : null);
					if (val2 != null)
					{
						result = (val2.Value ? 1 : 0);
						goto IL_0022;
					}
				}
				result = 0;
				goto IL_0022;
				IL_0022:
				return (byte)result != 0;
			}
		}, false, false);
		global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator();
		try
		{
			while (((global::System.Collections.IEnumerator)enumerator).MoveNext())
			{
				Token token = enumerator.Current;
				if (waiter.Check(token))
				{
					yield return token;
					yield return new Token((TokenType)13, (uint?)null);
					yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
				}
				else
				{
					yield return token;
				}
			}
		}
		finally
		{
			((global::System.IDisposable)enumerator)?.Dispose();
		}
	}
}
public class WorldInstanceMod : IScriptMod
{
	[CompilerGenerated]
	private sealed class <Modify>d__1 : 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 string path;

		public string <>3__path;

		private global::System.Collections.Generic.IEnumerable<Token> tokens;

		public global::System.Collections.Generic.IEnumerable<Token> <>3__tokens;

		public WorldInstanceMod <>4__this;

		private MultiTokenWaiter <waiter>5__1;

		private global::System.Collections.Generic.IEnumerator<Token> <>s__2;

		private Token <token>5__3;

		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__1(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) > 1u)
			{
				return;
			}
			try
			{
			}
			finally
			{
				<>m__Finally1();
			}
		}

		private bool MoveNext()
		{
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d1: Expected O, but got Unknown
			//IL_0117: Unknown result type (might be due to invalid IL or missing references)
			//IL_0121: Expected O, but got Unknown
			//IL_011c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0126: Expected O, but got Unknown
			try
			{
				switch (<>1__state)
				{
				default:
					return false;
				case 0:
					<>1__state = -1;
					<waiter>5__1 = new MultiTokenWaiter(new Func<Token, bool>[4]
					{
						delegate(Token t)
						{
							IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
							return val3 != null && val3.Name == "BANK_DATA";
						},
						(Token t) => (int)t.Type == 80,
						delegate(Token t)
						{
							ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
							int result;
							if (val != null)
							{
								Variant value = val.Value;
								IntVariant val2 = (IntVariant)(object)((value is IntVariant) ? value : null);
								if (val2 != null)
								{
									result = ((val2.Value == 1) ? 1 : 0);
									goto IL_0026;
								}
							}
							result = 0;
							goto IL_0026;
							IL_0026:
							return (byte)result != 0;
						},
						(Token t) => (int)t.Type == 81
					}, false, false);
					<>s__2 = tokens.GetEnumerator();
					<>1__state = -3;
					break;
				case 1:
					<>1__state = -3;
					goto IL_015d;
				case 2:
					{
						<>1__state = -3;
						goto IL_015d;
					}
					IL_015d:
					<token>5__3 = null;
					break;
				}
				if (((global::System.Collections.IEnumerator)<>s__2).MoveNext())
				{
					<token>5__3 = <>s__2.Current;
					if (<waiter>5__1.Check(<token>5__3))
					{
						<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
						<>1__state = 1;
						return true;
					}
					<>2__current = <token>5__3;
					<>1__state = 2;
					return true;
				}
				<>m__Finally1();
				<>s__2 = null;
				return false;
			}
			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__2 != null)
			{
				((global::System.IDisposable)<>s__2).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__1 <Modify>d__;
			if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId)
			{
				<>1__state = 0;
				<Modify>d__ = this;
			}
			else
			{
				<Modify>d__ = new <Modify>d__1(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();
		}
	}

	public bool ShouldRun(string path)
	{
		return path == "res://Scenes/World/world.gdc";
	}

	[IteratorStateMachine(typeof(<Modify>d__1))]
	public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens)
	{
		MultiTokenWaiter waiter = new MultiTokenWaiter(new Func<Token, bool>[4]
		{
			delegate(Token t)
			{
				IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
				return val3 != null && val3.Name == "BANK_DATA";
			},
			(Token t) => (int)t.Type == 80,
			delegate(Token t)
			{
				ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
				int result;
				if (val != null)
				{
					Variant value = val.Value;
					IntVariant val2 = (IntVariant)(object)((value is IntVariant) ? value : null);
					if (val2 != null)
					{
						result = ((val2.Value == 1) ? 1 : 0);
						goto IL_0026;
					}
				}
				result = 0;
				goto IL_0026;
				IL_0026:
				return (byte)result != 0;
			},
			(Token t) => (int)t.Type == 81
		}, false, false);
		global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator();
		try
		{
			while (((global::System.Collections.IEnumerator)enumerator).MoveNext())
			{
				Token token = enumerator.Current;
				if (waiter.Check(token))
				{
					yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
				}
				else
				{
					yield return token;
				}
			}
		}
		finally
		{
			((global::System.IDisposable)enumerator)?.Dispose();
		}
	}
}