Beispiel #1
0
 public Effect_SwarmingBat(int iSeed, float fStartRotation, Vector2 v2Pos)
 {
     this.fStartRotation = fStartRotation;
     this.randMos = new Random(iSeed);
     this.xAnimasa = new SortedAnimated(v2Pos, SortedAnimated.SortedAnimatedEffects.Crow);
     this.xTransform.SetBoth(v2Pos);
 }
Beispiel #2
0
 public override void Update()
 {
     if (this.xTargetMos == null)
     {
         this.xTargetMos = (Program.game._EffectMaster_AddEffect(new SortedAnimated(this.v2EndTarget, SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketTarget)) as SortedAnimated);
     }
     this.xTransform.v2Pos += this.v2Direction * this.fVelocity;
     Program.game._EffectMaster_AddEffect(new _Effect_MovingAnimated(this.xTransform.v2Pos + -this.v2Direction * 23f + Utility.RandomizeVector2Direction(Program.game.randomInVisual) * 2f, SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall01, Vector2.Zero, 20, 20, 0f)).xRenderComponent.fVirtualHeight = 500f;
     if (this.iPhase == 0 && this.xTransform.v2Pos.Y < -50f)
     {
         this.iPhase = 1;
         this.v2Direction = -this.v2FireDirection;
         this.fVelocity *= 3f;
         this.xTransform.v2Pos = this.v2EndTarget - this.v2Direction * 500f;
         this.xRenderComponent.fRotation += 3.14159274f;
     }
     if (this.iPhase == 1 && this.xTransform.v2Pos.Y >= this.v2EndTarget.Y)
     {
         Random rand = Program.game.randomInVisual;
         this.xTransform.v2Pos = this.v2EndTarget;
         this.bToBeDestroyed = true;
         Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects.ExplosionOrange));
         if (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client)
         {
             this.xAttackPhasePlayer.RegisterCurrent();
         }
         for (int i = 0; i < 16; i++)
         {
             float fRotDir = 6.28318548f * ((float)i / 16f);
             Vector2 v2Dir = Utility.RadiansToVector2(fRotDir);
             float fSpeedMod = 1f;
             float fMosMod = 0.2f;
             float fMosBas = 1f - fMosMod;
             if (i < 4)
             {
                 fSpeedMod = 1f - fMosMod * ((float)i / 4f);
             }
             else if (i < 8)
             {
                 fSpeedMod = fMosBas + fMosMod * ((float)(i - 4) / 4f);
             }
             else if (i < 12)
             {
                 fSpeedMod = 1f - fMosMod * ((float)(i - 8) / 4f);
             }
             else if (i < 16)
             {
                 fSpeedMod = fMosBas + fMosMod * ((float)(i - 12) / 4f);
             }
             rand.NextDouble();
             _Effect_MovingAnimated eff = Program.GetTheGame()._EffectMaster_AddEffect(new _Effect_MovingAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall01, v2Dir * 1.6f * fSpeedMod, 40, 20, 0.93f)) as _Effect_MovingAnimated;
             eff.xRenderComponent.fVirtualHeight += this.xRenderComponent.fVirtualHeight;
             (eff.xRenderComponent as AnimatedRenderComponent).fAnimationTimeWarp = 1.3f;
             eff.fRotationMod = (float)rand.NextDouble() * 0.5f - 0.25f;
             eff.xRenderComponent.cColor = Color.Brown;
         }
         this.xTargetMos.bToBeDestroyed = true;
     }
     this.xTransform.v2ServerPos = this.xTransform.v2Pos;
 }
 public override void OnAdd()
 {
     this.xLargeRock = (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(277f, 227f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockLarge)) as SortedAnimated);
     this.xMediumRock = (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(357f, 216f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockMedium)) as SortedAnimated);
     this.xSmallRock = (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(308f, 184f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockSmall)) as SortedAnimated);
     if (!Program.game.xGameSessionData.henActiveFlags.Contains(FlagCodex.FlagID._MainStory_FlyingTemple_PeckoInLeftLobbySeen))
     {
         this.bActive = true;
         this.xLargeRock.xRenderComponent.v2OffsetRenderPos.Y = -250f;
         this.xMediumRock.xRenderComponent.v2OffsetRenderPos.Y = -240f;
         this.xSmallRock.xRenderComponent.v2OffsetRenderPos.Y = -210f;
         return;
     }
     (this.xLargeRock.xRenderComponent as AnimatedRenderComponent).SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying);
     (this.xMediumRock.xRenderComponent as AnimatedRenderComponent).SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying);
     (this.xSmallRock.xRenderComponent as AnimatedRenderComponent).SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying);
     Program.game.xRenderMaster.UnregisterRenderComponenent(this.xLargeRock.xRenderComponent);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xLargeRock.xRenderComponent);
     Program.game.xRenderMaster.UnregisterRenderComponenent(this.xMediumRock.xRenderComponent);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xMediumRock.xRenderComponent);
     Program.game.xRenderMaster.UnregisterRenderComponenent(this.xSmallRock.xRenderComponent);
     Program.game.xRenderMaster.RegisterBelowSorted(this.xSmallRock.xRenderComponent);
     (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(267f, 0f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofLightBeam)).xRenderComponent as AnimatedRenderComponent).SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying);
     (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(337f, 212f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofLightSpot)).xRenderComponent as AnimatedRenderComponent).SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying);
 }
Beispiel #4
0
 public void AddDelayedBird(SortedAnimated.SortedAnimatedEffects enEffect, int iDelay, Vector2 v2Offset)
 {
     SortedAnimated x = Program.game._EffectMaster_AddEffect(new SortedAnimated(Vector2.Zero, enEffect)) as SortedAnimated;
     x.xRenderComponent.v2OffsetRenderPos = v2Offset;
     x.xRenderComponent.AsAnimated().fPassedTicks = (float)CAS.RandomInVisual.Next(30);
     this.AddDelayedBird(x, iDelay);
 }
 public ShowExamineIconTrigger(Vector2 v2Position, Collider colHitbox)
     : base(colHitbox, false)
 {
     this.v2Position = v2Position;
     this.bRunOnClients = true;
     this.bLocalOnly = true;
     this.xTheIcon = (Program.game._EffectMaster_AddEffect(new SortedAnimated(v2Position, SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Examine)) as SortedAnimated);
 }
 public _Effect_MovingAnimated(Vector2 v2Position, SortedAnimated.SortedAnimatedEffects enEffect, Vector2 p_v2TravelDirSpeed, int p_iSurviveTime, int p_iFadeBeforeEnd, float p_fSpeedMod)
     : base(v2Position, enEffect)
 {
     this.v2TravelDirSpeed = p_v2TravelDirSpeed;
     this.iSurviveTime = p_iSurviveTime;
     this.iFadeBeforeEnd = p_iFadeBeforeEnd;
     this.v2SpeedMod = new Vector2(p_fSpeedMod);
 }
 public ShowArbitraryIconTrigger(Vector2 v2Position, Collider colHitbox, SortedAnimated.SortedAnimatedEffects enType)
     : base(colHitbox, false)
 {
     this.v2Position = v2Position;
     this.bRunOnClients = true;
     this.bLocalOnly = true;
     this.xTheIcon = (Program.game._EffectMaster_AddEffect(new SortedAnimated(v2Position, enType)) as SortedAnimated);
 }
 public void AddSpore(SortedAnimated.SortedAnimatedEffects enEfe, Vector2 v2Offset)
 {
     _EnemySpells_AutumnHydraHomingShot.Spore x = new _EnemySpells_AutumnHydraHomingShot.Spore((SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(Vector2.Zero, enEfe)), v2Offset);
     x.xEfe.xRenderComponent.AsAnimated().fPassedTicks = (float)CAS.RandomInVisual.Next(30);
     x.xEfe.xRenderComponent.xTransform = (x.xEfe.xTransform = this.xTransform);
     x.xEfe.xRenderComponent.v2OffsetRenderPos = v2Offset * this.fOffsetGrade;
     x.xEfe.xRenderComponent.fVirtualHeight = 180f;
     this.lxSpores.Add(x);
 }
 public override void OnAttackHit(AttackCollisionData xAtColData, BaseStats xBaseStats)
 {
     if (this.iPowerLevel == 5)
     {
         return;
     }
     this.bToBeDestroyed = true;
     SortedAnimated xDestroy = new SortedAnimated(this.xTransform.v2Pos + this.xRenderComponent.v2OffsetRenderPos, SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FireballImpact);
     xDestroy.xRenderComponent.fVirtualHeight = this.xRenderComponent.fVirtualHeight + 10f;
     Program.GetTheGame()._EffectMaster_AddEffect(xDestroy);
     base.SendClientInstruction(0, new float[0]);
 }
Beispiel #10
0
 public Effect_Reassemble(TransformComponent xSource, TransformComponent xTarget, float fVirtualHeight, SortedAnimated.SortedAnimatedEffects enEffect)
 {
     this.xTarget = xTarget;
     this.xSource = xSource;
     (xTarget.v2Pos - xSource.v2Pos).Normalize();
     float fPart = 0.7853982f;
     for (int i = 0; i < 8; i++)
     {
         this.lxBeamParts.Add(Program.GetTheGame()._EffectMaster_AddEffect(new SortedAnimated(xSource.v2Pos, enEffect)) as SortedAnimated);
         this.v2DirLol.Add(Utility.RadiansToVector2(fPart * (float)i) * 10f);
     }
 }
Beispiel #11
0
 public override void Abort()
 {
     base.Abort();
     if (this.xFirstSlice != null)
     {
         this.xFirstSlice.xRenderComponent.AsAnimated().SwitchAnimation(1);
         this.xFirstSlice = null;
     }
     if (this.xSecondSlice != null)
     {
         this.xSecondSlice.xRenderComponent.AsAnimated().SwitchAnimation(1);
         this.xSecondSlice = null;
     }
 }
Beispiel #12
0
 public override void Enter(PlayerView xOwnerView)
 {
     base.Enter(xOwnerView);
     if (this.xFirstSlice == null && xOwnerView == Program.game.xLocalPlayer)
     {
         this.xFirstSlice = (Program.game._EffectMaster_AddEffect(new SortedAnimated(Vector2.Zero, SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_TargetArrow)) as SortedAnimated);
         this.xFirstSlice.xRenderComponent.xTransform = xOwnerView.xEntity.xTransform;
         Program.game._EntityMaster_AddWatcher(new FadeInRenderComponent(this.xFirstSlice.xRenderComponent, 10));
     }
     xOwnerView.xEntity.xRenderComponent.SwitchAnimation((ushort)(520 + (int)xOwnerView.xEntity.byAnimationDirection), Animation.CancelOptions.IgnoreIfPlaying, 1f + (1f - this.fChargeSpeedModifier));
     this.xefPowerBalls = (Program.GetTheGame()._EffectMaster_AddEffect(new SortedAnimated(Vector2.Zero, SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Air)) as SortedAnimated);
     this.xefPowerBalls.xRenderComponent.xTransform = xOwnerView.xEntity.xTransform;
     this.xefPowerBalls.xRenderComponent.fVirtualHeight = xOwnerView.xEntity.xRenderComponent.fVirtualHeight + 1f;
     this.lxAttachedEffects.Add(this.xefPowerBalls);
 }
 public void Init()
 {
     this.InitFenceParts();
     this.iSpawnState = 1;
     this.bInTrap = true;
     this.xGlassEffect = new SortedAnimated(new Vector2(200f, 200f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_GlassCrack);
     Program.game._EffectMaster_AddEffect(this.xGlassEffect);
     this.xGlassEffect.xRenderComponent.xTransform = this.xMasterCrystal.xRenderComponent.xTransform;
     this.xGlassEffect.xTransform = this.xMasterCrystal.xRenderComponent.xTransform;
     this.xGlassEffect.xRenderComponent.fVirtualHeight = 1f;
     this.xCrystalEffect = new SortedAnimated(new Vector2(200f, 200f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_CrystalCrack);
     Program.game._EffectMaster_AddEffect(this.xCrystalEffect);
     this.xCrystalEffect.xRenderComponent.xTransform = this.xMasterCrystal.xRenderComponent.xTransform;
     this.xCrystalEffect.xTransform = this.xMasterCrystal.xRenderComponent.xTransform;
     this.xCrystalEffect.xRenderComponent.fAlpha = 0f;
 }
 public override void OnAdd()
 {
     new ToyFactoryTrainStuffBagman.Train(Vector2.Zero, Vector2.Zero, 0f, ToyFactoryTrainStuffBagman.Train.GraphicType.Cart01).xRenderComponent.Unregister();
     new ToyFactoryTrainStuffBagman.Train(Vector2.Zero, Vector2.Zero, 0f, ToyFactoryTrainStuffBagman.Train.GraphicType.Engine01).xRenderComponent.Unregister();
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(361f, 183f), 1));
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(361f, 248f), 2));
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(265f, 314f), 2));
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(170f, 315f), 3));
     this.xLeftSaftBlander = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(176f, 90f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_WarningLamp));
     this.xLeftSaftBlander.xRenderComponent.fVirtualHeight = 50f;
     this.xRightSaftBlander = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(272f, 90f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_WarningLamp));
     this.xRightSaftBlander.xRenderComponent.fVirtualHeight = 50f;
     this.xCollapsedDoor = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(590f, 310f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_FallingDoor));
     Program.game.xLevelMaster.denxNamedEntities[NPCCodex.NPCTypes.GuestOrSign01] = this.xCollapsedDoor;
     for (int i = 0; i < this.lxSwitches.Count; i++)
     {
         this.lxSwitches[i].bIsStatic = true;
     }
     for (int j = 0; j < 10; j++)
     {
         SortedAnimated mos = (SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(385f, (float)(134 + 11 * j)), SortedAnimated.SortedAnimatedEffects._Blocks_Polka));
         mos.xRenderComponent.AsAnimated().SwitchAnimation(3);
         this.lxFenceParts.Add(mos);
     }
     this.xTopGate = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.Gate_ToyFactory, new Vector2(199f, 78f)) as Gate);
     if (CAS.NumberOfPlayers == 1)
     {
         this.xTopGate.xRenderComponent.SwitchAnimation(2);
     }
     Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(385f, 296f), SortedAnimated.SortedAnimatedEffects._Blocks_Polka)).xRenderComponent.AsAnimated().SwitchAnimation(1);
     Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(385f, 307f), SortedAnimated.SortedAnimatedEffects._Blocks_Polka)).xRenderComponent.AsAnimated().SwitchAnimation(1);
     Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(385f, 318f), SortedAnimated.SortedAnimatedEffects._Blocks_Polka)).xRenderComponent.AsAnimated().SwitchAnimation(1);
     Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(385f, 329f), SortedAnimated.SortedAnimatedEffects._Blocks_Polka)).xRenderComponent.AsAnimated().SwitchAnimation(1);
     Program.game.xCollisionMaster.RegisterStaticCollider(this.colRightBottomBlockade);
     if (Program.game.xLevelMaster.denxNamedEntities.ContainsKey(NPCCodex.NPCTypes.Main_Polarn))
     {
         this.xLukeMan = (NPC)Program.game.xLevelMaster.denxNamedEntities[NPCCodex.NPCTypes.Main_Polarn];
     }
 }
 public RogueLikeBullethellControl(RogueLikeMode.Room.ChallengeRooms enChallengeID, RogueLikeNoDamageChallange xChallengeBag)
 {
     this.enChallengeID = enChallengeID;
     this.xChallengeBag = xChallengeBag;
     if (enChallengeID == RogueLikeMode.Room.ChallengeRooms.BulletHell01)
     {
         this.v2Source = new Vector2(320f, 60f);
         this.recMissileTargetArea = new Rectangle(168, 125, 307, 183);
     }
     else if (enChallengeID == RogueLikeMode.Room.ChallengeRooms.BulletHell02)
     {
         this.v2Source = new Vector2(320f, 60f);
         this.recMissileTargetArea = new Rectangle(168, 125, 307, 183);
     }
     else if (enChallengeID == RogueLikeMode.Room.ChallengeRooms.BulletHell03)
     {
         this.v2Source = new Vector2(320f, 60f);
         this.recMissileTargetArea = new Rectangle(168, 125, 307, 183);
     }
     this.xBulletHellMachine = (Program.game._EffectMaster_AddEffect(new SortedAnimated(this.v2Source + new Vector2(0f, 94f), SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BulletHellMachine)) as SortedAnimated);
     this.rand = new Random(Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom.iRandSeed);
 }
 public override void OnAdd()
 {
     Game1 master = Program.game;
     this.rcLeftDoor1 = (master._EffectMaster_AddEffect(new SortedAnimated(new Vector2(283f, 322f), SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_LeftDoor1)) as SortedAnimated);
     this.rcLeftDoor2 = (master._EffectMaster_AddEffect(new SortedAnimated(new Vector2(283f, 322f), SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_LeftDoor2)) as SortedAnimated);
     this.rcRightDoor1 = (master._EffectMaster_AddEffect(new SortedAnimated(new Vector2(750f, 322f), SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_RightDoor1)) as SortedAnimated);
     this.rcRightDoor2 = (master._EffectMaster_AddEffect(new SortedAnimated(new Vector2(750f, 322f), SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_RightDoor2)) as SortedAnimated);
     this.rcTopDoor = (master._EffectMaster_AddEffect(new SortedAnimated(new Vector2(516f, 243f), SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_TopDoor)) as SortedAnimated);
     this.colLeft1.bIsActive = false;
     this.colLeft2.bIsActive = false;
     this.colMid1.bIsActive = false;
     this.colMid2.bIsActive = false;
     this.colMidClosed.bIsActive = true;
     this.colRight1.bIsActive = false;
     this.colRight2.bIsActive = false;
     master.xCollisionMaster.RegisterStaticCollider(this.colLeft1);
     master.xCollisionMaster.RegisterStaticCollider(this.colLeft2);
     master.xCollisionMaster.RegisterStaticCollider(this.colMid1);
     master.xCollisionMaster.RegisterStaticCollider(this.colMid2);
     master.xCollisionMaster.RegisterStaticCollider(this.colMidClosed);
     master.xCollisionMaster.RegisterStaticCollider(this.colRight1);
     master.xCollisionMaster.RegisterStaticCollider(this.colRight2);
 }
Beispiel #17
0
 public override void OnInstruction(byte byInstructionID, params float[] afParams)
 {
     if (byInstructionID == 0)
     {
         this.xStatueEffect = (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(779f, 923f), SortedAnimated.SortedAnimatedEffects._Unique_HalloweenForest_StatueStuff)) as SortedAnimated);
         this.iStatueSparkleState = 1;
         this.iStatueCounter = 0;
         this.v2SparklePosition = new Vector2(778f, 926f);
         this.v2SparklePosition2 = new Vector2(778f, 926f);
         Program.game.randomInVisual = new Random(14);
         return;
     }
     if (byInstructionID == 1)
     {
         Program.game._EntityMaster_AddWatcher(new DarknessOverlayColorChange(new Color(6, 14, 32) * 0.6f, new Color(7, 18, 53) * 0.4f, 60));
         Program.game._EntityMaster_AddWatcher(new FadeOutDistortions());
         return;
     }
     if (byInstructionID == 2)
     {
         Program.game._Trigger_HandleTriggerEvent(FlagCodex.FlagID._MainStory_PumpkinWoods_ElitesDiscovered, 1);
     }
 }
 public override void OnAdd()
 {
     if (!Program.game.xGameSessionData.henActiveFlags.Contains(FlagCodex.FlagID._MainStory_Winterland_ToyFactoryBeatToyMachine))
     {
         for (int i = 0; i < 4; i++)
         {
             this.lxCandyBarsBot.Add((SortedAnimated)Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2((float)(302 + 11 * i), 345f), SortedAnimated.SortedAnimatedEffects._Blocks_Polka)));
             this.lxCandyBarsBot[i].xRenderComponent.AsAnimated().SwitchAnimation(3);
         }
         Program.game.xCollisionMaster.RegisterStaticCollider(this.colBottomCollider);
     }
     for (int j = 0; j < this.lxCandyBarsBot.Count; j++)
     {
         this.lxCandyBarsBot[j].xRenderComponent.AsAnimated().SwitchAnimation(0);
     }
     this.xColorOverlayWhite = new OverlayRenderComponent(new Rectangle(0, 0, 640, 360), Color.White);
     this.xColorOverlayWhite.fAlpha = 0f;
     Program.game.xRenderMaster.RegisterAboveSorted(this.xColorOverlayWhite);
     this.xLeftLamp = (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(129f, 90f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_WarningLamp)) as SortedAnimated);
     this.xRightLamp = (Program.game._EffectMaster_AddEffect(new SortedAnimated(new Vector2(496f, 89f), SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_WarningLamp)) as SortedAnimated);
     this.xLeftLamp.xRenderComponent.fVirtualHeight = (this.xRightLamp.xRenderComponent.fVirtualHeight = 30f);
     new ToyFactoryTrainStuffBagman.Train(Vector2.Zero, Vector2.Zero, 0f, ToyFactoryTrainStuffBagman.Train.GraphicType.Cart01).xRenderComponent.Unregister();
     new ToyFactoryTrainStuffBagman.Train(Vector2.Zero, Vector2.Zero, 0f, ToyFactoryTrainStuffBagman.Train.GraphicType.Engine01).xRenderComponent.Unregister();
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(122f, 230f), 2));
     TrainSwitchLever xSwitchLever = Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.RailRoadSwitchLever, new Vector2(108f, 220f)) as TrainSwitchLever;
     xSwitchLever.SetInfo(this.lxSwitches[this.lxSwitches.Count - 1], this.lxTrains);
     xSwitchLever.bUnlocked = true;
     xSwitchLever.xRenderComponent.SwitchAnimation(8);
     xSwitchLever.xRenderComponent.fVirtualHeight = -20f;
     xSwitchLever.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.All);
     this.lxTrainSwitchLevers.Add(xSwitchLever);
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(190f, 232f), 0));
     xSwitchLever = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.RailRoadSwitchLever, new Vector2(197f, 220f)) as TrainSwitchLever);
     xSwitchLever.SetInfo(this.lxSwitches[this.lxSwitches.Count - 1], this.lxTrains);
     xSwitchLever.bUnlocked = true;
     xSwitchLever.xRenderComponent.SwitchAnimation(9);
     xSwitchLever.xRenderComponent.fVirtualHeight = -20f;
     xSwitchLever.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.All);
     this.lxTrainSwitchLevers.Add(xSwitchLever);
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(305f, 181f), 2));
     xSwitchLever = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.RailRoadSwitchLever, new Vector2(312f, 207f)) as TrainSwitchLever);
     xSwitchLever.SetInfo(this.lxSwitches[this.lxSwitches.Count - 1], this.lxTrains);
     xSwitchLever.xRenderComponent.SwitchAnimation(8);
     xSwitchLever.xRenderComponent.fVirtualHeight = -20f;
     xSwitchLever.bUnlocked = true;
     xSwitchLever.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.All);
     this.lxTrainSwitchLevers.Add(xSwitchLever);
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(420f, 232f), 0));
     xSwitchLever = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.RailRoadSwitchLever, new Vector2(427f, 220f)) as TrainSwitchLever);
     xSwitchLever.SetInfo(this.lxSwitches[this.lxSwitches.Count - 1], this.lxTrains);
     xSwitchLever.bUnlocked = true;
     xSwitchLever.xRenderComponent.SwitchAnimation(9);
     xSwitchLever.xRenderComponent.fVirtualHeight = -20f;
     xSwitchLever.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.All);
     this.lxTrainSwitchLevers.Add(xSwitchLever);
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(489f, 230f), 2));
     xSwitchLever = (Program.game._EntityMaster_AddDynamicEnvironment(DynamicEnvironmentCodex.ObjectTypes.RailRoadSwitchLever, new Vector2(517f, 220f)) as TrainSwitchLever);
     xSwitchLever.SetInfo(this.lxSwitches[this.lxSwitches.Count - 1], this.lxTrains);
     xSwitchLever.bUnlocked = true;
     xSwitchLever.xRenderComponent.SwitchAnimation(8);
     xSwitchLever.xRenderComponent.fVirtualHeight = -20f;
     xSwitchLever.xCollisionComponent.DeactivateGroup(CollisionComponent.ColliderGroup.All);
     this.lxTrainSwitchLevers.Add(xSwitchLever);
     this.xRightSwitch = new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(420f, 293f), 2);
     this.lxSwitches.Add(this.xRightSwitch);
     this.xLeftSwitch = new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(190f, 294f), 2);
     this.lxSwitches.Add(this.xLeftSwitch);
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(86f, 232f), 0));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(87f, 295f), 3));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(252f, 294f), 2));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(252f, 183f), 0));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(527f, 231f), 1));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(527f, 293f), 2));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(360f, 294f), 3));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
     this.lxSwitches.Add(new ToyFactoryTrainStuffBagman.SwitchRail(new Vector2(359f, 182f), 1));
     this.lxSwitches[this.lxSwitches.Count - 1].bIsStatic = true;
 }
Beispiel #19
0
		public EffectEvent(SortedAnimated.SortedAnimatedEffects enEffectType, Vector2 v2Position, float fVirtualHeight)
		{
			this.v2Position = v2Position;
			this.enEffectType = enEffectType;
			this.fVirtualHeight = fVirtualHeight;
		}
Beispiel #20
0
		public EffectEvent(SortedAnimated.SortedAnimatedEffects enEffectType, Vector2 v2Position)
		{
			this.v2Position = v2Position;
			this.enEffectType = enEffectType;
		}
Beispiel #21
0
 public SortedAnimated(Vector2 v2Position, SortedAnimated.SortedAnimatedEffects enEffect)
 {
     AnimatedRenderComponent xARC = new AnimatedRenderComponent(null);
     this.xTransform = new TransformComponent(v2Position);
     xARC.xTransform = this.xTransform;
     xARC.fScale = 1f;
     this.xRenderComponent = xARC;
     this.enEffectType = enEffect;
     RenderMaster.SubRenderLayer enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
     int iShadowLayerLayer = 20;
     ContentManager Content = Program.GetTheGame().xLevelMaster.contRegionContent;
     ContentManager GlobalContent = Program.GetTheGame().Content;
     string ENVIRON_PATH = "Sprites/Environment/";
     string NPC_PATH = "Sprites/NPC/";
     string MONSTER_PATH = "Sprites/Monster/";
     int iFastForward = 0;
     if (enEffect < SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShine)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectA)
         {
             ushort arg_F8_0 = 0;
             byte arg_F8_1 = 0;
             Texture2D arg_F8_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectA");
             Vector2 arg_F8_3 = new Vector2(19f, 13f);
             int arg_F8_4 = 5;
             int arg_F8_5 = 6;
             int arg_F8_6 = 35;
             int arg_F8_7 = 24;
             int arg_F8_8 = 0;
             int arg_F8_9 = 0;
             int arg_F8_10 = 6;
             Animation.LoopSettings arg_F8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F8_13 = false;
             bool arg_F8_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F3_0 = array;
             int arg_F3_1 = 0;
             AnimInsCriteria arg_EE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_E9_0 = AnimInsEvent.EventType.PlaySound;
             string arg_E9_1 = "Enemy_Poof";
             float[] array2 = new float[1];
             arg_F3_0[arg_F3_1] = new AnimationInstruction(arg_EE_0, new AnimInsEvent(arg_E9_0, arg_E9_1, array2));
             Animation anim = new Animation(arg_F8_0, arg_F8_1, arg_F8_2, arg_F8_3, arg_F8_4, arg_F8_5, arg_F8_6, arg_F8_7, arg_F8_8, arg_F8_9, arg_F8_10, arg_F8_11, arg_F8_12, arg_F8_13, arg_F8_14, array);
             xARC.dixAnimations.Add(anim.iID, anim);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectB)
         {
             ushort arg_18A_0 = 0;
             byte arg_18A_1 = 0;
             Texture2D arg_18A_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectB");
             Vector2 arg_18A_3 = new Vector2(32f, 39f);
             int arg_18A_4 = 4;
             int arg_18A_5 = 22;
             int arg_18A_6 = 62;
             int arg_18A_7 = 49;
             int arg_18A_8 = 0;
             int arg_18A_9 = 0;
             int arg_18A_10 = 22;
             Animation.LoopSettings arg_18A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18A_13 = false;
             bool arg_18A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_185_0 = array;
             int arg_185_1 = 0;
             AnimInsCriteria arg_180_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_17B_0 = AnimInsEvent.EventType.PlaySound;
             string arg_17B_1 = "Enemy_Poof";
             float[] array2 = new float[1];
             arg_185_0[arg_185_1] = new AnimationInstruction(arg_180_0, new AnimInsEvent(arg_17B_0, arg_17B_1, array2));
             Animation anim2 = new Animation(arg_18A_0, arg_18A_1, arg_18A_2, arg_18A_3, arg_18A_4, arg_18A_5, arg_18A_6, arg_18A_7, arg_18A_8, arg_18A_9, arg_18A_10, arg_18A_11, arg_18A_12, arg_18A_13, arg_18A_14, array);
             xARC.dixAnimations.Add(anim2.iID, anim2);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectPuzzle)
         {
             ushort arg_21B_0 = 0;
             byte arg_21B_1 = 0;
             Texture2D arg_21B_2 = GlobalContent.Load<Texture2D>("Sprites/Puzzles/Poof");
             Vector2 arg_21B_3 = new Vector2(24f, 27f);
             int arg_21B_4 = 4;
             int arg_21B_5 = 6;
             int arg_21B_6 = 47;
             int arg_21B_7 = 46;
             int arg_21B_8 = 0;
             int arg_21B_9 = 0;
             int arg_21B_10 = 22;
             Animation.LoopSettings arg_21B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21B_13 = false;
             bool arg_21B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_216_0 = array;
             int arg_216_1 = 0;
             AnimInsCriteria arg_211_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_20C_0 = AnimInsEvent.EventType.PlaySound;
             string arg_20C_1 = "Puzzle_reset_poof";
             float[] array2 = new float[1];
             arg_216_0[arg_216_1] = new AnimationInstruction(arg_211_0, new AnimInsEvent(arg_20C_0, arg_20C_1, array2));
             Animation anim3 = new Animation(arg_21B_0, arg_21B_1, arg_21B_2, arg_21B_3, arg_21B_4, arg_21B_5, arg_21B_6, arg_21B_7, arg_21B_8, arg_21B_9, arg_21B_10, arg_21B_11, arg_21B_12, arg_21B_13, arg_21B_14, array);
             xARC.dixAnimations.Add(anim3.iID, anim3);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectC)
         {
             ushort arg_2AF_0 = 0;
             byte arg_2AF_1 = 0;
             Texture2D arg_2AF_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectC");
             Vector2 arg_2AF_3 = new Vector2(23f, 22f);
             int arg_2AF_4 = 4;
             int arg_2AF_5 = 9;
             int arg_2AF_6 = 46;
             int arg_2AF_7 = 44;
             int arg_2AF_8 = 0;
             int arg_2AF_9 = 0;
             int arg_2AF_10 = 22;
             Animation.LoopSettings arg_2AF_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2AF_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2AF_13 = false;
             bool arg_2AF_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_2AA_0 = array;
             int arg_2AA_1 = 0;
             AnimInsCriteria arg_2A5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_2A0_0 = AnimInsEvent.EventType.PlaySound;
             string arg_2A0_1 = "Puzzle_reset_poof";
             float[] array2 = new float[1];
             arg_2AA_0[arg_2AA_1] = new AnimationInstruction(arg_2A5_0, new AnimInsEvent(arg_2A0_0, arg_2A0_1, array2));
             Animation anim4 = new Animation(arg_2AF_0, arg_2AF_1, arg_2AF_2, arg_2AF_3, arg_2AF_4, arg_2AF_5, arg_2AF_6, arg_2AF_7, arg_2AF_8, arg_2AF_9, arg_2AF_10, arg_2AF_11, arg_2AF_12, arg_2AF_13, arg_2AF_14, array);
             xARC.dixAnimations.Add(anim4.iID, anim4);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PoofEffectD)
         {
             ushort arg_343_0 = 0;
             byte arg_343_1 = 0;
             Texture2D arg_343_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/PoofEffectD");
             Vector2 arg_343_3 = new Vector2(22f, 38f);
             int arg_343_4 = 4;
             int arg_343_5 = 9;
             int arg_343_6 = 46;
             int arg_343_7 = 53;
             int arg_343_8 = 0;
             int arg_343_9 = 0;
             int arg_343_10 = 22;
             Animation.LoopSettings arg_343_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_343_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_343_13 = false;
             bool arg_343_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_33E_0 = array;
             int arg_33E_1 = 0;
             AnimInsCriteria arg_339_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_334_0 = AnimInsEvent.EventType.PlaySound;
             string arg_334_1 = "Enemy_Poof";
             float[] array2 = new float[1];
             arg_33E_0[arg_33E_1] = new AnimationInstruction(arg_339_0, new AnimInsEvent(arg_334_0, arg_334_1, array2));
             Animation anim5 = new Animation(arg_343_0, arg_343_1, arg_343_2, arg_343_3, arg_343_4, arg_343_5, arg_343_6, arg_343_7, arg_343_8, arg_343_9, arg_343_10, arg_343_11, arg_343_12, arg_343_13, arg_343_14, array);
             xARC.dixAnimations.Add(anim5.iID, anim5);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionGreen)
         {
             ushort arg_3D5_0 = 0;
             byte arg_3D5_1 = 0;
             Texture2D arg_3D5_2 = GlobalContent.Load<Texture2D>("Effects/Explosions/Standard/Green");
             Vector2 arg_3D5_3 = new Vector2(24f, 38f);
             int arg_3D5_4 = 4;
             int arg_3D5_5 = 9;
             int arg_3D5_6 = 46;
             int arg_3D5_7 = 53;
             int arg_3D5_8 = 0;
             int arg_3D5_9 = 0;
             int arg_3D5_10 = 40;
             Animation.LoopSettings arg_3D5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3D5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3D5_13 = true;
             bool arg_3D5_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3D0_0 = array;
             int arg_3D0_1 = 0;
             AnimInsCriteria arg_3CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_3C6_0 = AnimInsEvent.EventType.PlaySound;
             string arg_3C6_1 = "Explode2a";
             float[] array2 = new float[1];
             arg_3D0_0[arg_3D0_1] = new AnimationInstruction(arg_3CB_0, new AnimInsEvent(arg_3C6_0, arg_3C6_1, array2));
             Animation anim6 = new Animation(arg_3D5_0, arg_3D5_1, arg_3D5_2, arg_3D5_3, arg_3D5_4, arg_3D5_5, arg_3D5_6, arg_3D5_7, arg_3D5_8, arg_3D5_9, arg_3D5_10, arg_3D5_11, arg_3D5_12, arg_3D5_13, arg_3D5_14, array);
             xARC.dixAnimations.Add(anim6.iID, anim6);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionRed)
         {
             ushort arg_469_0 = 0;
             byte arg_469_1 = 0;
             Texture2D arg_469_2 = GlobalContent.Load<Texture2D>("Effects/Explosions/Standard/Red");
             Vector2 arg_469_3 = new Vector2(25f, 26f);
             int arg_469_4 = 4;
             int arg_469_5 = 10;
             int arg_469_6 = 48;
             int arg_469_7 = 36;
             int arg_469_8 = 0;
             int arg_469_9 = 0;
             int arg_469_10 = 10;
             Animation.LoopSettings arg_469_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_469_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_469_13 = true;
             bool arg_469_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_464_0 = array;
             int arg_464_1 = 0;
             AnimInsCriteria arg_45F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_45A_0 = AnimInsEvent.EventType.PlaySound;
             string arg_45A_1 = "Explode2a";
             float[] array2 = new float[1];
             arg_464_0[arg_464_1] = new AnimationInstruction(arg_45F_0, new AnimInsEvent(arg_45A_0, arg_45A_1, array2));
             Animation anim7 = new Animation(arg_469_0, arg_469_1, arg_469_2, arg_469_3, arg_469_4, arg_469_5, arg_469_6, arg_469_7, arg_469_8, arg_469_9, arg_469_10, arg_469_11, arg_469_12, arg_469_13, arg_469_14, array);
             xARC.dixAnimations.Add(anim7.iID, anim7);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionTeal)
         {
             Animation anim8 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/Explosion"), new Vector2(9f, 8f), 4, 10, 18, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim8.iID, anim8);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionWisp)
         {
             ushort arg_633_0 = 0;
             byte arg_633_1 = 0;
             Texture2D arg_633_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/WispDeath");
             Vector2 arg_633_3 = new Vector2(38f, 40f);
             int arg_633_4 = 4;
             int arg_633_5 = 12;
             int arg_633_6 = 73;
             int arg_633_7 = 57;
             int arg_633_8 = 0;
             int arg_633_9 = 0;
             int arg_633_10 = 12;
             Animation.LoopSettings arg_633_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_633_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_633_13 = true;
             bool arg_633_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_550_0 = array;
             int arg_550_1 = 0;
             AnimInsCriteria arg_54B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_546_0 = AnimInsEvent.EventType.PlaySound;
             string arg_546_1 = "Puzzle_reset_poof";
             float[] array2 = new float[1];
             arg_550_0[arg_550_1] = new AnimationInstruction(arg_54B_0, new AnimInsEvent(arg_546_0, arg_546_1, array2));
             AnimationInstruction[] arg_59A_0 = array;
             int arg_59A_1 = 1;
             AnimInsCriteria arg_595_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_590_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_59A_0[arg_59A_1] = new AnimationInstruction(arg_595_0, new AnimInsEvent(arg_590_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_62E_0 = array;
             int arg_62E_1 = 3;
             AnimInsCriteria arg_629_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_624_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_62E_0[arg_62E_1] = new AnimationInstruction(arg_629_0, new AnimInsEvent(arg_624_0, array2));
             Animation anim9 = new Animation(arg_633_0, arg_633_1, arg_633_2, arg_633_3, arg_633_4, arg_633_5, arg_633_6, arg_633_7, arg_633_8, arg_633_9, arg_633_10, arg_633_11, arg_633_12, arg_633_13, arg_633_14, array);
             xARC.dixAnimations.Add(anim9.iID, anim9);
             ushort arg_797_0 = 1;
             byte arg_797_1 = 1;
             Texture2D arg_797_2 = GlobalContent.Load<Texture2D>("Effects/DeathEffects/WispDeath");
             Vector2 arg_797_3 = new Vector2(38f, 40f);
             int arg_797_4 = 4;
             int arg_797_5 = 12;
             int arg_797_6 = 73;
             int arg_797_7 = 57;
             int arg_797_8 = 0;
             int arg_797_9 = 0;
             int arg_797_10 = 12;
             Animation.LoopSettings arg_797_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_797_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_797_13 = true;
             bool arg_797_14 = true;
             array = new AnimationInstruction[4];
             AnimationInstruction[] arg_6B4_0 = array;
             int arg_6B4_1 = 0;
             AnimInsCriteria arg_6AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_6AA_0 = AnimInsEvent.EventType.PlaySound;
             string arg_6AA_1 = "Puzzle_reset_poof";
             array2 = new float[1];
             arg_6B4_0[arg_6B4_1] = new AnimationInstruction(arg_6AF_0, new AnimInsEvent(arg_6AA_0, arg_6AA_1, array2));
             AnimationInstruction[] arg_6FE_0 = array;
             int arg_6FE_1 = 1;
             AnimInsCriteria arg_6F9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_6F4_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_6FE_0[arg_6FE_1] = new AnimationInstruction(arg_6F9_0, new AnimInsEvent(arg_6F4_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_792_0 = array;
             int arg_792_1 = 3;
             AnimInsCriteria arg_78D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_788_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_792_0[arg_792_1] = new AnimationInstruction(arg_78D_0, new AnimInsEvent(arg_788_0, array2));
             anim9 = new Animation(arg_797_0, arg_797_1, arg_797_2, arg_797_3, arg_797_4, arg_797_5, arg_797_6, arg_797_7, arg_797_8, arg_797_9, arg_797_10, arg_797_11, arg_797_12, arg_797_13, arg_797_14, array);
             anim9.enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(anim9.iID, anim9);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionOrange)
         {
             Animation anim10 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Explosions/Mushroom/Orange"), new Vector2(36f, 73f), 4, 11, 75, 78, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim10.iID, anim10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionMeteorLike)
         {
             Animation anim11 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Meteor/Level 1-2/Explosion"), new Vector2(24f, 28f), 4, 10, 50, 38, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim11.iID, anim11);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ExplosionBombA)
         {
             Animation anim12 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Traps/Bomb/Explosion"), new Vector2(50f, 55f), 4, 10, 100, 75, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim12.iID, anim12);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.CrystalDeath)
         {
             ushort arg_9EA_0 = 0;
             byte arg_9EA_1 = 0;
             Texture2D arg_9EA_2 = GlobalContent.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Death/Death");
             Vector2 arg_9EA_3 = new Vector2(29f, 48f);
             int arg_9EA_4 = 4;
             int arg_9EA_5 = 14;
             int arg_9EA_6 = 58;
             int arg_9EA_7 = 52;
             int arg_9EA_8 = 406;
             int arg_9EA_9 = 0;
             int arg_9EA_10 = 16;
             Animation.LoopSettings arg_9EA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9EA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9EA_13 = true;
             bool arg_9EA_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_951_0 = array;
             int arg_951_1 = 0;
             AnimInsCriteria arg_94C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_947_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_951_0[arg_951_1] = new AnimationInstruction(arg_94C_0, new AnimInsEvent(arg_947_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_9E5_0 = array;
             int arg_9E5_1 = 2;
             AnimInsCriteria arg_9E0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_9DB_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_9E5_0[arg_9E5_1] = new AnimationInstruction(arg_9E0_0, new AnimInsEvent(arg_9DB_0, array2));
             Animation anim13 = new Animation(arg_9EA_0, arg_9EA_1, arg_9EA_2, arg_9EA_3, arg_9EA_4, arg_9EA_5, arg_9EA_6, arg_9EA_7, arg_9EA_8, arg_9EA_9, arg_9EA_10, arg_9EA_11, arg_9EA_12, arg_9EA_13, arg_9EA_14, array);
             xARC.dixAnimations.Add(anim13.iID, anim13);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SlimeDeath)
         {
             ushort arg_B2B_0 = 0;
             byte arg_B2B_1 = 0;
             Texture2D arg_B2B_2 = Content.Load<Texture2D>("Sprites/Monster/Pillar Mountains/Slime/Dead/Down");
             Vector2 arg_B2B_3 = new Vector2(28f, 21f);
             int arg_B2B_4 = 4;
             int arg_B2B_5 = 9;
             int arg_B2B_6 = 53;
             int arg_B2B_7 = 29;
             int arg_B2B_8 = 0;
             int arg_B2B_9 = 0;
             int arg_B2B_10 = 22;
             Animation.LoopSettings arg_B2B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B2B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B2B_13 = false;
             bool arg_B2B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_A92_0 = array;
             int arg_A92_1 = 0;
             AnimInsCriteria arg_A8D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_A88_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_A92_0[arg_A92_1] = new AnimationInstruction(arg_A8D_0, new AnimInsEvent(arg_A88_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_B26_0 = array;
             int arg_B26_1 = 2;
             AnimInsCriteria arg_B21_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_B1C_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_B26_0[arg_B26_1] = new AnimationInstruction(arg_B21_0, new AnimInsEvent(arg_B1C_0, array2));
             Animation anim14 = new Animation(arg_B2B_0, arg_B2B_1, arg_B2B_2, arg_B2B_3, arg_B2B_4, arg_B2B_5, arg_B2B_6, arg_B2B_7, arg_B2B_8, arg_B2B_9, arg_B2B_10, arg_B2B_11, arg_B2B_12, arg_B2B_13, arg_B2B_14, array);
             xARC.dixAnimations.Add(anim14.iID, anim14);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SlimeDeathRed)
         {
             ushort arg_C6A_0 = 0;
             byte arg_C6A_1 = 0;
             Texture2D arg_C6A_2 = Content.Load<Texture2D>("Sprites/Monster/Special/Red Slime/Dead/Down");
             Vector2 arg_C6A_3 = new Vector2(28f, 21f);
             int arg_C6A_4 = 4;
             int arg_C6A_5 = 9;
             int arg_C6A_6 = 53;
             int arg_C6A_7 = 29;
             int arg_C6A_8 = 0;
             int arg_C6A_9 = 0;
             int arg_C6A_10 = 22;
             Animation.LoopSettings arg_C6A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_C6A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_C6A_13 = false;
             bool arg_C6A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_BD1_0 = array;
             int arg_BD1_1 = 0;
             AnimInsCriteria arg_BCC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_BC7_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_BD1_0[arg_BD1_1] = new AnimationInstruction(arg_BCC_0, new AnimInsEvent(arg_BC7_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_C65_0 = array;
             int arg_C65_1 = 2;
             AnimInsCriteria arg_C60_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_C5B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_C65_0[arg_C65_1] = new AnimationInstruction(arg_C60_0, new AnimInsEvent(arg_C5B_0, array2));
             Animation anim15 = new Animation(arg_C6A_0, arg_C6A_1, arg_C6A_2, arg_C6A_3, arg_C6A_4, arg_C6A_5, arg_C6A_6, arg_C6A_7, arg_C6A_8, arg_C6A_9, arg_C6A_10, arg_C6A_11, arg_C6A_12, arg_C6A_13, arg_C6A_14, array);
             xARC.dixAnimations.Add(anim15.iID, anim15);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SlimeDeathBlue)
         {
             ushort arg_DA9_0 = 0;
             byte arg_DA9_1 = 0;
             Texture2D arg_DA9_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Blue Slime/Dead/Down");
             Vector2 arg_DA9_3 = new Vector2(28f, 21f);
             int arg_DA9_4 = 4;
             int arg_DA9_5 = 9;
             int arg_DA9_6 = 53;
             int arg_DA9_7 = 29;
             int arg_DA9_8 = 0;
             int arg_DA9_9 = 0;
             int arg_DA9_10 = 22;
             Animation.LoopSettings arg_DA9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_DA9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_DA9_13 = false;
             bool arg_DA9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_D10_0 = array;
             int arg_D10_1 = 0;
             AnimInsCriteria arg_D0B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_D06_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_D10_0[arg_D10_1] = new AnimationInstruction(arg_D0B_0, new AnimInsEvent(arg_D06_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_DA4_0 = array;
             int arg_DA4_1 = 2;
             AnimInsCriteria arg_D9F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_D9A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_DA4_0[arg_DA4_1] = new AnimationInstruction(arg_D9F_0, new AnimInsEvent(arg_D9A_0, array2));
             Animation anim16 = new Animation(arg_DA9_0, arg_DA9_1, arg_DA9_2, arg_DA9_3, arg_DA9_4, arg_DA9_5, arg_DA9_6, arg_DA9_7, arg_DA9_8, arg_DA9_9, arg_DA9_10, arg_DA9_11, arg_DA9_12, arg_DA9_13, arg_DA9_14, array);
             xARC.dixAnimations.Add(anim16.iID, anim16);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PumpkinDeath)
         {
             ushort arg_EE8_0 = 0;
             byte arg_EE8_1 = 0;
             Texture2D arg_EE8_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Pumpkin/Dead/Down");
             Vector2 arg_EE8_3 = new Vector2(30f, 29f);
             int arg_EE8_4 = 4;
             int arg_EE8_5 = 9;
             int arg_EE8_6 = 62;
             int arg_EE8_7 = 36;
             int arg_EE8_8 = 0;
             int arg_EE8_9 = 0;
             int arg_EE8_10 = 22;
             Animation.LoopSettings arg_EE8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_EE8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_EE8_13 = false;
             bool arg_EE8_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_E4F_0 = array;
             int arg_E4F_1 = 0;
             AnimInsCriteria arg_E4A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_E45_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_E4F_0[arg_E4F_1] = new AnimationInstruction(arg_E4A_0, new AnimInsEvent(arg_E45_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_EE3_0 = array;
             int arg_EE3_1 = 2;
             AnimInsCriteria arg_EDE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_ED9_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_EE3_0[arg_EE3_1] = new AnimationInstruction(arg_EDE_0, new AnimInsEvent(arg_ED9_0, array2));
             Animation anim17 = new Animation(arg_EE8_0, arg_EE8_1, arg_EE8_2, arg_EE8_3, arg_EE8_4, arg_EE8_5, arg_EE8_6, arg_EE8_7, arg_EE8_8, arg_EE8_9, arg_EE8_10, arg_EE8_11, arg_EE8_12, arg_EE8_13, arg_EE8_14, array);
             xARC.dixAnimations.Add(anim17.iID, anim17);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ShroomDeath)
         {
             Animation anim18 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Mt Bloom/Shroom/Death/Down"), new Vector2(25f, 32f), 4, 9, 50, 38, 750, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim18.iID, anim18);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostyFriendLv1Death)
         {
             Animation anim19 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Special/Frosty Friend/Level 1-2/Dead/Effect"), new Vector2(26f, 30f), 4, 7, 54, 54, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim19.iID, anim19);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ScarecrowDeath)
         {
             ushort arg_10D6_0 = 0;
             byte arg_10D6_1 = 0;
             Texture2D arg_10D6_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Scarecrow/Dead/Down");
             Vector2 arg_10D6_3 = new Vector2(28f, 43f);
             int arg_10D6_4 = 4;
             int arg_10D6_5 = 9;
             int arg_10D6_6 = 54;
             int arg_10D6_7 = 47;
             int arg_10D6_8 = 0;
             int arg_10D6_9 = 0;
             int arg_10D6_10 = 22;
             Animation.LoopSettings arg_10D6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_10D6_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_10D6_13 = false;
             bool arg_10D6_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_103D_0 = array;
             int arg_103D_1 = 0;
             AnimInsCriteria arg_1038_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_1033_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_103D_0[arg_103D_1] = new AnimationInstruction(arg_1038_0, new AnimInsEvent(arg_1033_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_10D1_0 = array;
             int arg_10D1_1 = 2;
             AnimInsCriteria arg_10CC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_10C7_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_10D1_0[arg_10D1_1] = new AnimationInstruction(arg_10CC_0, new AnimInsEvent(arg_10C7_0, array2));
             Animation anim20 = new Animation(arg_10D6_0, arg_10D6_1, arg_10D6_2, arg_10D6_3, arg_10D6_4, arg_10D6_5, arg_10D6_6, arg_10D6_7, arg_10D6_8, arg_10D6_9, arg_10D6_10, arg_10D6_11, arg_10D6_12, arg_10D6_13, arg_10D6_14, array);
             xARC.dixAnimations.Add(anim20.iID, anim20);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PumpkingDeath)
         {
             ushort arg_1215_0 = 0;
             byte arg_1215_1 = 0;
             Texture2D arg_1215_2 = Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/PumpKing/Dead/Down");
             Vector2 arg_1215_3 = new Vector2(29f, 46f);
             int arg_1215_4 = 4;
             int arg_1215_5 = 14;
             int arg_1215_6 = 78;
             int arg_1215_7 = 52;
             int arg_1215_8 = 0;
             int arg_1215_9 = 0;
             int arg_1215_10 = 22;
             Animation.LoopSettings arg_1215_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1215_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1215_13 = false;
             bool arg_1215_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_117C_0 = array;
             int arg_117C_1 = 0;
             AnimInsCriteria arg_1177_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1172_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_117C_0[arg_117C_1] = new AnimationInstruction(arg_1177_0, new AnimInsEvent(arg_1172_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1210_0 = array;
             int arg_1210_1 = 2;
             AnimInsCriteria arg_120B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1206_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1210_0[arg_1210_1] = new AnimationInstruction(arg_120B_0, new AnimInsEvent(arg_1206_0, array2));
             Animation anim21 = new Animation(arg_1215_0, arg_1215_1, arg_1215_2, arg_1215_3, arg_1215_4, arg_1215_5, arg_1215_6, arg_1215_7, arg_1215_8, arg_1215_9, arg_1215_10, arg_1215_11, arg_1215_12, arg_1215_13, arg_1215_14, array);
             xARC.dixAnimations.Add(anim21.iID, anim21);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.AutumnMageDeath)
         {
             Animation anim22 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Fall Wizard/Death/Down"), new Vector2(20f, 34f), 4, 7, 41, 44, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim22.iID, anim22);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WinterMageDeath)
         {
             Animation anim23 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Winter Wizard/Death/Down"), new Vector2(20f, 34f), 4, 7, 41, 44, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim23.iID, anim23);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SummerMageDeath)
         {
             Animation anim24 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Season Change/Summer Wizard/Death/Down"), new Vector2(20f, 34f), 4, 7, 41, 44, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim24.iID, anim24);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxMeleeDeath)
         {
             Dictionary<ushort, Animation> arg_1480_0 = xARC.dixAnimations;
             ushort arg_1480_1 = 0;
             ushort arg_147B_0 = 0;
             byte arg_147B_1 = 0;
             Texture2D arg_147B_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Up");
             Vector2 arg_147B_3 = new Vector2(25f, 25f);
             int arg_147B_4 = 4;
             int arg_147B_5 = 6;
             int arg_147B_6 = 49;
             int arg_147B_7 = 42;
             int arg_147B_8 = 49;
             int arg_147B_9 = 0;
             int arg_147B_10 = 22;
             Animation.LoopSettings arg_147B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_147B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_147B_13 = false;
             bool arg_147B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_13E2_0 = array;
             int arg_13E2_1 = 0;
             AnimInsCriteria arg_13DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_13D8_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_13E2_0[arg_13E2_1] = new AnimationInstruction(arg_13DD_0, new AnimInsEvent(arg_13D8_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1476_0 = array;
             int arg_1476_1 = 2;
             AnimInsCriteria arg_1471_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_146C_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1476_0[arg_1476_1] = new AnimationInstruction(arg_1471_0, new AnimInsEvent(arg_146C_0, array2));
             arg_1480_0[arg_1480_1] = new Animation(arg_147B_0, arg_147B_1, arg_147B_2, arg_147B_3, arg_147B_4, arg_147B_5, arg_147B_6, arg_147B_7, arg_147B_8, arg_147B_9, arg_147B_10, arg_147B_11, arg_147B_12, arg_147B_13, arg_147B_14, array);
             Dictionary<ushort, Animation> arg_15A8_0 = xARC.dixAnimations;
             ushort arg_15A8_1 = 1;
             ushort arg_15A3_0 = 1;
             byte arg_15A3_1 = 1;
             Texture2D arg_15A3_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Right");
             Vector2 arg_15A3_3 = new Vector2(25f, 25f);
             int arg_15A3_4 = 4;
             int arg_15A3_5 = 6;
             int arg_15A3_6 = 49;
             int arg_15A3_7 = 42;
             int arg_15A3_8 = 49;
             int arg_15A3_9 = 0;
             int arg_15A3_10 = 22;
             Animation.LoopSettings arg_15A3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_15A3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_15A3_13 = false;
             bool arg_15A3_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_150A_0 = array;
             int arg_150A_1 = 0;
             AnimInsCriteria arg_1505_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1500_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_150A_0[arg_150A_1] = new AnimationInstruction(arg_1505_0, new AnimInsEvent(arg_1500_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_159E_0 = array;
             int arg_159E_1 = 2;
             AnimInsCriteria arg_1599_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1594_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_159E_0[arg_159E_1] = new AnimationInstruction(arg_1599_0, new AnimInsEvent(arg_1594_0, array2));
             arg_15A8_0[arg_15A8_1] = new Animation(arg_15A3_0, arg_15A3_1, arg_15A3_2, arg_15A3_3, arg_15A3_4, arg_15A3_5, arg_15A3_6, arg_15A3_7, arg_15A3_8, arg_15A3_9, arg_15A3_10, arg_15A3_11, arg_15A3_12, arg_15A3_13, arg_15A3_14, array);
             Dictionary<ushort, Animation> arg_16D0_0 = xARC.dixAnimations;
             ushort arg_16D0_1 = 2;
             ushort arg_16CB_0 = 2;
             byte arg_16CB_1 = 2;
             Texture2D arg_16CB_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Down");
             Vector2 arg_16CB_3 = new Vector2(25f, 25f);
             int arg_16CB_4 = 4;
             int arg_16CB_5 = 6;
             int arg_16CB_6 = 49;
             int arg_16CB_7 = 42;
             int arg_16CB_8 = 49;
             int arg_16CB_9 = 0;
             int arg_16CB_10 = 22;
             Animation.LoopSettings arg_16CB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16CB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16CB_13 = false;
             bool arg_16CB_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1632_0 = array;
             int arg_1632_1 = 0;
             AnimInsCriteria arg_162D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1628_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1632_0[arg_1632_1] = new AnimationInstruction(arg_162D_0, new AnimInsEvent(arg_1628_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_16C6_0 = array;
             int arg_16C6_1 = 2;
             AnimInsCriteria arg_16C1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16BC_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_16C6_0[arg_16C6_1] = new AnimationInstruction(arg_16C1_0, new AnimInsEvent(arg_16BC_0, array2));
             arg_16D0_0[arg_16D0_1] = new Animation(arg_16CB_0, arg_16CB_1, arg_16CB_2, arg_16CB_3, arg_16CB_4, arg_16CB_5, arg_16CB_6, arg_16CB_7, arg_16CB_8, arg_16CB_9, arg_16CB_10, arg_16CB_11, arg_16CB_12, arg_16CB_13, arg_16CB_14, array);
             Dictionary<ushort, Animation> arg_17F8_0 = xARC.dixAnimations;
             ushort arg_17F8_1 = 3;
             ushort arg_17F3_0 = 3;
             byte arg_17F3_1 = 3;
             Texture2D arg_17F3_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Right");
             Vector2 arg_17F3_3 = new Vector2(25f, 25f);
             int arg_17F3_4 = 4;
             int arg_17F3_5 = 6;
             int arg_17F3_6 = 49;
             int arg_17F3_7 = 42;
             int arg_17F3_8 = 49;
             int arg_17F3_9 = 0;
             int arg_17F3_10 = 22;
             Animation.LoopSettings arg_17F3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17F3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17F3_13 = false;
             bool arg_17F3_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_175A_0 = array;
             int arg_175A_1 = 0;
             AnimInsCriteria arg_1755_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1750_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_175A_0[arg_175A_1] = new AnimationInstruction(arg_1755_0, new AnimInsEvent(arg_1750_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_17EE_0 = array;
             int arg_17EE_1 = 2;
             AnimInsCriteria arg_17E9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17E4_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_17EE_0[arg_17EE_1] = new AnimationInstruction(arg_17E9_0, new AnimInsEvent(arg_17E4_0, array2));
             arg_17F8_0[arg_17F8_1] = new Animation(arg_17F3_0, arg_17F3_1, arg_17F3_2, arg_17F3_3, arg_17F3_4, arg_17F3_5, arg_17F3_6, arg_17F3_7, arg_17F3_8, arg_17F3_9, arg_17F3_10, arg_17F3_11, arg_17F3_12, arg_17F3_13, arg_17F3_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxMeleeDeath_Lid)
         {
             ushort arg_1973_0 = 0;
             byte arg_1973_1 = 0;
             Texture2D arg_1973_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Melee/Dead/Lid");
             Vector2 arg_1973_3 = new Vector2(12f, 32f);
             int arg_1973_4 = 4;
             int arg_1973_5 = 14;
             int arg_1973_6 = 24;
             int arg_1973_7 = 38;
             int arg_1973_8 = 0;
             int arg_1973_9 = 0;
             int arg_1973_10 = 22;
             Animation.LoopSettings arg_1973_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1973_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1973_13 = true;
             bool arg_1973_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_1890_0 = array;
             int arg_1890_1 = 0;
             AnimInsCriteria arg_188B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_1886_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1890_0[arg_1890_1] = new AnimationInstruction(arg_188B_0, new AnimInsEvent(arg_1886_0, array2));
             AnimationInstruction[] arg_18DA_0 = array;
             int arg_18DA_1 = 1;
             AnimInsCriteria arg_18D5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_18D0_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_18DA_0[arg_18DA_1] = new AnimationInstruction(arg_18D5_0, new AnimInsEvent(arg_18D0_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_196E_0 = array;
             int arg_196E_1 = 3;
             AnimInsCriteria arg_1969_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1964_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_196E_0[arg_196E_1] = new AnimationInstruction(arg_1969_0, new AnimInsEvent(arg_1964_0, array2));
             Animation anim25 = new Animation(arg_1973_0, arg_1973_1, arg_1973_2, arg_1973_3, arg_1973_4, arg_1973_5, arg_1973_6, arg_1973_7, arg_1973_8, arg_1973_9, arg_1973_10, arg_1973_11, arg_1973_12, arg_1973_13, arg_1973_14, array);
             xARC.dixAnimations.Add(anim25.iID, anim25);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxRangedDeath)
         {
             Dictionary<ushort, Animation> arg_1ABE_0 = xARC.dixAnimations;
             ushort arg_1ABE_1 = 0;
             ushort arg_1AB9_0 = 0;
             byte arg_1AB9_1 = 0;
             Texture2D arg_1AB9_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Up");
             Vector2 arg_1AB9_3 = new Vector2(25f, 25f);
             int arg_1AB9_4 = 4;
             int arg_1AB9_5 = 6;
             int arg_1AB9_6 = 49;
             int arg_1AB9_7 = 42;
             int arg_1AB9_8 = 49;
             int arg_1AB9_9 = 0;
             int arg_1AB9_10 = 22;
             Animation.LoopSettings arg_1AB9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1AB9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1AB9_13 = false;
             bool arg_1AB9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1A20_0 = array;
             int arg_1A20_1 = 0;
             AnimInsCriteria arg_1A1B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A16_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1A20_0[arg_1A20_1] = new AnimationInstruction(arg_1A1B_0, new AnimInsEvent(arg_1A16_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1AB4_0 = array;
             int arg_1AB4_1 = 2;
             AnimInsCriteria arg_1AAF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1AAA_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1AB4_0[arg_1AB4_1] = new AnimationInstruction(arg_1AAF_0, new AnimInsEvent(arg_1AAA_0, array2));
             arg_1ABE_0[arg_1ABE_1] = new Animation(arg_1AB9_0, arg_1AB9_1, arg_1AB9_2, arg_1AB9_3, arg_1AB9_4, arg_1AB9_5, arg_1AB9_6, arg_1AB9_7, arg_1AB9_8, arg_1AB9_9, arg_1AB9_10, arg_1AB9_11, arg_1AB9_12, arg_1AB9_13, arg_1AB9_14, array);
             Dictionary<ushort, Animation> arg_1BE6_0 = xARC.dixAnimations;
             ushort arg_1BE6_1 = 1;
             ushort arg_1BE1_0 = 1;
             byte arg_1BE1_1 = 1;
             Texture2D arg_1BE1_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Right");
             Vector2 arg_1BE1_3 = new Vector2(25f, 25f);
             int arg_1BE1_4 = 4;
             int arg_1BE1_5 = 6;
             int arg_1BE1_6 = 49;
             int arg_1BE1_7 = 42;
             int arg_1BE1_8 = 49;
             int arg_1BE1_9 = 0;
             int arg_1BE1_10 = 22;
             Animation.LoopSettings arg_1BE1_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BE1_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BE1_13 = false;
             bool arg_1BE1_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1B48_0 = array;
             int arg_1B48_1 = 0;
             AnimInsCriteria arg_1B43_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1B3E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1B48_0[arg_1B48_1] = new AnimationInstruction(arg_1B43_0, new AnimInsEvent(arg_1B3E_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1BDC_0 = array;
             int arg_1BDC_1 = 2;
             AnimInsCriteria arg_1BD7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1BD2_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1BDC_0[arg_1BDC_1] = new AnimationInstruction(arg_1BD7_0, new AnimInsEvent(arg_1BD2_0, array2));
             arg_1BE6_0[arg_1BE6_1] = new Animation(arg_1BE1_0, arg_1BE1_1, arg_1BE1_2, arg_1BE1_3, arg_1BE1_4, arg_1BE1_5, arg_1BE1_6, arg_1BE1_7, arg_1BE1_8, arg_1BE1_9, arg_1BE1_10, arg_1BE1_11, arg_1BE1_12, arg_1BE1_13, arg_1BE1_14, array);
             Dictionary<ushort, Animation> arg_1D0E_0 = xARC.dixAnimations;
             ushort arg_1D0E_1 = 2;
             ushort arg_1D09_0 = 2;
             byte arg_1D09_1 = 2;
             Texture2D arg_1D09_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Down");
             Vector2 arg_1D09_3 = new Vector2(25f, 25f);
             int arg_1D09_4 = 4;
             int arg_1D09_5 = 6;
             int arg_1D09_6 = 49;
             int arg_1D09_7 = 42;
             int arg_1D09_8 = 49;
             int arg_1D09_9 = 0;
             int arg_1D09_10 = 22;
             Animation.LoopSettings arg_1D09_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D09_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1D09_13 = false;
             bool arg_1D09_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1C70_0 = array;
             int arg_1C70_1 = 0;
             AnimInsCriteria arg_1C6B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1C66_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1C70_0[arg_1C70_1] = new AnimationInstruction(arg_1C6B_0, new AnimInsEvent(arg_1C66_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1D04_0 = array;
             int arg_1D04_1 = 2;
             AnimInsCriteria arg_1CFF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1CFA_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1D04_0[arg_1D04_1] = new AnimationInstruction(arg_1CFF_0, new AnimInsEvent(arg_1CFA_0, array2));
             arg_1D0E_0[arg_1D0E_1] = new Animation(arg_1D09_0, arg_1D09_1, arg_1D09_2, arg_1D09_3, arg_1D09_4, arg_1D09_5, arg_1D09_6, arg_1D09_7, arg_1D09_8, arg_1D09_9, arg_1D09_10, arg_1D09_11, arg_1D09_12, arg_1D09_13, arg_1D09_14, array);
             Dictionary<ushort, Animation> arg_1E36_0 = xARC.dixAnimations;
             ushort arg_1E36_1 = 3;
             ushort arg_1E31_0 = 3;
             byte arg_1E31_1 = 3;
             Texture2D arg_1E31_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Right");
             Vector2 arg_1E31_3 = new Vector2(25f, 25f);
             int arg_1E31_4 = 4;
             int arg_1E31_5 = 6;
             int arg_1E31_6 = 49;
             int arg_1E31_7 = 42;
             int arg_1E31_8 = 49;
             int arg_1E31_9 = 0;
             int arg_1E31_10 = 22;
             Animation.LoopSettings arg_1E31_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E31_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E31_13 = false;
             bool arg_1E31_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1D98_0 = array;
             int arg_1D98_1 = 0;
             AnimInsCriteria arg_1D93_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1D8E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1D98_0[arg_1D98_1] = new AnimationInstruction(arg_1D93_0, new AnimInsEvent(arg_1D8E_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E2C_0 = array;
             int arg_1E2C_1 = 2;
             AnimInsCriteria arg_1E27_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1E22_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E2C_0[arg_1E2C_1] = new AnimationInstruction(arg_1E27_0, new AnimInsEvent(arg_1E22_0, array2));
             arg_1E36_0[arg_1E36_1] = new Animation(arg_1E31_0, arg_1E31_1, arg_1E31_2, arg_1E31_3, arg_1E31_4, arg_1E31_5, arg_1E31_6, arg_1E31_7, arg_1E31_8, arg_1E31_9, arg_1E31_10, arg_1E31_11, arg_1E31_12, arg_1E31_13, arg_1E31_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GiftBoxRangedDeath_Lid)
         {
             ushort arg_1FB1_0 = 0;
             byte arg_1FB1_1 = 0;
             Texture2D arg_1FB1_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Present Ranged/Dead/Lid");
             Vector2 arg_1FB1_3 = new Vector2(12f, 32f);
             int arg_1FB1_4 = 4;
             int arg_1FB1_5 = 14;
             int arg_1FB1_6 = 24;
             int arg_1FB1_7 = 38;
             int arg_1FB1_8 = 0;
             int arg_1FB1_9 = 0;
             int arg_1FB1_10 = 22;
             Animation.LoopSettings arg_1FB1_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FB1_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FB1_13 = true;
             bool arg_1FB1_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_1ECE_0 = array;
             int arg_1ECE_1 = 0;
             AnimInsCriteria arg_1EC9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_1EC4_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1ECE_0[arg_1ECE_1] = new AnimationInstruction(arg_1EC9_0, new AnimInsEvent(arg_1EC4_0, array2));
             AnimationInstruction[] arg_1F18_0 = array;
             int arg_1F18_1 = 1;
             AnimInsCriteria arg_1F13_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1F0E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1F18_0[arg_1F18_1] = new AnimationInstruction(arg_1F13_0, new AnimInsEvent(arg_1F0E_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FAC_0 = array;
             int arg_1FAC_1 = 3;
             AnimInsCriteria arg_1FA7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 14f
             });
             AnimInsEvent.EventType arg_1FA2_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FAC_0[arg_1FAC_1] = new AnimationInstruction(arg_1FA7_0, new AnimInsEvent(arg_1FA2_0, array2));
             Animation anim26 = new Animation(arg_1FB1_0, arg_1FB1_1, arg_1FB1_2, arg_1FB1_3, arg_1FB1_4, arg_1FB1_5, arg_1FB1_6, arg_1FB1_7, arg_1FB1_8, arg_1FB1_9, arg_1FB1_10, arg_1FB1_11, arg_1FB1_12, arg_1FB1_13, arg_1FB1_14, array);
             xARC.dixAnimations.Add(anim26.iID, anim26);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingRogueDeathStick)
         {
             Animation anim27 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Rogue/Dead/Stick"), new Vector2(10f, 28f), 4, 9, 19, 31, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim27.iID, anim27);
             ushort arg_217D_0 = 1;
             byte arg_217D_1 = 0;
             Texture2D arg_217D_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Rogue/Dead/Stick");
             Vector2 arg_217D_3 = new Vector2(10f, 28f);
             int arg_217D_4 = 4;
             int arg_217D_5 = 3;
             int arg_217D_6 = 19;
             int arg_217D_7 = 31;
             int arg_217D_8 = 171;
             int arg_217D_9 = 0;
             int arg_217D_10 = 22;
             Animation.LoopSettings arg_217D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_217D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_217D_13 = false;
             bool arg_217D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_20E4_0 = array;
             int arg_20E4_1 = 0;
             AnimInsCriteria arg_20DF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_20DA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_20E4_0[arg_20E4_1] = new AnimationInstruction(arg_20DF_0, new AnimInsEvent(arg_20DA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2178_0 = array;
             int arg_2178_1 = 2;
             AnimInsCriteria arg_2173_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_216E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2178_0[arg_2178_1] = new AnimationInstruction(arg_2173_0, new AnimInsEvent(arg_216E_0, array2));
             anim27 = new Animation(arg_217D_0, arg_217D_1, arg_217D_2, arg_217D_3, arg_217D_4, arg_217D_5, arg_217D_6, arg_217D_7, arg_217D_8, arg_217D_9, arg_217D_10, arg_217D_11, arg_217D_12, arg_217D_13, arg_217D_14, array);
             xARC.dixAnimations.Add(anim27.iID, anim27);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingBossDeathMace)
         {
             Animation anim28 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Boss/Dead/Mace"), new Vector2(13f, 34f), 4, 9, 25, 39, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim28.iID, anim28);
             ushort arg_234A_0 = 1;
             byte arg_234A_1 = 0;
             Texture2D arg_234A_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Boss/Dead/Mace");
             Vector2 arg_234A_3 = new Vector2(13f, 34f);
             int arg_234A_4 = 4;
             int arg_234A_5 = 12;
             int arg_234A_6 = 25;
             int arg_234A_7 = 39;
             int arg_234A_8 = 225;
             int arg_234A_9 = 0;
             int arg_234A_10 = 22;
             Animation.LoopSettings arg_234A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_234A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_234A_13 = false;
             bool arg_234A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_22B1_0 = array;
             int arg_22B1_1 = 0;
             AnimInsCriteria arg_22AC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_22A7_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_22B1_0[arg_22B1_1] = new AnimationInstruction(arg_22AC_0, new AnimInsEvent(arg_22A7_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2345_0 = array;
             int arg_2345_1 = 2;
             AnimInsCriteria arg_2340_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_233B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2345_0[arg_2345_1] = new AnimationInstruction(arg_2340_0, new AnimInsEvent(arg_233B_0, array2));
             anim28 = new Animation(arg_234A_0, arg_234A_1, arg_234A_2, arg_234A_3, arg_234A_4, arg_234A_5, arg_234A_6, arg_234A_7, arg_234A_8, arg_234A_9, arg_234A_10, arg_234A_11, arg_234A_12, arg_234A_13, arg_234A_14, array);
             xARC.dixAnimations.Add(anim28.iID, anim28);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.MarinoDeathSword)
         {
             this.bDestroyAtEnd = false;
             Animation anim29 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Main/Rival/Death/Sword"), new Vector2(6f, 55f), 4, 15, 27, 58, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim29.iID, anim29);
             anim29 = new Animation(1, 0, Content.Load<Texture2D>("Sprites/NPC/Main/Rival/Death/Sword"), new Vector2(21f, 55f), 4, 15, 27, 58, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             anim29.enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(anim29.iID, anim29);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelDeathSnowball)
         {
             Animation anim30 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/Snowball"), new Vector2(10f, 25f), 4, 9, 19, 28, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim30.iID, anim30);
             ushort arg_25CA_0 = 1;
             byte arg_25CA_1 = 0;
             Texture2D arg_25CA_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/Snowball");
             Vector2 arg_25CA_3 = new Vector2(10f, 25f);
             int arg_25CA_4 = 4;
             int arg_25CA_5 = 4;
             int arg_25CA_6 = 19;
             int arg_25CA_7 = 28;
             int arg_25CA_8 = 171;
             int arg_25CA_9 = 0;
             int arg_25CA_10 = 22;
             Animation.LoopSettings arg_25CA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_25CA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_25CA_13 = false;
             bool arg_25CA_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2531_0 = array;
             int arg_2531_1 = 0;
             AnimInsCriteria arg_252C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_2527_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2531_0[arg_2531_1] = new AnimationInstruction(arg_252C_0, new AnimInsEvent(arg_2527_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_25C5_0 = array;
             int arg_25C5_1 = 2;
             AnimInsCriteria arg_25C0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_25BB_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_25C5_0[arg_25C5_1] = new AnimationInstruction(arg_25C0_0, new AnimInsEvent(arg_25BB_0, array2));
             anim30 = new Animation(arg_25CA_0, arg_25CA_1, arg_25CA_2, arg_25CA_3, arg_25CA_4, arg_25CA_5, arg_25CA_6, arg_25CA_7, arg_25CA_8, arg_25CA_9, arg_25CA_10, arg_25CA_11, arg_25CA_12, arg_25CA_13, arg_25CA_14, array);
             xARC.dixAnimations.Add(anim30.iID, anim30);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelDeathSnowballBig)
         {
             Animation anim31 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/SnowballBig"), new Vector2(10f, 28f), 4, 9, 19, 31, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim31.iID, anim31);
             ushort arg_2796_0 = 1;
             byte arg_2796_1 = 0;
             Texture2D arg_2796_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/SnowballBig");
             Vector2 arg_2796_3 = new Vector2(10f, 28f);
             int arg_2796_4 = 4;
             int arg_2796_5 = 5;
             int arg_2796_6 = 19;
             int arg_2796_7 = 31;
             int arg_2796_8 = 171;
             int arg_2796_9 = 0;
             int arg_2796_10 = 22;
             Animation.LoopSettings arg_2796_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2796_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2796_13 = false;
             bool arg_2796_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_26FD_0 = array;
             int arg_26FD_1 = 0;
             AnimInsCriteria arg_26F8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_26F3_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_26FD_0[arg_26FD_1] = new AnimationInstruction(arg_26F8_0, new AnimInsEvent(arg_26F3_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2791_0 = array;
             int arg_2791_1 = 2;
             AnimInsCriteria arg_278C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_2787_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2791_0[arg_2791_1] = new AnimationInstruction(arg_278C_0, new AnimInsEvent(arg_2787_0, array2));
             anim31 = new Animation(arg_2796_0, arg_2796_1, arg_2796_2, arg_2796_3, arg_2796_4, arg_2796_5, arg_2796_6, arg_2796_7, arg_2796_8, arg_2796_9, arg_2796_10, arg_2796_11, arg_2796_12, arg_2796_13, arg_2796_14, array);
             xARC.dixAnimations.Add(anim31.iID, anim31);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelSnowballDestroy)
         {
             ushort arg_28D8_0 = 0;
             byte arg_28D8_1 = 0;
             Texture2D arg_28D8_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/Snowball");
             Vector2 arg_28D8_3 = new Vector2(10f, 25f);
             int arg_28D8_4 = 4;
             int arg_28D8_5 = 4;
             int arg_28D8_6 = 19;
             int arg_28D8_7 = 28;
             int arg_28D8_8 = 171;
             int arg_28D8_9 = 0;
             int arg_28D8_10 = 22;
             Animation.LoopSettings arg_28D8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_28D8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_28D8_13 = false;
             bool arg_28D8_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_283F_0 = array;
             int arg_283F_1 = 0;
             AnimInsCriteria arg_283A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_2835_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_283F_0[arg_283F_1] = new AnimationInstruction(arg_283A_0, new AnimInsEvent(arg_2835_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_28D3_0 = array;
             int arg_28D3_1 = 2;
             AnimInsCriteria arg_28CE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_28C9_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_28D3_0[arg_28D3_1] = new AnimationInstruction(arg_28CE_0, new AnimInsEvent(arg_28C9_0, array2));
             Animation anim32 = new Animation(arg_28D8_0, arg_28D8_1, arg_28D8_2, arg_28D8_3, arg_28D8_4, arg_28D8_5, arg_28D8_6, arg_28D8_7, arg_28D8_8, arg_28D8_9, arg_28D8_10, arg_28D8_11, arg_28D8_12, arg_28D8_13, arg_28D8_14, array);
             xARC.dixAnimations.Add(anim32.iID, anim32);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FrostlingScoundrelSnowballBigDestroy)
         {
             ushort arg_2A1A_0 = 0;
             byte arg_2A1A_1 = 0;
             Texture2D arg_2A1A_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Frostling Scoundrel/Dead/SnowballBig");
             Vector2 arg_2A1A_3 = new Vector2(10f, 28f);
             int arg_2A1A_4 = 4;
             int arg_2A1A_5 = 5;
             int arg_2A1A_6 = 19;
             int arg_2A1A_7 = 31;
             int arg_2A1A_8 = 171;
             int arg_2A1A_9 = 0;
             int arg_2A1A_10 = 22;
             Animation.LoopSettings arg_2A1A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2A1A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2A1A_13 = false;
             bool arg_2A1A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2981_0 = array;
             int arg_2981_1 = 0;
             AnimInsCriteria arg_297C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_2977_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2981_0[arg_2981_1] = new AnimationInstruction(arg_297C_0, new AnimInsEvent(arg_2977_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2A15_0 = array;
             int arg_2A15_1 = 2;
             AnimInsCriteria arg_2A10_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 5f
             });
             AnimInsEvent.EventType arg_2A0B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2A15_0[arg_2A15_1] = new AnimationInstruction(arg_2A10_0, new AnimInsEvent(arg_2A0B_0, array2));
             Animation anim33 = new Animation(arg_2A1A_0, arg_2A1A_1, arg_2A1A_2, arg_2A1A_3, arg_2A1A_4, arg_2A1A_5, arg_2A1A_6, arg_2A1A_7, arg_2A1A_8, arg_2A1A_9, arg_2A1A_10, arg_2A1A_11, arg_2A1A_12, arg_2A1A_13, arg_2A1A_14, array);
             xARC.dixAnimations.Add(anim33.iID, anim33);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01)
         {
             ushort arg_2B59_0 = 0;
             byte arg_2B59_1 = 0;
             Texture2D arg_2B59_2 = Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/PumpkinBreak");
             Vector2 arg_2B59_3 = new Vector2(30f, 26f);
             int arg_2B59_4 = 4;
             int arg_2B59_5 = 9;
             int arg_2B59_6 = 62;
             int arg_2B59_7 = 36;
             int arg_2B59_8 = 0;
             int arg_2B59_9 = 0;
             int arg_2B59_10 = 22;
             Animation.LoopSettings arg_2B59_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2B59_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2B59_13 = false;
             bool arg_2B59_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2AC0_0 = array;
             int arg_2AC0_1 = 0;
             AnimInsCriteria arg_2ABB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2AB6_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2AC0_0[arg_2AC0_1] = new AnimationInstruction(arg_2ABB_0, new AnimInsEvent(arg_2AB6_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_2B54_0 = array;
             int arg_2B54_1 = 2;
             AnimInsCriteria arg_2B4F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2B4A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_2B54_0[arg_2B54_1] = new AnimationInstruction(arg_2B4F_0, new AnimInsEvent(arg_2B4A_0, array2));
             Animation anim34 = new Animation(arg_2B59_0, arg_2B59_1, arg_2B59_2, arg_2B59_3, arg_2B59_4, arg_2B59_5, arg_2B59_6, arg_2B59_7, arg_2B59_8, arg_2B59_9, arg_2B59_10, arg_2B59_11, arg_2B59_12, arg_2B59_13, arg_2B59_14, array);
             xARC.dixAnimations.Add(anim34.iID, anim34);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnvironABCDeath01)
         {
             ushort arg_2C98_0 = 0;
             byte arg_2C98_1 = 0;
             Texture2D arg_2C98_2 = Content.Load<Texture2D>("Sprites/Environment/Containers/Special/ABCBreak");
             Vector2 arg_2C98_3 = new Vector2(38f, 32f);
             int arg_2C98_4 = 4;
             int arg_2C98_5 = 9;
             int arg_2C98_6 = 74;
             int arg_2C98_7 = 54;
             int arg_2C98_8 = 0;
             int arg_2C98_9 = 0;
             int arg_2C98_10 = 22;
             Animation.LoopSettings arg_2C98_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2C98_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2C98_13 = false;
             bool arg_2C98_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2BFF_0 = array;
             int arg_2BFF_1 = 0;
             AnimInsCriteria arg_2BFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2BF5_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_2BFF_0[arg_2BFF_1] = new AnimationInstruction(arg_2BFA_0, new AnimInsEvent(arg_2BF5_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_2C93_0 = array;
             int arg_2C93_1 = 2;
             AnimInsCriteria arg_2C8E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2C89_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_2C93_0[arg_2C93_1] = new AnimationInstruction(arg_2C8E_0, new AnimInsEvent(arg_2C89_0, array2));
             Animation anim35 = new Animation(arg_2C98_0, arg_2C98_1, arg_2C98_2, arg_2C98_3, arg_2C98_4, arg_2C98_5, arg_2C98_6, arg_2C98_7, arg_2C98_8, arg_2C98_9, arg_2C98_10, arg_2C98_11, arg_2C98_12, arg_2C98_13, arg_2C98_14, array);
             xARC.dixAnimations.Add(anim35.iID, anim35);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnvironABCDeath02)
         {
             ushort arg_2DD7_0 = 0;
             byte arg_2DD7_1 = 0;
             Texture2D arg_2DD7_2 = Content.Load<Texture2D>("Sprites/Environment/Containers/Special/ABC2Break");
             Vector2 arg_2DD7_3 = new Vector2(38f, 32f);
             int arg_2DD7_4 = 4;
             int arg_2DD7_5 = 9;
             int arg_2DD7_6 = 74;
             int arg_2DD7_7 = 54;
             int arg_2DD7_8 = 0;
             int arg_2DD7_9 = 0;
             int arg_2DD7_10 = 22;
             Animation.LoopSettings arg_2DD7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2DD7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2DD7_13 = false;
             bool arg_2DD7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2D3E_0 = array;
             int arg_2D3E_1 = 0;
             AnimInsCriteria arg_2D39_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2D34_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_2D3E_0[arg_2D3E_1] = new AnimationInstruction(arg_2D39_0, new AnimInsEvent(arg_2D34_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_2DD2_0 = array;
             int arg_2DD2_1 = 2;
             AnimInsCriteria arg_2DCD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2DC8_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_2DD2_0[arg_2DD2_1] = new AnimationInstruction(arg_2DCD_0, new AnimInsEvent(arg_2DC8_0, array2));
             Animation anim36 = new Animation(arg_2DD7_0, arg_2DD7_1, arg_2DD7_2, arg_2DD7_3, arg_2DD7_4, arg_2DD7_5, arg_2DD7_6, arg_2DD7_7, arg_2DD7_8, arg_2DD7_9, arg_2DD7_10, arg_2DD7_11, arg_2DD7_12, arg_2DD7_13, arg_2DD7_14, array);
             xARC.dixAnimations.Add(anim36.iID, anim36);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnvironABCDeath03)
         {
             ushort arg_2F16_0 = 0;
             byte arg_2F16_1 = 0;
             Texture2D arg_2F16_2 = Content.Load<Texture2D>("Sprites/Environment/Containers/Special/ABC3Break");
             Vector2 arg_2F16_3 = new Vector2(38f, 32f);
             int arg_2F16_4 = 4;
             int arg_2F16_5 = 9;
             int arg_2F16_6 = 74;
             int arg_2F16_7 = 54;
             int arg_2F16_8 = 0;
             int arg_2F16_9 = 0;
             int arg_2F16_10 = 22;
             Animation.LoopSettings arg_2F16_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2F16_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2F16_13 = false;
             bool arg_2F16_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2E7D_0 = array;
             int arg_2E7D_1 = 0;
             AnimInsCriteria arg_2E78_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2E73_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_2E7D_0[arg_2E7D_1] = new AnimationInstruction(arg_2E78_0, new AnimInsEvent(arg_2E73_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_2F11_0 = array;
             int arg_2F11_1 = 2;
             AnimInsCriteria arg_2F0C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_2F07_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_2F11_0[arg_2F11_1] = new AnimationInstruction(arg_2F0C_0, new AnimInsEvent(arg_2F07_0, array2));
             Animation anim37 = new Animation(arg_2F16_0, arg_2F16_1, arg_2F16_2, arg_2F16_3, arg_2F16_4, arg_2F16_5, arg_2F16_6, arg_2F16_7, arg_2F16_8, arg_2F16_9, arg_2F16_10, arg_2F16_11, arg_2F16_12, arg_2F16_13, arg_2F16_14, array);
             xARC.dixAnimations.Add(anim37.iID, anim37);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnivronBeehiveDeath)
         {
             ushort arg_3055_0 = 0;
             byte arg_3055_1 = 0;
             Texture2D arg_3055_2 = Content.Load<Texture2D>("Sprites/Environment/Traps/Beehive/Dead");
             Vector2 arg_3055_3 = new Vector2(35f, 37f);
             int arg_3055_4 = 4;
             int arg_3055_5 = 12;
             int arg_3055_6 = 73;
             int arg_3055_7 = 53;
             int arg_3055_8 = 0;
             int arg_3055_9 = 0;
             int arg_3055_10 = 22;
             Animation.LoopSettings arg_3055_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3055_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3055_13 = false;
             bool arg_3055_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2FBC_0 = array;
             int arg_2FBC_1 = 0;
             AnimInsCriteria arg_2FB7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_2FB2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_2FBC_0[arg_2FBC_1] = new AnimationInstruction(arg_2FB7_0, new AnimInsEvent(arg_2FB2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_3050_0 = array;
             int arg_3050_1 = 2;
             AnimInsCriteria arg_304B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_3046_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_3050_0[arg_3050_1] = new AnimationInstruction(arg_304B_0, new AnimInsEvent(arg_3046_0, array2));
             Animation anim38 = new Animation(arg_3055_0, arg_3055_1, arg_3055_2, arg_3055_3, arg_3055_4, arg_3055_5, arg_3055_6, arg_3055_7, arg_3055_8, arg_3055_9, arg_3055_10, arg_3055_11, arg_3055_12, arg_3055_13, arg_3055_14, array);
             xARC.dixAnimations.Add(anim38.iID, anim38);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.EnivronRiftCrystalDeath)
         {
             Animation anim39 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/SpawnCrystal/Dead"), new Vector2(38f, 44f), 4, 12, 73, 62, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim39.iID, anim39);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FatSpark)
         {
             Animation anim40 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Projectile/Idle"), new Vector2(10f, 10f), 3, 6, 20, 20, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.v2OffsetRenderPos.Y = -27f;
             xARC.dixAnimations.Add(anim40.iID, anim40);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenSpark)
         {
             Animation anim41 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Projectile/asas"), new Vector2(3f, 3f), 3, 1, 5, 5, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = BirdieAI.fCrystalBeamAlpha;
             xARC.v2OffsetRenderPos.Y = -27f;
             xARC.dixAnimations.Add(anim41.iID, anim41);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenSparkMid)
         {
             Animation anim42 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Projectile/asas2"), new Vector2(3f, 3f), 2, 1, 5, 5, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.85f;
             xARC.fScale = 0.65f;
             xARC.v2OffsetRenderPos.Y = -27f;
             xARC.dixAnimations.Add(anim42.iID, anim42);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SandCloudSmall01)
         {
             Animation anim43 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Sand/SandA"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim43.iID, anim43);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SandCloudSmall02)
         {
             Animation anim44 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Sand/SandB"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim44.iID, anim44);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall01)
         {
             Animation anim45 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Dust/DustB"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim45.iID, anim45);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall02)
         {
             Animation anim46 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Dust/DustB"), new Vector2(5f, 4f), 3, 1, 9, 8, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim46.iID, anim46);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SmokeBig01)
         {
             Animation anim47 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Smoke/Big"), new Vector2(8f, 8f), 3, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim47.iID, anim47);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SoftSmokeWhite)
         {
             Animation anim48 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Effects/Particle Effects/Smoke/White"), new Vector2(4f, 9f), 4, 9, 8, 11, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.9f;
             xARC.dixAnimations.Add(anim48.iID, anim48);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Particle_SoftSplitSmokeWhite)
         {
             Animation anim49 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Effects/Particle Effects/Smoke/Split Poff/White"), new Vector2(9f, 7f), 4, 13, 18, 14, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim49.iID, anim49);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopDown)
         {
             Animation anim50 = new Animation(0, 2, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Down"), new Vector2(10f, 33f), 5, 4, 24, 39, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim50.iID, anim50);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopUp)
         {
             Animation anim51 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Up"), new Vector2(12f, 24f), 5, 4, 23, 29, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim51.iID, anim51);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopRight)
         {
             Animation anim52 = new Animation(0, 1, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Right"), new Vector2(13f, 31f), 5, 4, 28, 35, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim52.iID, anim52);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RunStopLeft)
         {
             Animation anim53 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Effects/Player/RunStopEffect/Left"), new Vector2(18f, 31f), 5, 4, 28, 35, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim53.iID, anim53);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SnowStepUp)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Footsteps/Snow/Down"), new Vector2(2f, 3f), 4, 1, 4, 5, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.SnowStepRight)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Footsteps/Snow/Right"), new Vector2(3f, 2f), 4, 1, 6, 4, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterStep)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Footsteps/Water/Water"), new Vector2(11f, 17f), 4, 9, 21, 24, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PhaseShiftStart)
         {
             Animation anim54 = new Animation(0, 1, GlobalContent.Load<Texture2D>("Effects/Phase Shift/Shockwave"), new Vector2(18f, 16f), 4, 6, 37, 33, 0, 0, 4, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim54.iID, anim54);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ShieldBreakGroundsmoke)
         {
             Animation anim55 = new Animation(0, 3, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldBreak/Smoke"), new Vector2(4f, 9f), 4, 9, 8, 11, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.7f;
             xARC.dixAnimations.Add(anim55.iID, anim55);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenSlimePrisonEnd)
         {
             ushort arg_39DD_0 = 0;
             byte arg_39DD_1 = 3;
             Texture2D arg_39DD_2 = Content.Load<Texture2D>("Sprites/Heroes/Debuffs/Slime Prison/End/Slime/Down");
             Vector2 arg_39DD_3 = new Vector2(38f, 38f);
             int arg_39DD_4 = 5;
             int arg_39DD_5 = 3;
             int arg_39DD_6 = 76;
             int arg_39DD_7 = 55;
             int arg_39DD_8 = 0;
             int arg_39DD_9 = 0;
             int arg_39DD_10 = 4;
             Animation.LoopSettings arg_39DD_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_39DD_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_39DD_13 = false;
             bool arg_39DD_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_39D8_0 = array;
             int arg_39D8_1 = 0;
             AnimInsCriteria arg_39D3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_39CE_0 = AnimInsEvent.EventType.PlaySound;
             string arg_39CE_1 = "GigaSlime_PrisonDestroyed";
             float[] array2 = new float[1];
             arg_39D8_0[arg_39D8_1] = new AnimationInstruction(arg_39D3_0, new AnimInsEvent(arg_39CE_0, arg_39CE_1, array2));
             Animation anim56 = new Animation(arg_39DD_0, arg_39DD_1, arg_39DD_2, arg_39DD_3, arg_39DD_4, arg_39DD_5, arg_39DD_6, arg_39DD_7, arg_39DD_8, arg_39DD_9, arg_39DD_10, arg_39DD_11, arg_39DD_12, arg_39DD_13, arg_39DD_14, array);
             xARC.dixAnimations.Add(anim56.iID, anim56);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RedSlimePrisonEnd)
         {
             ushort arg_3A6D_0 = 0;
             byte arg_3A6D_1 = 3;
             Texture2D arg_3A6D_2 = Content.Load<Texture2D>("Sprites/Heroes/Debuffs/Slime Prison Red/End/Slime/Down");
             Vector2 arg_3A6D_3 = new Vector2(38f, 38f);
             int arg_3A6D_4 = 5;
             int arg_3A6D_5 = 3;
             int arg_3A6D_6 = 76;
             int arg_3A6D_7 = 55;
             int arg_3A6D_8 = 0;
             int arg_3A6D_9 = 0;
             int arg_3A6D_10 = 4;
             Animation.LoopSettings arg_3A6D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3A6D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3A6D_13 = false;
             bool arg_3A6D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3A68_0 = array;
             int arg_3A68_1 = 0;
             AnimInsCriteria arg_3A63_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_3A5E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_3A5E_1 = "GigaSlime_PrisonDestroyed";
             float[] array2 = new float[1];
             arg_3A68_0[arg_3A68_1] = new AnimationInstruction(arg_3A63_0, new AnimInsEvent(arg_3A5E_0, arg_3A5E_1, array2));
             Animation anim57 = new Animation(arg_3A6D_0, arg_3A6D_1, arg_3A6D_2, arg_3A6D_3, arg_3A6D_4, arg_3A6D_5, arg_3A6D_6, arg_3A6D_7, arg_3A6D_8, arg_3A6D_9, arg_3A6D_10, arg_3A6D_11, arg_3A6D_12, arg_3A6D_13, arg_3A6D_14, array);
             xARC.dixAnimations.Add(anim57.iID, anim57);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenForestSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignBounce"), new Vector2(12f, 23f), 4, 1, 21, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignBounce"), new Vector2(12f, 23f), 5, 6, 21, 27, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_3C4A_0 = xARC.dixAnimations;
             ushort arg_3C4A_1 = 2;
             ushort arg_3C45_0 = 2;
             byte arg_3C45_1 = 0;
             Texture2D arg_3C45_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/SignBounce");
             Vector2 arg_3C45_3 = new Vector2(12f, 23f);
             int arg_3C45_4 = 6;
             int arg_3C45_5 = 6;
             int arg_3C45_6 = 21;
             int arg_3C45_7 = 27;
             int arg_3C45_8 = 0;
             int arg_3C45_9 = 0;
             int arg_3C45_10 = 6;
             Animation.LoopSettings arg_3C45_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3C45_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3C45_13 = false;
             bool arg_3C45_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3C40_0 = array;
             int arg_3C40_1 = 0;
             AnimInsCriteria arg_3C3B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_3C36_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_3C40_0[arg_3C40_1] = new AnimationInstruction(arg_3C3B_0, new AnimInsEvent(arg_3C36_0, array2));
             arg_3C4A_0[arg_3C4A_1] = new Animation(arg_3C45_0, arg_3C45_1, arg_3C45_2, arg_3C45_3, arg_3C45_4, arg_3C45_5, arg_3C45_6, arg_3C45_7, arg_3C45_8, arg_3C45_9, arg_3C45_10, arg_3C45_11, arg_3C45_12, arg_3C45_13, arg_3C45_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.NormalCaveSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignCaveBounce"), new Vector2(12f, 23f), 4, 1, 21, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/SignCaveBounce"), new Vector2(12f, 23f), 5, 6, 21, 27, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_3E11_0 = xARC.dixAnimations;
             ushort arg_3E11_1 = 2;
             ushort arg_3E0C_0 = 2;
             byte arg_3E0C_1 = 0;
             Texture2D arg_3E0C_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/SignCaveBounce");
             Vector2 arg_3E0C_3 = new Vector2(12f, 23f);
             int arg_3E0C_4 = 6;
             int arg_3E0C_5 = 6;
             int arg_3E0C_6 = 21;
             int arg_3E0C_7 = 27;
             int arg_3E0C_8 = 0;
             int arg_3E0C_9 = 0;
             int arg_3E0C_10 = 6;
             Animation.LoopSettings arg_3E0C_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3E0C_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3E0C_13 = false;
             bool arg_3E0C_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3E07_0 = array;
             int arg_3E07_1 = 0;
             AnimInsCriteria arg_3E02_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_3DFD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_3E07_0[arg_3E07_1] = new AnimationInstruction(arg_3E02_0, new AnimInsEvent(arg_3DFD_0, array2));
             arg_3E11_0[arg_3E11_1] = new Animation(arg_3E0C_0, arg_3E0C_1, arg_3E0C_2, arg_3E0C_3, arg_3E0C_4, arg_3E0C_5, arg_3E0C_6, arg_3E0C_7, arg_3E0C_8, arg_3E0C_9, arg_3E0C_10, arg_3E0C_11, arg_3E0C_12, arg_3E0C_13, arg_3E0C_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.HalloweenForestSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/SignBounce"), new Vector2(12f, 23f), 4, 1, 21, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/SignBounce"), new Vector2(12f, 23f), 5, 6, 21, 27, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_3FD8_0 = xARC.dixAnimations;
             ushort arg_3FD8_1 = 2;
             ushort arg_3FD3_0 = 2;
             byte arg_3FD3_1 = 0;
             Texture2D arg_3FD3_2 = Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/SignBounce");
             Vector2 arg_3FD3_3 = new Vector2(12f, 23f);
             int arg_3FD3_4 = 6;
             int arg_3FD3_5 = 6;
             int arg_3FD3_6 = 21;
             int arg_3FD3_7 = 27;
             int arg_3FD3_8 = 0;
             int arg_3FD3_9 = 0;
             int arg_3FD3_10 = 6;
             Animation.LoopSettings arg_3FD3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_3FD3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_3FD3_13 = false;
             bool arg_3FD3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_3FCE_0 = array;
             int arg_3FCE_1 = 0;
             AnimInsCriteria arg_3FC9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_3FC4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_3FCE_0[arg_3FCE_1] = new AnimationInstruction(arg_3FC9_0, new AnimInsEvent(arg_3FC4_0, array2));
             arg_3FD8_0[arg_3FD8_1] = new Animation(arg_3FD3_0, arg_3FD3_1, arg_3FD3_2, arg_3FD3_3, arg_3FD3_4, arg_3FD3_5, arg_3FD3_6, arg_3FD3_7, arg_3FD3_8, arg_3FD3_9, arg_3FD3_10, arg_3FD3_11, arg_3FD3_12, arg_3FD3_13, arg_3FD3_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FlyingTempleSign01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ancient Temple/SignBounce"), new Vector2(10f, 23f), 4, 1, 20, 26, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Ancient Temple/SignBounce"), new Vector2(10f, 23f), 5, 6, 20, 26, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_419F_0 = xARC.dixAnimations;
             ushort arg_419F_1 = 2;
             ushort arg_419A_0 = 2;
             byte arg_419A_1 = 0;
             Texture2D arg_419A_2 = Content.Load<Texture2D>("Sprites/Environment/Ancient Temple/SignBounce");
             Vector2 arg_419A_3 = new Vector2(10f, 23f);
             int arg_419A_4 = 6;
             int arg_419A_5 = 6;
             int arg_419A_6 = 20;
             int arg_419A_7 = 26;
             int arg_419A_8 = 0;
             int arg_419A_9 = 0;
             int arg_419A_10 = 6;
             Animation.LoopSettings arg_419A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_419A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_419A_13 = false;
             bool arg_419A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_4195_0 = array;
             int arg_4195_1 = 0;
             AnimInsCriteria arg_4190_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_418B_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_4195_0[arg_4195_1] = new AnimationInstruction(arg_4190_0, new AnimInsEvent(arg_418B_0, array2));
             arg_419F_0[arg_419F_1] = new Animation(arg_419A_0, arg_419A_1, arg_419A_2, arg_419A_3, arg_419A_4, arg_419A_5, arg_419A_6, arg_419A_7, arg_419A_8, arg_419A_9, arg_419A_10, arg_419A_11, arg_419A_12, arg_419A_13, arg_419A_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GreenForestSign02)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Forest/Sign02Bounce"), new Vector2(18f, 39f), 4, 1, 32, 43, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             Dictionary<ushort, Animation> arg_42E8_0 = xARC.dixAnimations;
             ushort arg_42E8_1 = 1;
             ushort arg_42E3_0 = 1;
             byte arg_42E3_1 = 0;
             Texture2D arg_42E3_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/Sign02Bounce");
             Vector2 arg_42E3_3 = new Vector2(18f, 39f);
             int arg_42E3_4 = 5;
             int arg_42E3_5 = 6;
             int arg_42E3_6 = 32;
             int arg_42E3_7 = 43;
             int arg_42E3_8 = 0;
             int arg_42E3_9 = 0;
             int arg_42E3_10 = 6;
             Animation.LoopSettings arg_42E3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_42E3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_42E3_13 = false;
             bool arg_42E3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_42DE_0 = array;
             int arg_42DE_1 = 0;
             AnimInsCriteria arg_42D9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_42D4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_42DE_0[arg_42DE_1] = new AnimationInstruction(arg_42D9_0, new AnimInsEvent(arg_42D4_0, array2));
             arg_42E8_0[arg_42E8_1] = new Animation(arg_42E3_0, arg_42E3_1, arg_42E3_2, arg_42E3_3, arg_42E3_4, arg_42E3_5, arg_42E3_6, arg_42E3_7, arg_42E3_8, arg_42E3_9, arg_42E3_10, arg_42E3_11, arg_42E3_12, arg_42E3_13, arg_42E3_14, array);
             Dictionary<ushort, Animation> arg_435B_0 = xARC.dixAnimations;
             ushort arg_435B_1 = 2;
             ushort arg_4356_0 = 2;
             byte arg_4356_1 = 0;
             Texture2D arg_4356_2 = Content.Load<Texture2D>("Sprites/Environment/Forest/Sign02Bounce");
             Vector2 arg_4356_3 = new Vector2(18f, 39f);
             int arg_4356_4 = 6;
             int arg_4356_5 = 6;
             int arg_4356_6 = 32;
             int arg_4356_7 = 43;
             int arg_4356_8 = 0;
             int arg_4356_9 = 0;
             int arg_4356_10 = 6;
             Animation.LoopSettings arg_4356_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_4356_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_4356_13 = false;
             bool arg_4356_14 = false;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_4351_0 = array;
             int arg_4351_1 = 0;
             AnimInsCriteria arg_434C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_4347_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_4351_0[arg_4351_1] = new AnimationInstruction(arg_434C_0, new AnimInsEvent(arg_4347_0, array2));
             arg_435B_0[arg_435B_1] = new Animation(arg_4356_0, arg_4356_1, arg_4356_2, arg_4356_3, arg_4356_4, arg_4356_5, arg_4356_6, arg_4356_7, arg_4356_8, arg_4356_9, arg_4356_10, arg_4356_11, arg_4356_12, arg_4356_13, arg_4356_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.RockBreak)
         {
             Animation anim58 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone012_EvergrindWest/RockBreak"), new Vector2(49f, 33f), 4, 10, 92, 62, 92, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(anim58.iID, anim58);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhack)
         {
             Animation anim59 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/DeathEffects/Bush"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim59.iID, anim59);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhackOrange)
         {
             Animation anim60 = new Animation(0, 0, Content.Load<Texture2D>("Effects/DeathEffects/Bush_orange"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim60.iID, anim60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhackAutumn)
         {
             Animation anim61 = new Animation(0, 0, Content.Load<Texture2D>("Effects/DeathEffects/Bush_west"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim61.iID, anim61);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BushWhackWinter)
         {
             Animation anim62 = new Animation(0, 0, Content.Load<Texture2D>("Effects/DeathEffects/Bush_winter"), new Vector2(20f, 18f), 4, 13, 39, 30, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim62.iID, anim62);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.TreasureX)
         {
             Animation anim63 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Misc/X/X"), new Vector2(11f, 12f), 4, 10, 22, 23, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim63.iID, anim63);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterLeafRings)
         {
             Animation anim64 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/Leaves/cirklar2"), new Vector2(9f, 11f), 5, 7, 19, 21, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.6f;
             xARC.dixAnimations.Add(anim64.iID, anim64);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Group01)
         {
             Animation anim65 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/AmbientE"), Vector2.Zero, 5, 10, 35, 32, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim65.iID, anim65);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Group02)
         {
             Animation anim66 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/AmbientF"), Vector2.Zero, 5, 10, 40, 17, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim66.iID, anim66);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Group03)
         {
             Animation anim67 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Water/AmbientG"), Vector2.Zero, 5, 10, 48, 19, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim67.iID, anim67);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Halloween_E)
         {
             Animation anim68 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/AmbientE"), Vector2.Zero, 7, 10, 35, 32, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim68.iID, anim68);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Halloween_F)
         {
             Animation anim69 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/AmbientF"), Vector2.Zero, 7, 10, 40, 17, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim69.iID, anim69);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Water_Sparkles_Halloween_G)
         {
             Animation anim70 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/AmbientG"), Vector2.Zero, 7, 10, 48, 19, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim70.iID, anim70);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_SmallA)
         {
             Animation anim71 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/SmallA"), new Vector2(3f, 9f), 4, 8, 6, 12, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight = new DynamicLight();
             xLight.xRenderComponent.xTransform = this.xTransform;
             xLight.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -7f);
             xLight.SetScale(0.09f);
             xLight.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight.fFlicker = 0.3f;
             xLight.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight);
             xARC.dixAnimations.Add(anim71.iID, anim71);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_SmallB)
         {
             Animation anim72 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/SmallB"), new Vector2(3f, 11f), 4, 8, 6, 14, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight2 = new DynamicLight();
             xLight2.xRenderComponent.xTransform = this.xTransform;
             xLight2.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight2.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -9f);
             xLight2.SetScale(0.09f);
             xLight2.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight2.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight2.fFlicker = 0.3f;
             xLight2.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight2);
             xARC.dixAnimations.Add(anim72.iID, anim72);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_MidA)
         {
             Animation anim73 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/MidA"), new Vector2(3f, 12f), 4, 8, 7, 16, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight3 = new DynamicLight();
             xLight3.xRenderComponent.xTransform = this.xTransform;
             xLight3.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight3.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -6f);
             xLight3.SetScale(0.11f);
             xLight3.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight3.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight3.fFlicker = 0.3f;
             xLight3.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight3);
             xARC.dixAnimations.Add(anim73.iID, anim73);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_MidB)
         {
             Animation anim74 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/MidB"), new Vector2(3f, 11f), 4, 8, 7, 15, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight4 = new DynamicLight();
             xLight4.xRenderComponent.xTransform = this.xTransform;
             xLight4.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight4.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -5f);
             xLight4.SetScale(0.11f);
             xLight4.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight4.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight4.fFlicker = 0.3f;
             xLight4.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight4);
             xARC.dixAnimations.Add(anim74.iID, anim74);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_MidC)
         {
             Animation anim75 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/MidC"), new Vector2(3f, 14f), 4, 8, 7, 18, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight5 = new DynamicLight();
             xLight5.xRenderComponent.xTransform = this.xTransform;
             xLight5.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight5.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -8f);
             xLight5.SetScale(0.11f);
             xLight5.xMountObject = new EntityShell(this.xTransform.v2Pos);
             xLight5.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight5.fFlicker = 0.3f;
             xLight5.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight5);
             xARC.dixAnimations.Add(anim75.iID, anim75);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_BigA)
         {
             Animation anim76 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Candles/BigA"), new Vector2(4f, 18f), 4, 8, 9, 22, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             DynamicLight xLight6 = new DynamicLight();
             xLight6.xRenderComponent.xTransform = this.xTransform;
             xLight6.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Program.GetTheGame().xRenderMaster.dstxLightSources["OmniLightRad100"], new Vector2(100f, 100f), 4, 1, 200, 200, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xLight6.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -12f);
             xLight6.SetScale(0.14f);
             xLight6.enDestructionType = DynamicLight.DestructionType.Flash;
             xLight6.fFlicker = 0.3f;
             xLight6.iFlickerInterval = 15;
             Program.GetTheGame()._DynamicLight_CreateDynamicLight(xLight6);
             xARC.dixAnimations.Add(anim76.iID, anim76);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Stuff_Candle_Flame)
         {
             Animation anim77 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/candle_flame"), new Vector2(4f, 9f), 4, 8, 9, 10, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim77.iID, anim77);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.CrateBreak)
         {
             ushort arg_5062_0 = 0;
             byte arg_5062_1 = 0;
             Texture2D arg_5062_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Crate/CrateBreak");
             Vector2 arg_5062_3 = new Vector2(39f, 27f);
             int arg_5062_4 = 5;
             int arg_5062_5 = 6;
             int arg_5062_6 = 78;
             int arg_5062_7 = 44;
             int arg_5062_8 = 0;
             int arg_5062_9 = 0;
             int arg_5062_10 = 6;
             Animation.LoopSettings arg_5062_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_5062_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_5062_13 = false;
             bool arg_5062_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_4FC9_0 = array;
             int arg_4FC9_1 = 0;
             AnimInsCriteria arg_4FC4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_4FBF_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_4FC9_0[arg_4FC9_1] = new AnimationInstruction(arg_4FC4_0, new AnimInsEvent(arg_4FBF_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_505D_0 = array;
             int arg_505D_1 = 2;
             AnimInsCriteria arg_5058_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_5053_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_505D_0[arg_505D_1] = new AnimationInstruction(arg_5058_0, new AnimInsEvent(arg_5053_0, array2));
             Animation anim78 = new Animation(arg_5062_0, arg_5062_1, arg_5062_2, arg_5062_3, arg_5062_4, arg_5062_5, arg_5062_6, arg_5062_7, arg_5062_8, arg_5062_9, arg_5062_10, arg_5062_11, arg_5062_12, arg_5062_13, arg_5062_14, array);
             xARC.dixAnimations.Add(anim78.iID, anim78);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.CrateBreak_Snowland)
         {
             ushort arg_51A2_0 = 0;
             byte arg_51A2_1 = 0;
             Texture2D arg_51A2_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Crate/CrateBreak_snowland");
             Vector2 arg_51A2_3 = new Vector2(39f, 27f);
             int arg_51A2_4 = 5;
             int arg_51A2_5 = 6;
             int arg_51A2_6 = 78;
             int arg_51A2_7 = 44;
             int arg_51A2_8 = 0;
             int arg_51A2_9 = 0;
             int arg_51A2_10 = 6;
             Animation.LoopSettings arg_51A2_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_51A2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_51A2_13 = false;
             bool arg_51A2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_5109_0 = array;
             int arg_5109_1 = 0;
             AnimInsCriteria arg_5104_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_50FF_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_5109_0[arg_5109_1] = new AnimationInstruction(arg_5104_0, new AnimInsEvent(arg_50FF_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_519D_0 = array;
             int arg_519D_1 = 2;
             AnimInsCriteria arg_5198_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_5193_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_519D_0[arg_519D_1] = new AnimationInstruction(arg_5198_0, new AnimInsEvent(arg_5193_0, array2));
             Animation anim79 = new Animation(arg_51A2_0, arg_51A2_1, arg_51A2_2, arg_51A2_3, arg_51A2_4, arg_51A2_5, arg_51A2_6, arg_51A2_7, arg_51A2_8, arg_51A2_9, arg_51A2_10, arg_51A2_11, arg_51A2_12, arg_51A2_13, arg_51A2_14, array);
             xARC.dixAnimations.Add(anim79.iID, anim79);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BarrelBreak)
         {
             ushort arg_52E4_0 = 0;
             byte arg_52E4_1 = 0;
             Texture2D arg_52E4_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Barrel/BarrelBreak");
             Vector2 arg_52E4_3 = new Vector2(27f, 32f);
             int arg_52E4_4 = 4;
             int arg_52E4_5 = 12;
             int arg_52E4_6 = 52;
             int arg_52E4_7 = 51;
             int arg_52E4_8 = 0;
             int arg_52E4_9 = 0;
             int arg_52E4_10 = 12;
             Animation.LoopSettings arg_52E4_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_52E4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_52E4_13 = false;
             bool arg_52E4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_524B_0 = array;
             int arg_524B_1 = 0;
             AnimInsCriteria arg_5246_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_5241_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_524B_0[arg_524B_1] = new AnimationInstruction(arg_5246_0, new AnimInsEvent(arg_5241_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_52DF_0 = array;
             int arg_52DF_1 = 2;
             AnimInsCriteria arg_52DA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_52D5_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_52DF_0[arg_52DF_1] = new AnimationInstruction(arg_52DA_0, new AnimInsEvent(arg_52D5_0, array2));
             Animation anim80 = new Animation(arg_52E4_0, arg_52E4_1, arg_52E4_2, arg_52E4_3, arg_52E4_4, arg_52E4_5, arg_52E4_6, arg_52E4_7, arg_52E4_8, arg_52E4_9, arg_52E4_10, arg_52E4_11, arg_52E4_12, arg_52E4_13, arg_52E4_14, array);
             xARC.dixAnimations.Add(anim80.iID, anim80);
             xARC.fVirtualHeight -= 15f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BarrelBreak_Snowland)
         {
             ushort arg_5436_0 = 0;
             byte arg_5436_1 = 0;
             Texture2D arg_5436_2 = GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/Barrel/BarrelBreak_snowland");
             Vector2 arg_5436_3 = new Vector2(27f, 32f);
             int arg_5436_4 = 4;
             int arg_5436_5 = 12;
             int arg_5436_6 = 52;
             int arg_5436_7 = 51;
             int arg_5436_8 = 0;
             int arg_5436_9 = 0;
             int arg_5436_10 = 12;
             Animation.LoopSettings arg_5436_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_5436_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_5436_13 = false;
             bool arg_5436_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_539D_0 = array;
             int arg_539D_1 = 0;
             AnimInsCriteria arg_5398_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_5393_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_539D_0[arg_539D_1] = new AnimationInstruction(arg_5398_0, new AnimInsEvent(arg_5393_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_5431_0 = array;
             int arg_5431_1 = 2;
             AnimInsCriteria arg_542C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_5427_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_5431_0[arg_5431_1] = new AnimationInstruction(arg_542C_0, new AnimInsEvent(arg_5427_0, array2));
             Animation anim81 = new Animation(arg_5436_0, arg_5436_1, arg_5436_2, arg_5436_3, arg_5436_4, arg_5436_5, arg_5436_6, arg_5436_7, arg_5436_8, arg_5436_9, arg_5436_10, arg_5436_11, arg_5436_12, arg_5436_13, arg_5436_14, array);
             xARC.dixAnimations.Add(anim81.iID, anim81);
             xARC.fVirtualHeight -= 15f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FlyingTempleCrystalBreak)
         {
             Animation anim82 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Crystal/Dead"), new Vector2(34f, 33f), 4, 11, 66, 56, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim82.iID, anim82);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ThornDisappear)
         {
             Animation anim83 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 3, 7, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             anim83.bReversePlayback = true;
             xARC.dixAnimations.Add(anim83.iID, anim83);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ThornDisappear_Summer)
         {
             Animation anim84 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Appear"), new Vector2(19f, 29f), 3, 7, 34, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             anim84.bReversePlayback = true;
             xARC.dixAnimations.Add(anim84.iID, anim84);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ThornDisappear_Halloween)
         {
             Animation anim85 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 3, 7, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             anim85.bReversePlayback = true;
             xARC.dixAnimations.Add(anim85.iID, anim85);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.JarBreak)
         {
             Animation anim86 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/JarBreak"), new Vector2(28f, 28f), 4, 14, 57, 38, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim86.iID, anim86);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.JarBreak_Snowland)
         {
             Animation anim87 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/JarBreak_snowland"), new Vector2(28f, 28f), 4, 14, 57, 38, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim87.iID, anim87);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.JarFlyingBreak)
         {
             Animation anim88 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Environment/Containers/JarBreak_flying"), new Vector2(27f, 24f), 4, 9, 53, 31, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim88.iID, anim88);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.GhostTears)
         {
             Animation anim89 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Ghost/Flavor/Tears"), new Vector2(19f, 27f), 4, 20, 38, 30, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim89.iID, anim89);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterA_NoLoop)
         {
             Animation anim90 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterA"), new Vector2(5f, 5f), 4, 8, 11, 11, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     12f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1125f
                 }))
             });
             xARC.dixAnimations.Add(anim90.iID, anim90);
             xARC.xCamera = new Camera();
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterA)
         {
             Animation anim91 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterA"), new Vector2(5f, 5f), 4, 8, 11, 11, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim91.iID, anim91);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterB)
         {
             Animation anim92 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterB"), new Vector2(6f, 6f), 4, 8, 13, 13, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim92.iID, anim92);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Death_PlayerDeathGlitterC)
         {
             Animation anim93 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hero Death/Glitter/GlitterC"), new Vector2(6f, 6f), 4, 16, 13, 13, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim93.iID, anim93);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.LightShift_ReassembleGlitter)
         {
             Animation anim94 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Mid"), new Vector2(4f, 4f), 5, 5, 9, 9, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim94.iID, anim94);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterA)
         {
             Animation anim95 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Big"), new Vector2(5f, 5f), 5, 5, 11, 11, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.dixAnimations.Add(anim95.iID, anim95);
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterB)
         {
             Animation anim96 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Mid"), new Vector2(4f, 4f), 5, 5, 9, 9, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim96.iID, anim96);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterC)
         {
             Animation anim97 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Small"), new Vector2(3f, 3f), 5, 5, 5, 5, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim97.iID, anim97);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterA_GuiLayer)
         {
             Animation anim98 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Big"), new Vector2(5f, 5f), 5, 5, 11, 11, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.dixAnimations.Add(anim98.iID, anim98);
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.xCamera = new Camera();
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterB_GuiLayer)
         {
             Animation anim99 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Mid"), new Vector2(4f, 4f), 5, 5, 9, 9, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim99.iID, anim99);
             xARC.xCamera = new Camera();
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_GlitterC_GuiLayer)
         {
             Animation anim100 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Small"), new Vector2(3f, 3f), 5, 5, 5, 5, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     30f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     50f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.fAlpha = 0.8f;
             this.fVirtualHeightMod = -5f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim100.iID, anim100);
             xARC.xCamera = new Camera();
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Card_Appear)
         {
             Animation anim101 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Items/Card/Effect"), new Vector2(19f, 19f), 4, 6, 37, 37, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.v2OffsetRenderPos = new Vector2(0f, -15f);
             xARC.dixAnimations.Add(anim101.iID, anim101);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Glitter_Small)
         {
             Animation anim102 = new Animation(0, 0, Content.Load<Texture2D>("Items/Card/Glitter/Small"), new Vector2(3f, 3f), 5, 5, 5, 5, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fScale = 0.75f;
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim102.iID, anim102);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Glitter_Small_Naniva)
         {
             Animation anim103 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Glitter"), new Vector2(4f, 4f), 5, 5, 7, 7, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fAlpha = 0.8f;
             xARC.dixAnimations.Add(anim103.iID, anim103);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_NextLevel)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txCircleRad25, new Vector2(25f, 25f), 4, 1, 50, 50, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.06f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.075f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.14f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     -0.03f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     6f
                 }))
             });
             xARC.fScale = 0.1f;
             xARC.fAlpha = 0.35f;
             this.fVirtualHeightMod = 2f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -10f);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_NextLevelV2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txCircleRad25, new Vector2(25f, 25f), 4, 1, 50, 50, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.065f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.075f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.12f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     -0.03f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     6f
                 }))
             });
             xARC.fScale = 0.1f;
             xARC.fAlpha = 0.35f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Ice)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Ice)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Ice/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Fire)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Fire)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Fire/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Earth)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Earth)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Earth/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Air)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Air)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Air/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_Balls_Weapon)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level1"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level2"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level3"), new Vector2(20f, 30f), 4, 8, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Weapon)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/Charge/Charge Effects/Weapon/Level4"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BuffEffectEliteEnemy)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Elite Aura/Aura"), new Vector2(20f, 30f), 4, 12, 36, 40, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PetAura)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Pet Aura/Aura"), new Vector2(17f, 10f), 4, 12, 33, 19, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargeTarget_Small)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall"), new Vector2(16f, 16f), 4, 1, 32, 32, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.07f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall"), new Vector2(16f, 16f), 4, 1, 32, 32, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall"), new Vector2(16f, 16f), 4, 1, 32, 32, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetMedium"), new Vector2(19f, 19f), 4, 1, 38, 38, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 }))
             });
             xARC.fAlpha = 0f;
             xARC.fScale = 0.25f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChargePath_Small)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0f,
                     0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.07f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0f,
                     0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     5f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Throw/TrailSmall"), new Vector2(4f, 1f), 4, 1, 9, 1, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fAlpha = 0f;
             xARC.v2Scale = new Vector2(1f, 0.25f);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChimneySmoke)
         {
             int iVersion = Program.GetTheGame().randomInVisual.Next(6);
             if (iVersion < 3)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeA/Start"), new Vector2(20f, 17f), 4, 7, 39, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeA/Idle"), new Vector2(20f, 17f), 4, 8, 39, 32, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else if (iVersion < 5)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeB/Start"), new Vector2(20f, 17f), 4, 7, 40, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeB/Idle"), new Vector2(20f, 17f), 4, 8, 40, 32, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeC/Start"), new Vector2(13f, 14f), 4, 7, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/TypeC/Idle"), new Vector2(13f, 14f), 4, 8, 25, 25, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             xARC.fScale = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChimneySmokeWitch)
         {
             int iVersion2 = Program.GetTheGame().randomInVisual.Next(6);
             if (iVersion2 < 3)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeA/Start"), new Vector2(20f, 17f), 4, 7, 39, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeA/Idle"), new Vector2(20f, 17f), 4, 8, 39, 32, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else if (iVersion2 < 5)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeB/Start"), new Vector2(20f, 17f), 4, 7, 40, 32, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeB/Idle"), new Vector2(16f, 14f), 4, 8, 30, 24, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeC/Start"), new Vector2(13f, 14f), 4, 7, 25, 25, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Halloween/TypeC/Idle"), new Vector2(13f, 14f), 4, 8, 25, 25, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.fScale = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ChimneySmokeEvergrind)
         {
             int iVersion3 = Program.GetTheGame().randomInVisual.Next(6);
             if (iVersion3 < 7)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Evergrind/TypeA/Start"), new Vector2(14f, 12f), 4, 7, 29, 24, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
                 {
                     new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                     {
                         1f
                     }))
                 });
                 xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Effects/Ambient/Chimney Smoke/Evergrind/TypeA/Idle"), new Vector2(14f, 12f), 4, 8, 29, 24, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             }
             xARC.fScale = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Confetti01)
         {
             int iRan = CAS.RandomInVisual.Next(12);
             if (iRan < 2)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Blue"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 4)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Green"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 6)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Pink"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 8)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Red"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 10)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Yellow"), new Vector2(2f, 2f), 4, 5, 5, 5, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else if (iRan < 12)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Confetti/Banana/yellow"), new Vector2(2f, 2f), 4, 6, 6, 12, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fScale = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.GUI;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ArenaCrowd)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Audience"), new Vector2(0f, 0f), 5, 30, 100, 100, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.SwitchAnimation(0);
             xARC.fPassedTicks = (float)CAS.RandomInVisual.Next(150);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.HalloweenBat)
         {
             Animation anim104 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Bat/BatIdle"), new Vector2(10f, 7f), 4, 6, 21, 13, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim104.iID, anim104);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Crow)
         {
             Animation anim105 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Bat/BatIdle"), new Vector2(10f, 7f), 3, 6, 21, 13, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim105.iID, anim105);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Brown)
         {
             Animation anim106 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Brown"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim106.iID, anim106);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Green)
         {
             Animation anim107 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Green"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim107.iID, anim107);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_SpringGreen)
         {
             Animation anim108 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Particle Leaf/Falling"), new Vector2(9f, 6f), 4, 18, 15, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim108.iID, anim108);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Orange)
         {
             Animation anim109 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Orange"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim109.iID, anim109);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FallingLeaf_Yellow)
         {
             Animation anim110 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Ambient/Falling Leaf/Yellow"), new Vector2(9f, 6f), 4, 18, 14, 8, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim110.iID, anim110);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Leaf_Tumbling)
         {
             Animation anim111 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Particle Leaf/Rolling"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim111.iID, anim111);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.Leaf_Tumbling_AboveSorted)
         {
             Animation anim112 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Santa Fae/Navi/Particle Leaf/Rolling"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim112.iID, anim112);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BurningFire01)
         {
             Animation anim113 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Fire/TypeA"), new Vector2(8f, 16f), 4, 5, 15, 17, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim113.iID, anim113);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.BurningParticle)
         {
             Animation anim114 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/Burn/Burn"), new Vector2(3f, 19f), 4, 15, 8, 21, 0, 0, 15, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 5f;
             xARC.dixAnimations.Add(anim114.iID, anim114);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.ClockAnimation01)
         {
             ushort arg_8271_0 = 0;
             byte arg_8271_1 = 0;
             Texture2D arg_8271_2 = Content.Load<Texture2D>("Effects/Ambient/Clock/Idle");
             Vector2 arg_8271_3 = new Vector2(0f, 42f);
             int arg_8271_4 = 6;
             int arg_8271_5 = 14;
             int arg_8271_6 = 20;
             int arg_8271_7 = 48;
             int arg_8271_8 = 0;
             int arg_8271_9 = 0;
             int arg_8271_10 = 14;
             Animation.LoopSettings arg_8271_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_8271_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_8271_13 = false;
             bool arg_8271_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_8228_0 = array;
             int arg_8228_1 = 0;
             AnimInsCriteria arg_8223_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_821E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_821E_1 = "Clock";
             float[] array2 = new float[1];
             arg_8228_0[arg_8228_1] = new AnimationInstruction(arg_8223_0, new AnimInsEvent(arg_821E_0, arg_821E_1, array2));
             AnimationInstruction[] arg_826C_0 = array;
             int arg_826C_1 = 1;
             AnimInsCriteria arg_8267_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 8f
             });
             AnimInsEvent.EventType arg_8262_0 = AnimInsEvent.EventType.PlaySound;
             string arg_8262_1 = "Clock";
             array2 = new float[1];
             arg_826C_0[arg_826C_1] = new AnimationInstruction(arg_8267_0, new AnimInsEvent(arg_8262_0, arg_8262_1, array2));
             Animation anim115 = new Animation(arg_8271_0, arg_8271_1, arg_8271_2, arg_8271_3, arg_8271_4, arg_8271_5, arg_8271_6, arg_8271_7, arg_8271_8, arg_8271_9, arg_8271_10, arg_8271_11, arg_8271_12, arg_8271_13, arg_8271_14, array);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim115.iID, anim115);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed01)
         {
             Animation anim116 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/01"), new Vector2(9f, 4f), 8, 10, 19, 9, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim116.iID, anim116);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed01_Variant)
         {
             Animation anim117 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/01"), new Vector2(9f, 4f), 8, 10, 19, 9, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             anim117.enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim117.iID, anim117);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed02)
         {
             Animation anim118 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/02"), new Vector2(5f, 3f), 7, 10, 12, 8, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim118.iID, anim118);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed02_Variant)
         {
             Animation anim119 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/02"), new Vector2(5f, 3f), 7, 10, 12, 8, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             anim119.enSpriteEffect = SpriteEffects.FlipHorizontally;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim119.iID, anim119);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed03)
         {
             ushort arg_851A_0 = 0;
             byte arg_851A_1 = 0;
             Texture2D arg_851A_2 = Content.Load<Texture2D>("Effects/Ambient/Waterdetails/03");
             Vector2 arg_851A_3 = new Vector2(3f, 2f);
             int arg_851A_4 = 7;
             int arg_851A_5 = 10;
             int arg_851A_6 = 11;
             int arg_851A_7 = 5;
             int arg_851A_8 = 0;
             int arg_851A_9 = 0;
             int arg_851A_10 = 14;
             Animation.LoopSettings arg_851A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_851A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_851A_13 = false;
             bool arg_851A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_84EA_0 = array;
             int arg_84EA_1 = 0;
             AnimInsCriteria arg_84E5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_84E0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 60f;
             arg_84EA_0[arg_84EA_1] = new AnimationInstruction(arg_84E5_0, new AnimInsEvent(arg_84E0_0, array2));
             AnimationInstruction[] arg_8515_0 = array;
             int arg_8515_1 = 1;
             AnimInsCriteria arg_8510_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_850B_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_8515_0[arg_8515_1] = new AnimationInstruction(arg_8510_0, new AnimInsEvent(arg_850B_0, array2));
             Animation anim120 = new Animation(arg_851A_0, arg_851A_1, arg_851A_2, arg_851A_3, arg_851A_4, arg_851A_5, arg_851A_6, arg_851A_7, arg_851A_8, arg_851A_9, arg_851A_10, arg_851A_11, arg_851A_12, arg_851A_13, arg_851A_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim120.iID, anim120);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterDetailed03_Variant)
         {
             ushort arg_8607_0 = 0;
             byte arg_8607_1 = 0;
             Texture2D arg_8607_2 = Content.Load<Texture2D>("Effects/Ambient/Waterdetails/03");
             Vector2 arg_8607_3 = new Vector2(3f, 2f);
             int arg_8607_4 = 7;
             int arg_8607_5 = 10;
             int arg_8607_6 = 11;
             int arg_8607_7 = 5;
             int arg_8607_8 = 0;
             int arg_8607_9 = 0;
             int arg_8607_10 = 14;
             Animation.LoopSettings arg_8607_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_8607_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_8607_13 = false;
             bool arg_8607_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_85D7_0 = array;
             int arg_85D7_1 = 0;
             AnimInsCriteria arg_85D2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_85CD_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 60f;
             arg_85D7_0[arg_85D7_1] = new AnimationInstruction(arg_85D2_0, new AnimInsEvent(arg_85CD_0, array2));
             AnimationInstruction[] arg_8602_0 = array;
             int arg_8602_1 = 1;
             AnimInsCriteria arg_85FD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_85F8_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_8602_0[arg_8602_1] = new AnimationInstruction(arg_85FD_0, new AnimInsEvent(arg_85F8_0, array2));
             Animation anim121 = new Animation(arg_8607_0, arg_8607_1, arg_8607_2, arg_8607_3, arg_8607_4, arg_8607_5, arg_8607_6, arg_8607_7, arg_8607_8, arg_8607_9, arg_8607_10, arg_8607_11, arg_8607_12, arg_8607_13, arg_8607_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             anim121.enSpriteEffect = SpriteEffects.FlipHorizontally;
             iFastForward = Program.GetTheGame().randomInVisual.Next(30);
             xARC.dixAnimations.Add(anim121.iID, anim121);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterRock01)
         {
             Animation anim122 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/Rock"), Vector2.Zero, 6, 10, 20, 18, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim122.iID, anim122);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterRock02)
         {
             Animation anim123 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterdetails/SmallRock"), Vector2.Zero, 6, 10, 17, 13, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim123.iID, anim123);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallStart)
         {
             Animation anim124 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/Start"), Vector2.Zero, 6, 2, 51, 10, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim124.iID, anim124);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallMid)
         {
             Animation anim125 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/Mid"), Vector2.Zero, 6, 7, 51, 21, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim125.iID, anim125);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallEnd)
         {
             Animation anim126 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/End"), Vector2.Zero, 6, 3, 53, 15, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim126.iID, anim126);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.WaterFallEndRings)
         {
             Animation anim127 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Ambient/Waterfall/Rings"), Vector2.Zero, 7, 10, 69, 17, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim127.iID, anim127);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_StoneBig)
         {
             Animation anim128 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/BigA"), new Vector2(17f, 22f), 6, 7, 34, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim128.iID, anim128);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/BigA"), new Vector2(17f, 22f), 4, 1, 34, 35, 204, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Disappear/BigA"), new Vector2(17f, 22f), 4, 7, 34, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall)
         {
             Animation anim129 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 6, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim129.iID, anim129);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 6, 1, 36, 35, 216, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Disappear/SmallA"), new Vector2(17f, 20f), 4, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmallVariant)
         {
             Animation anim130 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 6, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             anim130.enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(anim130.iID, anim130);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Appear/SmallA"), new Vector2(17f, 20f), 4, 1, 36, 35, 216, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Stone/Disappear/SmallA"), new Vector2(17f, 20f), 4, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_RootBig)
         {
             Animation anim131 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Root/Big"), new Vector2(14f, 31f), 6, 7, 30, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim131.iID, anim131);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Root/Big"), new Vector2(14f, 31f), 4, 1, 30, 35, 180, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Root/Big"), new Vector2(14f, 31f), 4, 7, 30, 35, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 30, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_BushA)
         {
             Animation anim132 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Bush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim132.iID, anim132);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Bush/Small"), new Vector2(17f, 38f), 4, 1, 34, 43, 170, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Bush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_BushAHalloween)
         {
             Animation anim133 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/HalloweenBush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim133.iID, anim133);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/HalloweenBush/Small"), new Vector2(17f, 38f), 4, 1, 34, 43, 170, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/HalloweenBush/Small"), new Vector2(17f, 38f), 4, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_ArcadeModeLaserfence)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/StartBlue"), new Vector2(10f, 35f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/IdleBlue"), new Vector2(10f, 35f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/EndBlue"), new Vector2(10f, 35f), 4, 3, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, RenderMaster.txNullTex, new Vector2(10f, 35f), 4, 1, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             StaticRenderComponent xHole = new StaticRenderComponent(Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Base"), new TransformComponent(v2Position));
             xHole.v2Offset = new Vector2(5f, 5f);
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(xHole);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_SpearFence)
         {
             Animation anim134 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Spear/Appear"), new Vector2(12f, 39f), 4, 9, 25, 51, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim134.iID, anim134);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Spear/Appear"), new Vector2(12f, 39f), 4, 1, 25, 51, 200, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Spear/Appear"), new Vector2(12f, 39f), 4, 3, 25, 51, 200, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 6, 6, 34, 43, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Blocks_Polka)
         {
             Animation anim135 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 6, 16, 39, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim135.iID, anim135);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 1, 16, 39, 96, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 6, 16, 39, 112, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Environment/Block/Polka/Appear"), new Vector2(5f, 34f), 4, 1, 16, 39, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FishingFloat)
         {
             this.bDestroyAtEnd = false;
             Animation anim136 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Air"), new Vector2(1f, 5f), 6, 1, 5, 8, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim136.iID, anim136);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Idle"), new Vector2(5f, 6f), 4, 1, 13, 11, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Twitch"), new Vector2(5f, 6f), 4, 6, 13, 11, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Float/Submerged"), new Vector2(5f, 5f), 4, 7, 13, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             });
             xARC.dixAnimations[4] = new Animation(4, 0, RenderMaster.txNullTex, new Vector2(17f, 20f), 4, 7, 36, 35, 0, 0, 22, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FishingSplashA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Splash/SplashA"), new Vector2(10f, 28f), 4, 8, 20, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.FishingSplashB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Fishing/Splash/SplashB"), new Vector2(15f, 28f), 4, 8, 29, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Gale)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Gale"), new Vector2(12f, 25f), 4, 17, 21, 29, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_GaleGlimmer)
         {
             Animation anim137 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/GaleGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim137.iID, anim137);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Attack)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Attack"), new Vector2(24f, 43f), 4, 17, 48, 56, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_AttackGlimmer)
         {
             Animation anim138 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/AttackGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim138.iID, anim138);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Defense)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Defense"), new Vector2(18f, 29f), 4, 17, 36, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_DefenseGlimmer)
         {
             Animation anim139 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/DefenseGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim139.iID, anim139);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_Spirit)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/Spirit"), new Vector2(22f, 27f), 4, 17, 45, 29, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.PotionEffect_SpiritGlimmer)
         {
             Animation anim140 = new Animation(0, 0, Content.Load<Texture2D>("Effects/PotionEffects/SpiritGlimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim140.iID, anim140);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.MagicBlackFade)
         {
             ushort arg_9D55_0 = 0;
             byte arg_9D55_1 = 0;
             Texture2D arg_9D55_2 = RenderMaster.txNoTex;
             Vector2 arg_9D55_3 = new Vector2(0f, 0f);
             int arg_9D55_4 = 4;
             int arg_9D55_5 = 1;
             int arg_9D55_6 = 1;
             int arg_9D55_7 = 1;
             int arg_9D55_8 = 0;
             int arg_9D55_9 = 0;
             int arg_9D55_10 = 1;
             Animation.LoopSettings arg_9D55_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9D55_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9D55_13 = false;
             bool arg_9D55_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_9D50_0 = array;
             int arg_9D50_1 = 0;
             AnimInsCriteria arg_9D4B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_9D46_0 = AnimInsEvent.EventType.SetAlpha;
             float[] array2 = new float[1];
             arg_9D50_0[arg_9D50_1] = new AnimationInstruction(arg_9D4B_0, new AnimInsEvent(arg_9D46_0, array2));
             Animation anim141 = new Animation(arg_9D55_0, arg_9D55_1, arg_9D55_2, arg_9D55_3, arg_9D55_4, arg_9D55_5, arg_9D55_6, arg_9D55_7, arg_9D55_8, arg_9D55_9, arg_9D55_10, arg_9D55_11, arg_9D55_12, arg_9D55_13, arg_9D55_14, array);
             xARC.fScale = 1f;
             xARC.cColor = Color.Black;
             xARC.dixAnimations.Add(anim141.iID, anim141);
             Dictionary<ushort, Animation> arg_9E9C_0 = xARC.dixAnimations;
             ushort arg_9E9C_1 = 1;
             ushort arg_9E97_0 = 1;
             byte arg_9E97_1 = 0;
             Texture2D arg_9E97_2 = RenderMaster.txNoTex;
             Vector2 arg_9E97_3 = new Vector2(0f, 0f);
             int arg_9E97_4 = 4;
             int arg_9E97_5 = 2;
             int arg_9E97_6 = 1020;
             int arg_9E97_7 = 810;
             int arg_9E97_8 = 0;
             int arg_9E97_9 = 0;
             int arg_9E97_10 = 1;
             Animation.LoopSettings arg_9E97_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9E97_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9E97_13 = false;
             bool arg_9E97_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_9DFE_0 = array;
             int arg_9DFE_1 = 0;
             AnimInsCriteria arg_9DF9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_9DF4_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_9DFE_0[arg_9DFE_1] = new AnimationInstruction(arg_9DF9_0, new AnimInsEvent(arg_9DF4_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 0.01f
             }));
             AnimationInstruction[] arg_9E92_0 = array;
             int arg_9E92_1 = 2;
             AnimInsCriteria arg_9E8D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_9E88_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_9E92_0[arg_9E92_1] = new AnimationInstruction(arg_9E8D_0, new AnimInsEvent(arg_9E88_0, array2));
             arg_9E9C_0[arg_9E9C_1] = new Animation(arg_9E97_0, arg_9E97_1, arg_9E97_2, arg_9E97_3, arg_9E97_4, arg_9E97_5, arg_9E97_6, arg_9E97_7, arg_9E97_8, arg_9E97_9, arg_9E97_10, arg_9E97_11, arg_9E97_12, arg_9E97_13, arg_9E97_14, array);
             Dictionary<ushort, Animation> arg_9FDB_0 = xARC.dixAnimations;
             ushort arg_9FDB_1 = 2;
             ushort arg_9FD6_0 = 2;
             byte arg_9FD6_1 = 0;
             Texture2D arg_9FD6_2 = RenderMaster.txNoTex;
             Vector2 arg_9FD6_3 = new Vector2(0f, 0f);
             int arg_9FD6_4 = 4;
             int arg_9FD6_5 = 2;
             int arg_9FD6_6 = 1020;
             int arg_9FD6_7 = 810;
             int arg_9FD6_8 = 0;
             int arg_9FD6_9 = 0;
             int arg_9FD6_10 = 1;
             Animation.LoopSettings arg_9FD6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_9FD6_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_9FD6_13 = false;
             bool arg_9FD6_14 = false;
             array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.8f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.01f
             }));
             AnimationInstruction[] arg_9FA5_0 = array;
             int arg_9FA5_1 = 2;
             AnimInsCriteria arg_9FA0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_9F9B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_9FA5_0[arg_9FA5_1] = new AnimationInstruction(arg_9FA0_0, new AnimInsEvent(arg_9F9B_0, array2));
             AnimationInstruction[] arg_9FD1_0 = array;
             int arg_9FD1_1 = 3;
             AnimInsCriteria arg_9FCC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_9FC7_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_9FD1_0[arg_9FD1_1] = new AnimationInstruction(arg_9FCC_0, new AnimInsEvent(arg_9FC7_0, array2));
             arg_9FDB_0[arg_9FDB_1] = new Animation(arg_9FD6_0, arg_9FD6_1, arg_9FD6_2, arg_9FD6_3, arg_9FD6_4, arg_9FD6_5, arg_9FD6_6, arg_9FD6_7, arg_9FD6_8, arg_9FD6_9, arg_9FD6_10, arg_9FD6_11, arg_9FD6_12, arg_9FD6_13, arg_9FD6_14, array);
             this.bDestroyAtEnd = false;
             xARC.fVirtualHeight = 1000f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.TotalBlackFade)
         {
             ushort arg_A05D_0 = 0;
             byte arg_A05D_1 = 0;
             Texture2D arg_A05D_2 = RenderMaster.txNoTex;
             Vector2 arg_A05D_3 = new Vector2(0f, 0f);
             int arg_A05D_4 = 4;
             int arg_A05D_5 = 1;
             int arg_A05D_6 = 1;
             int arg_A05D_7 = 1;
             int arg_A05D_8 = 0;
             int arg_A05D_9 = 0;
             int arg_A05D_10 = 1;
             Animation.LoopSettings arg_A05D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A05D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A05D_13 = false;
             bool arg_A05D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_A058_0 = array;
             int arg_A058_1 = 0;
             AnimInsCriteria arg_A053_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_A04E_0 = AnimInsEvent.EventType.SetAlpha;
             float[] array2 = new float[1];
             arg_A058_0[arg_A058_1] = new AnimationInstruction(arg_A053_0, new AnimInsEvent(arg_A04E_0, array2));
             Animation anim142 = new Animation(arg_A05D_0, arg_A05D_1, arg_A05D_2, arg_A05D_3, arg_A05D_4, arg_A05D_5, arg_A05D_6, arg_A05D_7, arg_A05D_8, arg_A05D_9, arg_A05D_10, arg_A05D_11, arg_A05D_12, arg_A05D_13, arg_A05D_14, array);
             xARC.fScale = 1f;
             xARC.cColor = Color.Black;
             xARC.dixAnimations.Add(anim142.iID, anim142);
             Dictionary<ushort, Animation> arg_A1A4_0 = xARC.dixAnimations;
             ushort arg_A1A4_1 = 0;
             ushort arg_A19F_0 = 0;
             byte arg_A19F_1 = 0;
             Texture2D arg_A19F_2 = RenderMaster.txNoTex;
             Vector2 arg_A19F_3 = new Vector2(0f, 0f);
             int arg_A19F_4 = 4;
             int arg_A19F_5 = 2;
             int arg_A19F_6 = 1020;
             int arg_A19F_7 = 810;
             int arg_A19F_8 = 0;
             int arg_A19F_9 = 0;
             int arg_A19F_10 = 1;
             Animation.LoopSettings arg_A19F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A19F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A19F_13 = false;
             bool arg_A19F_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_A106_0 = array;
             int arg_A106_1 = 0;
             AnimInsCriteria arg_A101_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A0FC_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_A106_0[arg_A106_1] = new AnimationInstruction(arg_A101_0, new AnimInsEvent(arg_A0FC_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 0.005f
             }));
             AnimationInstruction[] arg_A19A_0 = array;
             int arg_A19A_1 = 2;
             AnimInsCriteria arg_A195_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A190_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 200f;
             arg_A19A_0[arg_A19A_1] = new AnimationInstruction(arg_A195_0, new AnimInsEvent(arg_A190_0, array2));
             arg_A1A4_0[arg_A1A4_1] = new Animation(arg_A19F_0, arg_A19F_1, arg_A19F_2, arg_A19F_3, arg_A19F_4, arg_A19F_5, arg_A19F_6, arg_A19F_7, arg_A19F_8, arg_A19F_9, arg_A19F_10, arg_A19F_11, arg_A19F_12, arg_A19F_13, arg_A19F_14, array);
             Dictionary<ushort, Animation> arg_A2E3_0 = xARC.dixAnimations;
             ushort arg_A2E3_1 = 2;
             ushort arg_A2DE_0 = 2;
             byte arg_A2DE_1 = 0;
             Texture2D arg_A2DE_2 = RenderMaster.txNoTex;
             Vector2 arg_A2DE_3 = new Vector2(0f, 0f);
             int arg_A2DE_4 = 4;
             int arg_A2DE_5 = 2;
             int arg_A2DE_6 = 1020;
             int arg_A2DE_7 = 810;
             int arg_A2DE_8 = 0;
             int arg_A2DE_9 = 0;
             int arg_A2DE_10 = 1;
             Animation.LoopSettings arg_A2DE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A2DE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A2DE_13 = false;
             bool arg_A2DE_14 = false;
             array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.8f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.01f
             }));
             AnimationInstruction[] arg_A2AD_0 = array;
             int arg_A2AD_1 = 2;
             AnimInsCriteria arg_A2A8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A2A3_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_A2AD_0[arg_A2AD_1] = new AnimationInstruction(arg_A2A8_0, new AnimInsEvent(arg_A2A3_0, array2));
             AnimationInstruction[] arg_A2D9_0 = array;
             int arg_A2D9_1 = 3;
             AnimInsCriteria arg_A2D4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_A2CF_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_A2D9_0[arg_A2D9_1] = new AnimationInstruction(arg_A2D4_0, new AnimInsEvent(arg_A2CF_0, array2));
             arg_A2E3_0[arg_A2E3_1] = new Animation(arg_A2DE_0, arg_A2DE_1, arg_A2DE_2, arg_A2DE_3, arg_A2DE_4, arg_A2DE_5, arg_A2DE_6, arg_A2DE_7, arg_A2DE_8, arg_A2DE_9, arg_A2DE_10, arg_A2DE_11, arg_A2DE_12, arg_A2DE_13, arg_A2DE_14, array);
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveAll;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects.TotalBlackFadeIn)
         {
             Animation anim143 = new Animation(0, 0, RenderMaster.txNoTex, new Vector2(0f, 0f), 4, 1, 1, 1, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 }))
             });
             xARC.fScale = 1f;
             xARC.cColor = Color.Black;
             xARC.dixAnimations.Add(anim143.iID, anim143);
             Dictionary<ushort, Animation> arg_A4AE_0 = xARC.dixAnimations;
             ushort arg_A4AE_1 = 0;
             ushort arg_A4A9_0 = 0;
             byte arg_A4A9_1 = 0;
             Texture2D arg_A4A9_2 = RenderMaster.txNoTex;
             Vector2 arg_A4A9_3 = new Vector2(0f, 0f);
             int arg_A4A9_4 = 4;
             int arg_A4A9_5 = 2;
             int arg_A4A9_6 = 1020;
             int arg_A4A9_7 = 810;
             int arg_A4A9_8 = 0;
             int arg_A4A9_9 = 0;
             int arg_A4A9_10 = 1;
             Animation.LoopSettings arg_A4A9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A4A9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A4A9_13 = false;
             bool arg_A4A9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_A410_0 = array;
             int arg_A410_1 = 0;
             AnimInsCriteria arg_A40B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A406_0 = AnimInsEvent.EventType.SetAlpha;
             float[] array2 = new float[1];
             arg_A410_0[arg_A410_1] = new AnimationInstruction(arg_A40B_0, new AnimInsEvent(arg_A406_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.005f
             }));
             AnimationInstruction[] arg_A4A4_0 = array;
             int arg_A4A4_1 = 2;
             AnimInsCriteria arg_A49F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A49A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 200f;
             arg_A4A4_0[arg_A4A4_1] = new AnimationInstruction(arg_A49F_0, new AnimInsEvent(arg_A49A_0, array2));
             arg_A4AE_0[arg_A4AE_1] = new Animation(arg_A4A9_0, arg_A4A9_1, arg_A4A9_2, arg_A4A9_3, arg_A4A9_4, arg_A4A9_5, arg_A4A9_6, arg_A4A9_7, arg_A4A9_8, arg_A4A9_9, arg_A4A9_10, arg_A4A9_11, arg_A4A9_12, arg_A4A9_13, arg_A4A9_14, array);
             Dictionary<ushort, Animation> arg_A5ED_0 = xARC.dixAnimations;
             ushort arg_A5ED_1 = 2;
             ushort arg_A5E8_0 = 2;
             byte arg_A5E8_1 = 0;
             Texture2D arg_A5E8_2 = RenderMaster.txNoTex;
             Vector2 arg_A5E8_3 = new Vector2(0f, 0f);
             int arg_A5E8_4 = 4;
             int arg_A5E8_5 = 2;
             int arg_A5E8_6 = 1020;
             int arg_A5E8_7 = 810;
             int arg_A5E8_8 = 0;
             int arg_A5E8_9 = 0;
             int arg_A5E8_10 = 1;
             Animation.LoopSettings arg_A5E8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_A5E8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_A5E8_13 = false;
             bool arg_A5E8_14 = false;
             array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.8f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.01f
             }));
             AnimationInstruction[] arg_A5B7_0 = array;
             int arg_A5B7_1 = 2;
             AnimInsCriteria arg_A5B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_A5AD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 80f;
             arg_A5B7_0[arg_A5B7_1] = new AnimationInstruction(arg_A5B2_0, new AnimInsEvent(arg_A5AD_0, array2));
             AnimationInstruction[] arg_A5E3_0 = array;
             int arg_A5E3_1 = 3;
             AnimInsCriteria arg_A5DE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_A5D9_0 = AnimInsEvent.EventType.SetAlpha;
             array2 = new float[1];
             arg_A5E3_0[arg_A5E3_1] = new AnimationInstruction(arg_A5DE_0, new AnimInsEvent(arg_A5D9_0, array2));
             arg_A5ED_0[arg_A5ED_1] = new Animation(arg_A5E8_0, arg_A5E8_1, arg_A5E8_2, arg_A5E8_3, arg_A5E8_4, arg_A5E8_5, arg_A5E8_6, arg_A5E8_7, arg_A5E8_8, arg_A5E8_9, arg_A5E8_10, arg_A5E8_11, arg_A5E8_12, arg_A5E8_13, arg_A5E8_14, array);
             xARC.dixAnimations[3] = new Animation(3, 0, RenderMaster.txNoTex, new Vector2(0f, 0f), 4, 2, 1020, 810, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 }))
             });
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveAll;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._HitEffect_Sword01_Left)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShine)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/ItemShine"), new Vector2(6f, 6f), 4, 5, 13, 12, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Pickup"), new Vector2(10f, 19f), 3, 4, 20, 35, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineSilver_Ground)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Silver/Ground"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineSilver_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Silver/Front"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineSilver_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Silver/Back"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight -= 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineGold_Ground)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Gold/Ground"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineGold_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Gold/Front"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_ItemShineGold_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Raredrop/Gold/Back"), new Vector2(13f, 15f), 4, 14, 26, 28, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight -= 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SmallCoinPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Items/Coins/SmallPickup"), new Vector2(5f, 5f), 3, 6, 9, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_BigCoinPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Items/Coins/BigPickup"), new Vector2(8f, 8f), 3, 6, 16, 16, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_HealthOrbPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Items/Orbs/Health/PickUp"), new Vector2(7f, 19f), 4, 5, 14, 20, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupShine)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Glow"), new Vector2(10f, 36f), 4, 12, 20, 39, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 }), new AnimInsEvent(AnimInsEvent.EventType.LoopXTimes, new float[]
                 {
                     10f
                 }))
             });
             xARC.fVirtualHeight = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupText)
         {
             Dictionary<ushort, Animation> arg_AC2E_0 = xARC.dixAnimations;
             ushort arg_AC2E_1 = 0;
             ushort arg_AC29_0 = 0;
             byte arg_AC29_1 = 0;
             Texture2D arg_AC29_2 = Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Level");
             Vector2 arg_AC29_3 = new Vector2(44f, 28f);
             int arg_AC29_4 = 3;
             int arg_AC29_5 = 20;
             int arg_AC29_6 = 87;
             int arg_AC29_7 = 28;
             int arg_AC29_8 = 0;
             int arg_AC29_9 = 0;
             int arg_AC29_10 = 20;
             Animation.LoopSettings arg_AC29_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_AC29_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_AC29_13 = false;
             bool arg_AC29_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_AB90_0 = array;
             int arg_AB90_1 = 0;
             AnimInsCriteria arg_AB8B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 20f
             });
             AnimInsEvent.EventType arg_AB86_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 24f;
             arg_AB90_0[arg_AB90_1] = new AnimationInstruction(arg_AB8B_0, new AnimInsEvent(arg_AB86_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 20f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_AC24_0 = array;
             int arg_AC24_1 = 2;
             AnimInsCriteria arg_AC1F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 20f
             });
             AnimInsEvent.EventType arg_AC1A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_AC24_0[arg_AC24_1] = new AnimationInstruction(arg_AC1F_0, new AnimInsEvent(arg_AC1A_0, array2));
             arg_AC2E_0[arg_AC2E_1] = new Animation(arg_AC29_0, arg_AC29_1, arg_AC29_2, arg_AC29_3, arg_AC29_4, arg_AC29_5, arg_AC29_6, arg_AC29_7, arg_AC29_8, arg_AC29_9, arg_AC29_10, arg_AC29_11, arg_AC29_12, arg_AC29_13, arg_AC29_14, array);
             xARC.fVirtualHeight = 4f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupExplosion)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Effect"), new Vector2(38f, 43f), 4, 16, 76, 75, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_LevelupBeam)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/GUI/Levelup Effect/Beam"), new Vector2(16f, 1f), 4, 16, 32, 1, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 4f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_DealText)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Halloween/Hooded/Deal"), new Vector2(28f, 28f), 3, 23, 56, 28, 0, 0, 23, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_JumpDownIndication_FlyingInside)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("GUI/JumpArrows/Flying"), new Vector2(7f, 17f), 4, 12, 15, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_JumpDownIndication_Gundam)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("GUI/JumpArrows/Gund4m"), new Vector2(7f, 17f), 4, 12, 15, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_JumpDownIndication_FlyingOutside)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("GUI/JumpArrows/FlyingOutside"), new Vector2(7f, 17f), 4, 12, 15, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Exclamation)
         {
             Dictionary<ushort, Animation> arg_AF6A_0 = xARC.dixAnimations;
             ushort arg_AF6A_1 = 0;
             ushort arg_AF65_0 = 0;
             byte arg_AF65_1 = 0;
             Texture2D arg_AF65_2 = Content.Load<Texture2D>("Effects/Emotes/Exclamation");
             Vector2 arg_AF65_3 = new Vector2(14f, 30f);
             int arg_AF65_4 = 4;
             int arg_AF65_5 = 11;
             int arg_AF65_6 = 26;
             int arg_AF65_7 = 30;
             int arg_AF65_8 = 0;
             int arg_AF65_9 = 0;
             int arg_AF65_10 = 20;
             Animation.LoopSettings arg_AF65_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_AF65_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_AF65_13 = false;
             bool arg_AF65_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_AECC_0 = array;
             int arg_AECC_1 = 0;
             AnimInsCriteria arg_AEC7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_AEC2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_AECC_0[arg_AECC_1] = new AnimationInstruction(arg_AEC7_0, new AnimInsEvent(arg_AEC2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_AF60_0 = array;
             int arg_AF60_1 = 2;
             AnimInsCriteria arg_AF5B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_AF56_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_AF60_0[arg_AF60_1] = new AnimationInstruction(arg_AF5B_0, new AnimInsEvent(arg_AF56_0, array2));
             arg_AF6A_0[arg_AF6A_1] = new Animation(arg_AF65_0, arg_AF65_1, arg_AF65_2, arg_AF65_3, arg_AF65_4, arg_AF65_5, arg_AF65_6, arg_AF65_7, arg_AF65_8, arg_AF65_9, arg_AF65_10, arg_AF65_11, arg_AF65_12, arg_AF65_13, arg_AF65_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Heart)
         {
             Dictionary<ushort, Animation> arg_B0A2_0 = xARC.dixAnimations;
             ushort arg_B0A2_1 = 0;
             ushort arg_B09D_0 = 0;
             byte arg_B09D_1 = 0;
             Texture2D arg_B09D_2 = Content.Load<Texture2D>("Effects/Emotes/Heart");
             Vector2 arg_B09D_3 = new Vector2(14f, 30f);
             int arg_B09D_4 = 4;
             int arg_B09D_5 = 11;
             int arg_B09D_6 = 26;
             int arg_B09D_7 = 30;
             int arg_B09D_8 = 0;
             int arg_B09D_9 = 0;
             int arg_B09D_10 = 20;
             Animation.LoopSettings arg_B09D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B09D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B09D_13 = false;
             bool arg_B09D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B004_0 = array;
             int arg_B004_1 = 0;
             AnimInsCriteria arg_AFFF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_AFFA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B004_0[arg_B004_1] = new AnimationInstruction(arg_AFFF_0, new AnimInsEvent(arg_AFFA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B098_0 = array;
             int arg_B098_1 = 2;
             AnimInsCriteria arg_B093_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B08E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B098_0[arg_B098_1] = new AnimationInstruction(arg_B093_0, new AnimInsEvent(arg_B08E_0, array2));
             arg_B0A2_0[arg_B0A2_1] = new Animation(arg_B09D_0, arg_B09D_1, arg_B09D_2, arg_B09D_3, arg_B09D_4, arg_B09D_5, arg_B09D_6, arg_B09D_7, arg_B09D_8, arg_B09D_9, arg_B09D_10, arg_B09D_11, arg_B09D_12, arg_B09D_13, arg_B09D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_RessPlz)
         {
             Dictionary<ushort, Animation> arg_B1DA_0 = xARC.dixAnimations;
             ushort arg_B1DA_1 = 0;
             ushort arg_B1D5_0 = 0;
             byte arg_B1D5_1 = 0;
             Texture2D arg_B1D5_2 = Content.Load<Texture2D>("Effects/Emotes/Ress");
             Vector2 arg_B1D5_3 = new Vector2(14f, 30f);
             int arg_B1D5_4 = 4;
             int arg_B1D5_5 = 11;
             int arg_B1D5_6 = 26;
             int arg_B1D5_7 = 30;
             int arg_B1D5_8 = 0;
             int arg_B1D5_9 = 0;
             int arg_B1D5_10 = 20;
             Animation.LoopSettings arg_B1D5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B1D5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B1D5_13 = false;
             bool arg_B1D5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B13C_0 = array;
             int arg_B13C_1 = 0;
             AnimInsCriteria arg_B137_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_B132_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B13C_0[arg_B13C_1] = new AnimationInstruction(arg_B137_0, new AnimInsEvent(arg_B132_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B1D0_0 = array;
             int arg_B1D0_1 = 2;
             AnimInsCriteria arg_B1CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B1C6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B1D0_0[arg_B1D0_1] = new AnimationInstruction(arg_B1CB_0, new AnimInsEvent(arg_B1C6_0, array2));
             arg_B1DA_0[arg_B1DA_1] = new Animation(arg_B1D5_0, arg_B1D5_1, arg_B1D5_2, arg_B1D5_3, arg_B1D5_4, arg_B1D5_5, arg_B1D5_6, arg_B1D5_7, arg_B1D5_8, arg_B1D5_9, arg_B1D5_10, arg_B1D5_11, arg_B1D5_12, arg_B1D5_13, arg_B1D5_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Question)
         {
             Dictionary<ushort, Animation> arg_B312_0 = xARC.dixAnimations;
             ushort arg_B312_1 = 0;
             ushort arg_B30D_0 = 0;
             byte arg_B30D_1 = 0;
             Texture2D arg_B30D_2 = Content.Load<Texture2D>("Effects/Emotes/Question");
             Vector2 arg_B30D_3 = new Vector2(14f, 30f);
             int arg_B30D_4 = 4;
             int arg_B30D_5 = 11;
             int arg_B30D_6 = 26;
             int arg_B30D_7 = 30;
             int arg_B30D_8 = 0;
             int arg_B30D_9 = 0;
             int arg_B30D_10 = 20;
             Animation.LoopSettings arg_B30D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B30D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B30D_13 = false;
             bool arg_B30D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B274_0 = array;
             int arg_B274_1 = 0;
             AnimInsCriteria arg_B26F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B26A_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B274_0[arg_B274_1] = new AnimationInstruction(arg_B26F_0, new AnimInsEvent(arg_B26A_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B308_0 = array;
             int arg_B308_1 = 2;
             AnimInsCriteria arg_B303_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B2FE_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B308_0[arg_B308_1] = new AnimationInstruction(arg_B303_0, new AnimInsEvent(arg_B2FE_0, array2));
             arg_B312_0[arg_B312_1] = new Animation(arg_B30D_0, arg_B30D_1, arg_B30D_2, arg_B30D_3, arg_B30D_4, arg_B30D_5, arg_B30D_6, arg_B30D_7, arg_B30D_8, arg_B30D_9, arg_B30D_10, arg_B30D_11, arg_B30D_12, arg_B30D_13, arg_B30D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Dots)
         {
             Dictionary<ushort, Animation> arg_B44A_0 = xARC.dixAnimations;
             ushort arg_B44A_1 = 0;
             ushort arg_B445_0 = 0;
             byte arg_B445_1 = 0;
             Texture2D arg_B445_2 = Content.Load<Texture2D>("Effects/Emotes/Dot");
             Vector2 arg_B445_3 = new Vector2(14f, 23f);
             int arg_B445_4 = 4;
             int arg_B445_5 = 18;
             int arg_B445_6 = 26;
             int arg_B445_7 = 23;
             int arg_B445_8 = 0;
             int arg_B445_9 = 0;
             int arg_B445_10 = 20;
             Animation.LoopSettings arg_B445_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B445_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B445_13 = false;
             bool arg_B445_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B3AC_0 = array;
             int arg_B3AC_1 = 0;
             AnimInsCriteria arg_B3A7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 18f
             });
             AnimInsEvent.EventType arg_B3A2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B3AC_0[arg_B3AC_1] = new AnimationInstruction(arg_B3A7_0, new AnimInsEvent(arg_B3A2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 18f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B440_0 = array;
             int arg_B440_1 = 2;
             AnimInsCriteria arg_B43B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 18f
             });
             AnimInsEvent.EventType arg_B436_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B440_0[arg_B440_1] = new AnimationInstruction(arg_B43B_0, new AnimInsEvent(arg_B436_0, array2));
             arg_B44A_0[arg_B44A_1] = new Animation(arg_B445_0, arg_B445_1, arg_B445_2, arg_B445_3, arg_B445_4, arg_B445_5, arg_B445_6, arg_B445_7, arg_B445_8, arg_B445_9, arg_B445_10, arg_B445_11, arg_B445_12, arg_B445_13, arg_B445_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Angry)
         {
             Dictionary<ushort, Animation> arg_B582_0 = xARC.dixAnimations;
             ushort arg_B582_1 = 0;
             ushort arg_B57D_0 = 0;
             byte arg_B57D_1 = 0;
             Texture2D arg_B57D_2 = Content.Load<Texture2D>("Effects/Emotes/Angry");
             Vector2 arg_B57D_3 = new Vector2(13f, 28f);
             int arg_B57D_4 = 4;
             int arg_B57D_5 = 11;
             int arg_B57D_6 = 26;
             int arg_B57D_7 = 30;
             int arg_B57D_8 = 0;
             int arg_B57D_9 = 0;
             int arg_B57D_10 = 11;
             Animation.LoopSettings arg_B57D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B57D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B57D_13 = false;
             bool arg_B57D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B4E4_0 = array;
             int arg_B4E4_1 = 0;
             AnimInsCriteria arg_B4DF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B4DA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B4E4_0[arg_B4E4_1] = new AnimationInstruction(arg_B4DF_0, new AnimInsEvent(arg_B4DA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B578_0 = array;
             int arg_B578_1 = 2;
             AnimInsCriteria arg_B573_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B56E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B578_0[arg_B578_1] = new AnimationInstruction(arg_B573_0, new AnimInsEvent(arg_B56E_0, array2));
             arg_B582_0[arg_B582_1] = new Animation(arg_B57D_0, arg_B57D_1, arg_B57D_2, arg_B57D_3, arg_B57D_4, arg_B57D_5, arg_B57D_6, arg_B57D_7, arg_B57D_8, arg_B57D_9, arg_B57D_10, arg_B57D_11, arg_B57D_12, arg_B57D_13, arg_B57D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Examine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(13f, 28f), 4, 11, 26, 30, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, GlobalContent.Load<Texture2D>("Effects/Emotes/Examine"), new Vector2(13f, 28f), 4, 11, 26, 30, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_SweatDrop)
         {
             Dictionary<ushort, Animation> arg_B752_0 = xARC.dixAnimations;
             ushort arg_B752_1 = 0;
             ushort arg_B74D_0 = 0;
             byte arg_B74D_1 = 0;
             Texture2D arg_B74D_2 = Content.Load<Texture2D>("Effects/Emotes/Sweat");
             Vector2 arg_B74D_3 = new Vector2(13f, 28f);
             int arg_B74D_4 = 4;
             int arg_B74D_5 = 11;
             int arg_B74D_6 = 26;
             int arg_B74D_7 = 30;
             int arg_B74D_8 = 0;
             int arg_B74D_9 = 0;
             int arg_B74D_10 = 11;
             Animation.LoopSettings arg_B74D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B74D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B74D_13 = false;
             bool arg_B74D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B6B4_0 = array;
             int arg_B6B4_1 = 0;
             AnimInsCriteria arg_B6AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B6AA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B6B4_0[arg_B6B4_1] = new AnimationInstruction(arg_B6AF_0, new AnimInsEvent(arg_B6AA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B748_0 = array;
             int arg_B748_1 = 2;
             AnimInsCriteria arg_B743_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B73E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B748_0[arg_B748_1] = new AnimationInstruction(arg_B743_0, new AnimInsEvent(arg_B73E_0, array2));
             arg_B752_0[arg_B752_1] = new Animation(arg_B74D_0, arg_B74D_1, arg_B74D_2, arg_B74D_3, arg_B74D_4, arg_B74D_5, arg_B74D_6, arg_B74D_7, arg_B74D_8, arg_B74D_9, arg_B74D_10, arg_B74D_11, arg_B74D_12, arg_B74D_13, arg_B74D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Upset)
         {
             Dictionary<ushort, Animation> arg_B88A_0 = xARC.dixAnimations;
             ushort arg_B88A_1 = 0;
             ushort arg_B885_0 = 0;
             byte arg_B885_1 = 0;
             Texture2D arg_B885_2 = Content.Load<Texture2D>("Effects/Emotes/Upset");
             Vector2 arg_B885_3 = new Vector2(13f, 28f);
             int arg_B885_4 = 4;
             int arg_B885_5 = 11;
             int arg_B885_6 = 26;
             int arg_B885_7 = 30;
             int arg_B885_8 = 0;
             int arg_B885_9 = 0;
             int arg_B885_10 = 11;
             Animation.LoopSettings arg_B885_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_B885_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_B885_13 = false;
             bool arg_B885_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_B7EC_0 = array;
             int arg_B7EC_1 = 0;
             AnimInsCriteria arg_B7E7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B7E2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 35f;
             arg_B7EC_0[arg_B7EC_1] = new AnimationInstruction(arg_B7E7_0, new AnimInsEvent(arg_B7E2_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.04f
             }));
             AnimationInstruction[] arg_B880_0 = array;
             int arg_B880_1 = 2;
             AnimInsCriteria arg_B87B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 11f
             });
             AnimInsEvent.EventType arg_B876_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 25f;
             arg_B880_0[arg_B880_1] = new AnimationInstruction(arg_B87B_0, new AnimInsEvent(arg_B876_0, array2));
             arg_B88A_0[arg_B88A_1] = new Animation(arg_B885_0, arg_B885_1, arg_B885_2, arg_B885_3, arg_B885_4, arg_B885_5, arg_B885_6, arg_B885_7, arg_B885_8, arg_B885_9, arg_B885_10, arg_B885_11, arg_B885_12, arg_B885_13, arg_B885_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_Emote_Fish)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Emotes/Fish"), new Vector2(13f, 29f), 4, 11, 26, 30, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Emotes/Fish"), new Vector2(13f, 29f), 4, 1, 26, 30, 260, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
                 {
                     1f
                 }))
             });
             Dictionary<ushort, Animation> arg_BAEC_0 = xARC.dixAnimations;
             ushort arg_BAEC_1 = 2;
             ushort arg_BAE7_0 = 0;
             byte arg_BAE7_1 = 0;
             Texture2D arg_BAE7_2 = Content.Load<Texture2D>("Effects/Emotes/Fish");
             Vector2 arg_BAE7_3 = new Vector2(13f, 29f);
             int arg_BAE7_4 = 4;
             int arg_BAE7_5 = 1;
             int arg_BAE7_6 = 26;
             int arg_BAE7_7 = 30;
             int arg_BAE7_8 = 260;
             int arg_BAE7_9 = 0;
             int arg_BAE7_10 = 20;
             Animation.LoopSettings arg_BAE7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_BAE7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_BAE7_13 = false;
             bool arg_BAE7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_BAAC_0 = array;
             int arg_BAAC_1 = 1;
             AnimInsCriteria arg_BAA7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_BAA2_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_BAAC_0[arg_BAAC_1] = new AnimationInstruction(arg_BAA7_0, new AnimInsEvent(arg_BAA2_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 3f
             }));
             arg_BAEC_0[arg_BAEC_1] = new Animation(arg_BAE7_0, arg_BAE7_1, arg_BAE7_2, arg_BAE7_3, arg_BAE7_4, arg_BAE7_5, arg_BAE7_6, arg_BAE7_7, arg_BAE7_8, arg_BAE7_9, arg_BAE7_10, arg_BAE7_11, arg_BAE7_12, arg_BAE7_13, arg_BAE7_14, array);
             xARC.dixAnimations[3] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(13f, 29f), 4, 1, 26, 30, 260, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.v2OffsetRenderPos = new Vector2(0f, -32f);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_SnowFlake)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Freeze/SnowA"), new Vector2(5f, 5f), 4, 1, 11, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_AutumnLeafOrange)
         {
             Animation anim144 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/RollingLeaf/Orange"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim144.iID, anim144);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_AutumnLeafRed)
         {
             Animation anim145 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/RollingLeaf/Red"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim145.iID, anim145);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._GUIEffects_SeasonChange_AutumnLeafYellow)
         {
             Animation anim146 = new Animation(0, 0, Content.Load<Texture2D>("Effects/Particle Effects/RollingLeaf/Yellow"), new Vector2(5f, 5f), 4, 5, 11, 10, 0, 0, 18, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fScale = 1f;
             xARC.dixAnimations.Add(anim146.iID, anim146);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterLeft)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Sword01_Left)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash1/Left"), new Vector2(30f, 5f), 3, 4, 59, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash3/Left"), new Vector2(29f, 14f), 3, 4, 50, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Sword01_Right)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash1/Right"), new Vector2(30f, 5f), 3, 4, 59, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash3/Right"), new Vector2(21f, 14f), 3, 4, 50, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Up)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation -= 1.57079637f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Down)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 1.57079637f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Stinger_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 3.14159274f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Up)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation -= 1.57079637f;
             xARC.fVirtualHeight += 10f;
             AnimatedRenderComponent expr_C0C0_cp_0 = xARC;
             expr_C0C0_cp_0.v2OffsetRenderPos.X = expr_C0C0_cp_0.v2OffsetRenderPos.X + (float)(-5 + Program.GetTheGame().randomInLogic.Next(10));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 10f;
             AnimatedRenderComponent expr_C14B_cp_0 = xARC;
             expr_C14B_cp_0.v2OffsetRenderPos.Y = expr_C14B_cp_0.v2OffsetRenderPos.Y + (float)(-14 + Program.GetTheGame().randomInLogic.Next(16));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Down)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 1.57079637f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_MillionStab_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Sword/Slash2/Right"), new Vector2(15f, 15f), 3, 4, 64, 28, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += 3.14159274f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SpiritSlash01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/SmallSlash"), new Vector2(9f, 10f), 3, 4, 18, 19, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += (float)Program.game.randomInVisual.NextDouble() * 6.28318548f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SpiritSlash02)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Slash"), new Vector2(20f, 4f), 4, 3, 41, 9, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += (float)Program.game.randomInVisual.NextDouble() * 6.28318548f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SpiritSlash03)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Slash2"), new Vector2(22f, 10f), 4, 3, 35, 14, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fRotation += (float)Program.game.randomInVisual.NextDouble() * 6.28318548f;
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_2HSword01_Left)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash1/Left"), new Vector2(36f, 6f), 3, 4, 72, 11, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash2/Left"), new Vector2(39f, 17f), 3, 4, 71, 32, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_2HSword01_Right)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash1/Right"), new Vector2(36f, 6f), 3, 4, 72, 11, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Twohanded/Slash2/Right"), new Vector2(33f, 17f), 3, 4, 71, 32, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             }
             xARC.fRotation = -0.2f + 0.4f * (float)Program.GetTheGame().randomInVisual.NextDouble();
             xARC.fVirtualHeight += 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_OverheadSmash)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead"), new Vector2(38f, 50f), 4, 4, 76, 59, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_OverheadSmash2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead2"), new Vector2(38f, 50f), 3, 6, 76, 59, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_OverheadSmash3)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead3"), new Vector2(28f, 39f), 3, 6, 57, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SmashOnHit01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/TwoHanded/Smash/Level 1-2/HitEffects/Effect"), new Vector2(35f, 35f), 3, 9, 71, 71, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SmashOnHitWall01)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/TwoHanded/Smash/Level 1-2/HitEffects/EffectSmall"), new Vector2(25f, 25f), 3, 7, 49, 49, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ShieldNormal)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Shield/Shield2"), new Vector2(8f, 9f), 4, 4, 17, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ShieldPerfect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Shield/Shield2"), new Vector2(8f, 9f), 4, 4, 17, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ShieldBreak)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldBreak/Effect/Down"), new Vector2(16f, 29f), 4, 5, 31, 32, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_SlimeParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_C9A1_0 = xARC.dixAnimations;
                 ushort arg_C9A1_1 = 0;
                 ushort arg_C99C_0 = 0;
                 byte arg_C99C_1 = 1;
                 Texture2D arg_C99C_2 = Content.Load<Texture2D>("Sprites/Monster/Pillar Mountains/Slime/Particle/Part4");
                 Vector2 arg_C99C_3 = new Vector2(5f, 17f);
                 int arg_C99C_4 = 4;
                 int arg_C99C_5 = 11;
                 int arg_C99C_6 = 9;
                 int arg_C99C_7 = 19;
                 int arg_C99C_8 = 0;
                 int arg_C99C_9 = 0;
                 int arg_C99C_10 = 11;
                 Animation.LoopSettings arg_C99C_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_C99C_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_C99C_13 = true;
                 bool arg_C99C_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_C94D_0 = array;
                 int arg_C94D_1 = 0;
                 AnimInsCriteria arg_C948_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_C943_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_C94D_0[arg_C94D_1] = new AnimationInstruction(arg_C948_0, new AnimInsEvent(arg_C943_0, array2));
                 AnimationInstruction[] arg_C997_0 = array;
                 int arg_C997_1 = 1;
                 AnimInsCriteria arg_C992_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_C98D_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_C997_0[arg_C997_1] = new AnimationInstruction(arg_C992_0, new AnimInsEvent(arg_C98D_0, array2));
                 arg_C9A1_0[arg_C9A1_1] = new Animation(arg_C99C_0, arg_C99C_1, arg_C99C_2, arg_C99C_3, arg_C99C_4, arg_C99C_5, arg_C99C_6, arg_C99C_7, arg_C99C_8, arg_C99C_9, arg_C99C_10, arg_C99C_11, arg_C99C_12, arg_C99C_13, arg_C99C_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_CA84_0 = xARC.dixAnimations;
                 ushort arg_CA84_1 = 0;
                 ushort arg_CA7F_0 = 0;
                 byte arg_CA7F_1 = 1;
                 Texture2D arg_CA7F_2 = Content.Load<Texture2D>("Sprites/Monster/Pillar Mountains/Slime/Particle/Part5");
                 Vector2 arg_CA7F_3 = new Vector2(5f, 17f);
                 int arg_CA7F_4 = 4;
                 int arg_CA7F_5 = 11;
                 int arg_CA7F_6 = 9;
                 int arg_CA7F_7 = 19;
                 int arg_CA7F_8 = 0;
                 int arg_CA7F_9 = 0;
                 int arg_CA7F_10 = 11;
                 Animation.LoopSettings arg_CA7F_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_CA7F_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_CA7F_13 = true;
                 bool arg_CA7F_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_CA30_0 = array;
                 int arg_CA30_1 = 0;
                 AnimInsCriteria arg_CA2B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_CA26_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_CA30_0[arg_CA30_1] = new AnimationInstruction(arg_CA2B_0, new AnimInsEvent(arg_CA26_0, array2));
                 AnimationInstruction[] arg_CA7A_0 = array;
                 int arg_CA7A_1 = 1;
                 AnimInsCriteria arg_CA75_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_CA70_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_CA7A_0[arg_CA7A_1] = new AnimationInstruction(arg_CA75_0, new AnimInsEvent(arg_CA70_0, array2));
                 arg_CA84_0[arg_CA84_1] = new Animation(arg_CA7F_0, arg_CA7F_1, arg_CA7F_2, arg_CA7F_3, arg_CA7F_4, arg_CA7F_5, arg_CA7F_6, arg_CA7F_7, arg_CA7F_8, arg_CA7F_9, arg_CA7F_10, arg_CA7F_11, arg_CA7F_12, arg_CA7F_13, arg_CA7F_14, array);
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ToyMachineBrass)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Particle/Brass"), new Vector2(6f, 25f), 4, 10, 11, 28, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ToyMachineMetal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Particle/Metal"), new Vector2(6f, 25f), 4, 10, 11, 28, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ToyMachineScrew)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Particle/Screw"), new Vector2(7f, 37f), 4, 12, 13, 41, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_BlankShort)
         {
             Dictionary<ushort, Animation> arg_CC16_0 = xARC.dixAnimations;
             ushort arg_CC16_1 = 0;
             ushort arg_CC11_0 = 0;
             byte arg_CC11_1 = 1;
             Texture2D arg_CC11_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankShort");
             Vector2 arg_CC11_3 = new Vector2(9f, 12f);
             int arg_CC11_4 = 5;
             int arg_CC11_5 = 14;
             int arg_CC11_6 = 25;
             int arg_CC11_7 = 15;
             int arg_CC11_8 = 0;
             int arg_CC11_9 = 0;
             int arg_CC11_10 = 14;
             Animation.LoopSettings arg_CC11_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CC11_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CC11_13 = true;
             bool arg_CC11_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CC0C_0 = array;
             int arg_CC0C_1 = 0;
             AnimInsCriteria arg_CC07_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CC02_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CC0C_0[arg_CC0C_1] = new AnimationInstruction(arg_CC07_0, new AnimInsEvent(arg_CC02_0, array2));
             arg_CC16_0[arg_CC16_1] = new Animation(arg_CC11_0, arg_CC11_1, arg_CC11_2, arg_CC11_3, arg_CC11_4, arg_CC11_5, arg_CC11_6, arg_CC11_7, arg_CC11_8, arg_CC11_9, arg_CC11_10, arg_CC11_11, arg_CC11_12, arg_CC11_13, arg_CC11_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankShort"), new Vector2(9f, 12f), 5, 1, 25, 15, 150, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_TextShort)
         {
             Dictionary<ushort, Animation> arg_CCEB_0 = xARC.dixAnimations;
             ushort arg_CCEB_1 = 0;
             ushort arg_CCE6_0 = 0;
             byte arg_CCE6_1 = 1;
             Texture2D arg_CCE6_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextShort");
             Vector2 arg_CCE6_3 = new Vector2(9f, 12f);
             int arg_CCE6_4 = 5;
             int arg_CCE6_5 = 14;
             int arg_CCE6_6 = 25;
             int arg_CCE6_7 = 15;
             int arg_CCE6_8 = 0;
             int arg_CCE6_9 = 0;
             int arg_CCE6_10 = 14;
             Animation.LoopSettings arg_CCE6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CCE6_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CCE6_13 = true;
             bool arg_CCE6_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CCE1_0 = array;
             int arg_CCE1_1 = 0;
             AnimInsCriteria arg_CCDC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CCD7_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CCE1_0[arg_CCE1_1] = new AnimationInstruction(arg_CCDC_0, new AnimInsEvent(arg_CCD7_0, array2));
             arg_CCEB_0[arg_CCEB_1] = new Animation(arg_CCE6_0, arg_CCE6_1, arg_CCE6_2, arg_CCE6_3, arg_CCE6_4, arg_CCE6_5, arg_CCE6_6, arg_CCE6_7, arg_CCE6_8, arg_CCE6_9, arg_CCE6_10, arg_CCE6_11, arg_CCE6_12, arg_CCE6_13, arg_CCE6_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextShort"), new Vector2(9f, 12f), 5, 1, 25, 15, 150, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_BlankLong)
         {
             Dictionary<ushort, Animation> arg_CDC0_0 = xARC.dixAnimations;
             ushort arg_CDC0_1 = 0;
             ushort arg_CDBB_0 = 0;
             byte arg_CDBB_1 = 1;
             Texture2D arg_CDBB_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankLong");
             Vector2 arg_CDBB_3 = new Vector2(9f, 12f);
             int arg_CDBB_4 = 5;
             int arg_CDBB_5 = 19;
             int arg_CDBB_6 = 25;
             int arg_CDBB_7 = 15;
             int arg_CDBB_8 = 0;
             int arg_CDBB_9 = 0;
             int arg_CDBB_10 = 19;
             Animation.LoopSettings arg_CDBB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CDBB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CDBB_13 = true;
             bool arg_CDBB_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CDB6_0 = array;
             int arg_CDB6_1 = 0;
             AnimInsCriteria arg_CDB1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CDAC_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CDB6_0[arg_CDB6_1] = new AnimationInstruction(arg_CDB1_0, new AnimInsEvent(arg_CDAC_0, array2));
             arg_CDC0_0[arg_CDC0_1] = new Animation(arg_CDBB_0, arg_CDBB_1, arg_CDBB_2, arg_CDBB_3, arg_CDBB_4, arg_CDBB_5, arg_CDBB_6, arg_CDBB_7, arg_CDBB_8, arg_CDBB_9, arg_CDBB_10, arg_CDBB_11, arg_CDBB_12, arg_CDBB_13, arg_CDBB_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/BlankLong"), new Vector2(9f, 12f), 5, 1, 25, 15, 275, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PaperParticle_TextLong)
         {
             Dictionary<ushort, Animation> arg_CE95_0 = xARC.dixAnimations;
             ushort arg_CE95_1 = 0;
             ushort arg_CE90_0 = 0;
             byte arg_CE90_1 = 1;
             Texture2D arg_CE90_2 = Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextLong");
             Vector2 arg_CE90_3 = new Vector2(9f, 12f);
             int arg_CE90_4 = 5;
             int arg_CE90_5 = 19;
             int arg_CE90_6 = 25;
             int arg_CE90_7 = 15;
             int arg_CE90_8 = 0;
             int arg_CE90_9 = 0;
             int arg_CE90_10 = 19;
             Animation.LoopSettings arg_CE90_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_CE90_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_CE90_13 = true;
             bool arg_CE90_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_CE8B_0 = array;
             int arg_CE8B_1 = 0;
             AnimInsCriteria arg_CE86_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_CE81_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_CE8B_0[arg_CE8B_1] = new AnimationInstruction(arg_CE86_0, new AnimInsEvent(arg_CE81_0, array2));
             arg_CE95_0[arg_CE95_1] = new Animation(arg_CE90_0, arg_CE90_1, arg_CE90_2, arg_CE90_3, arg_CE90_4, arg_CE90_5, arg_CE90_6, arg_CE90_7, arg_CE90_8, arg_CE90_9, arg_CE90_10, arg_CE90_11, arg_CE90_12, arg_CE90_13, arg_CE90_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/NPC/HQ/File/Paper/TextLong"), new Vector2(9f, 12f), 5, 1, 25, 15, 275, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WhiteFeatherParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/Feather"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/Feather"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_BrownFeatherParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/FeatherBrown"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Feather/FeatherBrown"), new Vector2(8f, 11f), 5, 21, 15, 12, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_RedSlimeParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_D163_0 = xARC.dixAnimations;
                 ushort arg_D163_1 = 0;
                 ushort arg_D15E_0 = 0;
                 byte arg_D15E_1 = 1;
                 Texture2D arg_D15E_2 = Content.Load<Texture2D>("Sprites/Monster/Special/Red Slime/Particle/Part4");
                 Vector2 arg_D15E_3 = new Vector2(5f, 17f);
                 int arg_D15E_4 = 4;
                 int arg_D15E_5 = 11;
                 int arg_D15E_6 = 9;
                 int arg_D15E_7 = 19;
                 int arg_D15E_8 = 0;
                 int arg_D15E_9 = 0;
                 int arg_D15E_10 = 11;
                 Animation.LoopSettings arg_D15E_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D15E_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D15E_13 = true;
                 bool arg_D15E_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D10F_0 = array;
                 int arg_D10F_1 = 0;
                 AnimInsCriteria arg_D10A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D105_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D10F_0[arg_D10F_1] = new AnimationInstruction(arg_D10A_0, new AnimInsEvent(arg_D105_0, array2));
                 AnimationInstruction[] arg_D159_0 = array;
                 int arg_D159_1 = 1;
                 AnimInsCriteria arg_D154_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D14F_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D159_0[arg_D159_1] = new AnimationInstruction(arg_D154_0, new AnimInsEvent(arg_D14F_0, array2));
                 arg_D163_0[arg_D163_1] = new Animation(arg_D15E_0, arg_D15E_1, arg_D15E_2, arg_D15E_3, arg_D15E_4, arg_D15E_5, arg_D15E_6, arg_D15E_7, arg_D15E_8, arg_D15E_9, arg_D15E_10, arg_D15E_11, arg_D15E_12, arg_D15E_13, arg_D15E_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_D246_0 = xARC.dixAnimations;
                 ushort arg_D246_1 = 0;
                 ushort arg_D241_0 = 0;
                 byte arg_D241_1 = 1;
                 Texture2D arg_D241_2 = Content.Load<Texture2D>("Sprites/Monster/Special/Red Slime/Particle/Part5");
                 Vector2 arg_D241_3 = new Vector2(5f, 17f);
                 int arg_D241_4 = 4;
                 int arg_D241_5 = 11;
                 int arg_D241_6 = 9;
                 int arg_D241_7 = 19;
                 int arg_D241_8 = 0;
                 int arg_D241_9 = 0;
                 int arg_D241_10 = 11;
                 Animation.LoopSettings arg_D241_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D241_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D241_13 = true;
                 bool arg_D241_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D1F2_0 = array;
                 int arg_D1F2_1 = 0;
                 AnimInsCriteria arg_D1ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D1E8_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D1F2_0[arg_D1F2_1] = new AnimationInstruction(arg_D1ED_0, new AnimInsEvent(arg_D1E8_0, array2));
                 AnimationInstruction[] arg_D23C_0 = array;
                 int arg_D23C_1 = 1;
                 AnimInsCriteria arg_D237_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D232_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D23C_0[arg_D23C_1] = new AnimationInstruction(arg_D237_0, new AnimInsEvent(arg_D232_0, array2));
                 arg_D246_0[arg_D246_1] = new Animation(arg_D241_0, arg_D241_1, arg_D241_2, arg_D241_3, arg_D241_4, arg_D241_5, arg_D241_6, arg_D241_7, arg_D241_8, arg_D241_9, arg_D241_10, arg_D241_11, arg_D241_12, arg_D241_13, arg_D241_14, array);
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_BlueSlimeParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_D34D_0 = xARC.dixAnimations;
                 ushort arg_D34D_1 = 0;
                 ushort arg_D348_0 = 0;
                 byte arg_D348_1 = 1;
                 Texture2D arg_D348_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Blue Slime/Particle/Part4");
                 Vector2 arg_D348_3 = new Vector2(5f, 17f);
                 int arg_D348_4 = 4;
                 int arg_D348_5 = 11;
                 int arg_D348_6 = 9;
                 int arg_D348_7 = 19;
                 int arg_D348_8 = 0;
                 int arg_D348_9 = 0;
                 int arg_D348_10 = 11;
                 Animation.LoopSettings arg_D348_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D348_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D348_13 = true;
                 bool arg_D348_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D2F9_0 = array;
                 int arg_D2F9_1 = 0;
                 AnimInsCriteria arg_D2F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D2EF_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D2F9_0[arg_D2F9_1] = new AnimationInstruction(arg_D2F4_0, new AnimInsEvent(arg_D2EF_0, array2));
                 AnimationInstruction[] arg_D343_0 = array;
                 int arg_D343_1 = 1;
                 AnimInsCriteria arg_D33E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D339_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D343_0[arg_D343_1] = new AnimationInstruction(arg_D33E_0, new AnimInsEvent(arg_D339_0, array2));
                 arg_D34D_0[arg_D34D_1] = new Animation(arg_D348_0, arg_D348_1, arg_D348_2, arg_D348_3, arg_D348_4, arg_D348_5, arg_D348_6, arg_D348_7, arg_D348_8, arg_D348_9, arg_D348_10, arg_D348_11, arg_D348_12, arg_D348_13, arg_D348_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_D430_0 = xARC.dixAnimations;
                 ushort arg_D430_1 = 0;
                 ushort arg_D42B_0 = 0;
                 byte arg_D42B_1 = 1;
                 Texture2D arg_D42B_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Blue Slime/Particle/Part5");
                 Vector2 arg_D42B_3 = new Vector2(5f, 17f);
                 int arg_D42B_4 = 4;
                 int arg_D42B_5 = 11;
                 int arg_D42B_6 = 9;
                 int arg_D42B_7 = 19;
                 int arg_D42B_8 = 0;
                 int arg_D42B_9 = 0;
                 int arg_D42B_10 = 11;
                 Animation.LoopSettings arg_D42B_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D42B_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D42B_13 = true;
                 bool arg_D42B_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D3DC_0 = array;
                 int arg_D3DC_1 = 0;
                 AnimInsCriteria arg_D3D7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D3D2_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D3DC_0[arg_D3DC_1] = new AnimationInstruction(arg_D3D7_0, new AnimInsEvent(arg_D3D2_0, array2));
                 AnimationInstruction[] arg_D426_0 = array;
                 int arg_D426_1 = 1;
                 AnimInsCriteria arg_D421_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     11f
                 });
                 AnimInsEvent.EventType arg_D41C_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D426_0[arg_D426_1] = new AnimationInstruction(arg_D421_0, new AnimInsEvent(arg_D41C_0, array2));
                 arg_D430_0[arg_D430_1] = new Animation(arg_D42B_0, arg_D42B_1, arg_D42B_2, arg_D42B_3, arg_D42B_4, arg_D42B_5, arg_D42B_6, arg_D42B_7, arg_D42B_8, arg_D42B_9, arg_D42B_10, arg_D42B_11, arg_D42B_12, arg_D42B_13, arg_D42B_14, array);
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_CrystalParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_D536_0 = xARC.dixAnimations;
                 ushort arg_D536_1 = 0;
                 ushort arg_D531_0 = 0;
                 byte arg_D531_1 = 1;
                 Texture2D arg_D531_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalParticle");
                 Vector2 arg_D531_3 = new Vector2(3f, 37f);
                 int arg_D531_4 = 5;
                 int arg_D531_5 = 10;
                 int arg_D531_6 = 6;
                 int arg_D531_7 = 39;
                 int arg_D531_8 = 0;
                 int arg_D531_9 = 0;
                 int arg_D531_10 = 21;
                 Animation.LoopSettings arg_D531_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D531_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D531_13 = true;
                 bool arg_D531_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D4E2_0 = array;
                 int arg_D4E2_1 = 0;
                 AnimInsCriteria arg_D4DD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D4D8_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D4E2_0[arg_D4E2_1] = new AnimationInstruction(arg_D4DD_0, new AnimInsEvent(arg_D4D8_0, array2));
                 AnimationInstruction[] arg_D52C_0 = array;
                 int arg_D52C_1 = 1;
                 AnimInsCriteria arg_D527_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D522_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D52C_0[arg_D52C_1] = new AnimationInstruction(arg_D527_0, new AnimInsEvent(arg_D522_0, array2));
                 arg_D536_0[arg_D536_1] = new Animation(arg_D531_0, arg_D531_1, arg_D531_2, arg_D531_3, arg_D531_4, arg_D531_5, arg_D531_6, arg_D531_7, arg_D531_8, arg_D531_9, arg_D531_10, arg_D531_11, arg_D531_12, arg_D531_13, arg_D531_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_D618_0 = xARC.dixAnimations;
                 ushort arg_D618_1 = 0;
                 ushort arg_D613_0 = 0;
                 byte arg_D613_1 = 1;
                 Texture2D arg_D613_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalParticle");
                 Vector2 arg_D613_3 = new Vector2(3f, 37f);
                 int arg_D613_4 = 5;
                 int arg_D613_5 = 10;
                 int arg_D613_6 = 6;
                 int arg_D613_7 = 39;
                 int arg_D613_8 = 0;
                 int arg_D613_9 = 0;
                 int arg_D613_10 = 21;
                 Animation.LoopSettings arg_D613_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_D613_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_D613_13 = true;
                 bool arg_D613_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_D5C4_0 = array;
                 int arg_D5C4_1 = 0;
                 AnimInsCriteria arg_D5BF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D5BA_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_D5C4_0[arg_D5C4_1] = new AnimationInstruction(arg_D5BF_0, new AnimInsEvent(arg_D5BA_0, array2));
                 AnimationInstruction[] arg_D60E_0 = array;
                 int arg_D60E_1 = 1;
                 AnimInsCriteria arg_D609_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_D604_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_D60E_0[arg_D60E_1] = new AnimationInstruction(arg_D609_0, new AnimInsEvent(arg_D604_0, array2));
                 arg_D618_0[arg_D618_1] = new Animation(arg_D613_0, arg_D613_1, arg_D613_2, arg_D613_3, arg_D613_4, arg_D613_5, arg_D613_6, arg_D613_7, arg_D613_8, arg_D613_9, arg_D613_10, arg_D613_11, arg_D613_12, arg_D613_13, arg_D613_14, array);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Red)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Red"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Red"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Green)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Green"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Green"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Pink)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Pink"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Pink"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Yellow)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Yellow"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Yellow"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_ConfettiParticle_Blue)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Blue"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             }
             else
             {
                 xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Particle Effects/Confetti/Blue"), new Vector2(4f, 15f), 4, 17, 7, 16, 0, 0, 21, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_GlassParticle)
         {
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 Dictionary<ushort, Animation> arg_DAEC_0 = xARC.dixAnimations;
                 ushort arg_DAEC_1 = 0;
                 ushort arg_DAE7_0 = 0;
                 byte arg_DAE7_1 = 1;
                 Texture2D arg_DAE7_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasParticle");
                 Vector2 arg_DAE7_3 = new Vector2(6f, 38f);
                 int arg_DAE7_4 = 5;
                 int arg_DAE7_5 = 11;
                 int arg_DAE7_6 = 11;
                 int arg_DAE7_7 = 40;
                 int arg_DAE7_8 = 0;
                 int arg_DAE7_9 = 0;
                 int arg_DAE7_10 = 21;
                 Animation.LoopSettings arg_DAE7_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_DAE7_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_DAE7_13 = true;
                 bool arg_DAE7_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_DA98_0 = array;
                 int arg_DA98_1 = 0;
                 AnimInsCriteria arg_DA93_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DA8E_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_DA98_0[arg_DA98_1] = new AnimationInstruction(arg_DA93_0, new AnimInsEvent(arg_DA8E_0, array2));
                 AnimationInstruction[] arg_DAE2_0 = array;
                 int arg_DAE2_1 = 1;
                 AnimInsCriteria arg_DADD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DAD8_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_DAE2_0[arg_DAE2_1] = new AnimationInstruction(arg_DADD_0, new AnimInsEvent(arg_DAD8_0, array2));
                 arg_DAEC_0[arg_DAEC_1] = new Animation(arg_DAE7_0, arg_DAE7_1, arg_DAE7_2, arg_DAE7_3, arg_DAE7_4, arg_DAE7_5, arg_DAE7_6, arg_DAE7_7, arg_DAE7_8, arg_DAE7_9, arg_DAE7_10, arg_DAE7_11, arg_DAE7_12, arg_DAE7_13, arg_DAE7_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_DBCF_0 = xARC.dixAnimations;
                 ushort arg_DBCF_1 = 0;
                 ushort arg_DBCA_0 = 0;
                 byte arg_DBCA_1 = 1;
                 Texture2D arg_DBCA_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasParticle");
                 Vector2 arg_DBCA_3 = new Vector2(6f, 38f);
                 int arg_DBCA_4 = 5;
                 int arg_DBCA_5 = 11;
                 int arg_DBCA_6 = 11;
                 int arg_DBCA_7 = 40;
                 int arg_DBCA_8 = 0;
                 int arg_DBCA_9 = 0;
                 int arg_DBCA_10 = 21;
                 Animation.LoopSettings arg_DBCA_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_DBCA_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_DBCA_13 = true;
                 bool arg_DBCA_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_DB7B_0 = array;
                 int arg_DB7B_1 = 0;
                 AnimInsCriteria arg_DB76_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DB71_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_DB7B_0[arg_DB7B_1] = new AnimationInstruction(arg_DB76_0, new AnimInsEvent(arg_DB71_0, array2));
                 AnimationInstruction[] arg_DBC5_0 = array;
                 int arg_DBC5_1 = 1;
                 AnimInsCriteria arg_DBC0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     10f
                 });
                 AnimInsEvent.EventType arg_DBBB_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_DBC5_0[arg_DBC5_1] = new AnimationInstruction(arg_DBC0_0, new AnimInsEvent(arg_DBBB_0, array2));
                 arg_DBCF_0[arg_DBCF_1] = new Animation(arg_DBCA_0, arg_DBCA_1, arg_DBCA_2, arg_DBCA_3, arg_DBCA_4, arg_DBCA_5, arg_DBCA_6, arg_DBCA_7, arg_DBCA_8, arg_DBCA_9, arg_DBCA_10, arg_DBCA_11, arg_DBCA_12, arg_DBCA_13, arg_DBCA_14, array);
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_GroundFrost)
         {
             Dictionary<ushort, Animation> arg_DCBC_0 = xARC.dixAnimations;
             ushort arg_DCBC_1 = 0;
             ushort arg_DCB7_0 = 0;
             byte arg_DCB7_1 = 1;
             Texture2D arg_DCB7_2 = GlobalContent.Load<Texture2D>("Sprites/Spells/Frost Spike/Frost/TypeB/Start2");
             Vector2 arg_DCB7_3 = new Vector2(11f, 10f);
             int arg_DCB7_4 = 4;
             int arg_DCB7_5 = 9;
             int arg_DCB7_6 = 21;
             int arg_DCB7_7 = 20;
             int arg_DCB7_8 = 0;
             int arg_DCB7_9 = 0;
             int arg_DCB7_10 = 10;
             Animation.LoopSettings arg_DCB7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_DCB7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_DCB7_13 = false;
             bool arg_DCB7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_DC7C_0 = array;
             int arg_DC7C_1 = 0;
             AnimInsCriteria arg_DC77_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_DC72_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_DC7C_0[arg_DC7C_1] = new AnimationInstruction(arg_DC77_0, new AnimInsEvent(arg_DC72_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_DCBC_0[arg_DCBC_1] = new Animation(arg_DCB7_0, arg_DCB7_1, arg_DCB7_2, arg_DCB7_3, arg_DCB7_4, arg_DCB7_5, arg_DCB7_6, arg_DCB7_7, arg_DCB7_8, arg_DCB7_9, arg_DCB7_10, arg_DCB7_11, arg_DCB7_12, arg_DCB7_13, arg_DCB7_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, GlobalContent.Load<Texture2D>("Sprites/Spells/Frost Spike/Frost/TypeB/End2"), new Vector2(11f, 10f), 4, 9, 21, 20, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Pang1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Pang/Pang"), new Vector2(8f, 8f), 4, 4, 17, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Pang2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Pang/Slow2"), new Vector2(10f, 10f), 4, 4, 19, 19, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Bite1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bite/Bite1"), new Vector2(12f, 19f), 4, 7, 24, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Bite2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bite/Bite4"), new Vector2(16f, 19f), 4, 6, 32, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Bite3)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bite/Bite3"), new Vector2(16f, 19f), 4, 6, 31, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_Meow)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Test_02"), new Vector2(32f, 32f), 4, 32, 64, 64, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_PerfectGuard)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldDamage/Perfect Guard/Down"), new Vector2(11f, 16f), 4, 5, 22, 24, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldDamage/Perfect Guard/Right"), new Vector2(7f, 20f), 4, 5, 15, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, GlobalContent.Load<Texture2D>("Sprites/Heroes/ShieldDamage/Perfect Guard/Right"), new Vector2(7f, 20f), 4, 5, 15, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_BatChew)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Effects/Hit Effects/Bat/Bat"), new Vector2(16f, 16f), 4, 5, 31, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect >= SortedAnimated.SortedAnimatedEffects._HitEffect_SummerOrbParticleSmall && enEffect <= SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleSmall)
         {
             string sType = "Summer";
             if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_AutumnOrbParticleSmall)
             {
                 sType = "Fall";
             }
             else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleSmall)
             {
                 sType = "Winter";
             }
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sType + "/Particle/Small"), new Vector2(4f, 4f), 4, 5, 8, 8, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect >= SortedAnimated.SortedAnimatedEffects._HitEffect_SummerOrbParticleMedium && enEffect <= SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleMedium)
         {
             string sType2 = "Summer";
             if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_AutumnOrbParticleMedium)
             {
                 sType2 = "Fall";
             }
             else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleMedium)
             {
                 sType2 = "Winter";
             }
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sType2 + "/Particle/Mid"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect >= SortedAnimated.SortedAnimatedEffects._HitEffect_SummerOrbParticleBig && enEffect <= SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleBig)
         {
             string sType3 = "Summer";
             if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_AutumnOrbParticleBig)
             {
                 sType3 = "Fall";
             }
             else if (enEffect == SortedAnimated.SortedAnimatedEffects._HitEffect_WinterOrbParticleBig)
             {
                 sType3 = "Winter";
             }
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sType3 + "/Particle/Big"), new Vector2(6f, 6f), 4, 8, 12, 12, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeA)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterLeft)
         {
             Animation anim147 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Top/Water/Left"), Vector2.Zero, 6, 10, 282, 100, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim147.iID, anim147);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterRight)
         {
             Animation anim148 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Top/Water/Right"), Vector2.Zero, 6, 10, 157, 109, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim148.iID, anim148);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainTop_WaterCave)
         {
             Animation anim149 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Top/Water/Cave"), Vector2.Zero, 6, 10, 66, 40, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim149.iID, anim149);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainMid_WaterLeft)
         {
             Animation anim150 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Mid/Water/Water"), Vector2.Zero, 6, 10, 502, 118, 0, 0, 2, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim150.iID, anim150);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainMid_WaterRight)
         {
             Animation anim151 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Mid/Water/Pond"), Vector2.Zero, 6, 10, 306, 78, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim151.iID, anim151);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterLeft)
         {
             Animation anim152 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/Left"), Vector2.Zero, 6, 10, 84, 237, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim152.iID, anim152);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterRight)
         {
             Animation anim153 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/Right"), Vector2.Zero, 6, 10, 152, 235, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim153.iID, anim153);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterBridge)
         {
             Animation anim154 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/Bridge"), Vector2.Zero, 6, 10, 275, 21, 0, 0, 2, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim154.iID, anim154);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_PillarMountainBot_WaterBridgeUnder)
         {
             Animation anim155 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/PathDown/Bottom/Water/BridgeUnder"), Vector2.Zero, 8, 10, 150, 29, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim155.iID, anim155);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_Fountain)
         {
             Animation anim156 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Stuff/fountain"), new Vector2(4f, 17f), 6, 8, 64, 64, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim156.iID, anim156);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQ_MasterDoor)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 1, 67, 70, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 6, 67, 70, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 1, 67, 70, 335, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_E76D_0 = xARC.dixAnimations;
             ushort arg_E76D_1 = 3;
             ushort arg_E768_0 = 3;
             byte arg_E768_1 = 0;
             Texture2D arg_E768_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen");
             Vector2 arg_E768_3 = new Vector2(33f, 68f);
             int arg_E768_4 = 5;
             int arg_E768_5 = 6;
             int arg_E768_6 = 67;
             int arg_E768_7 = 70;
             int arg_E768_8 = 0;
             int arg_E768_9 = 0;
             int arg_E768_10 = 100;
             Animation.LoopSettings arg_E768_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_E768_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_E768_13 = false;
             bool arg_E768_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_E763_0 = array;
             int arg_E763_1 = 0;
             AnimInsCriteria arg_E75E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_E759_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_E763_0[arg_E763_1] = new AnimationInstruction(arg_E75E_0, new AnimInsEvent(arg_E759_0, array2));
             arg_E76D_0[arg_E76D_1] = new Animation(arg_E768_0, arg_E768_1, arg_E768_2, arg_E768_3, arg_E768_4, arg_E768_5, arg_E768_6, arg_E768_7, arg_E768_8, arg_E768_9, arg_E768_10, arg_E768_11, arg_E768_12, arg_E768_13, arg_E768_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.dixAnimations[4] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 2, 67, 70, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[5] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/dooropen"), new Vector2(33f, 68f), 5, 4, 67, 70, 134, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQMaster_Sword)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Masterroom/SwordGlem"), new Vector2(23f, 28f), 4, 1, 46, 53, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_E911_0 = xARC.dixAnimations;
             ushort arg_E911_1 = 1;
             ushort arg_E90C_0 = 1;
             byte arg_E90C_1 = 0;
             Texture2D arg_E90C_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Masterroom/SwordGlem");
             Vector2 arg_E90C_3 = new Vector2(23f, 28f);
             int arg_E90C_4 = 4;
             int arg_E90C_5 = 8;
             int arg_E90C_6 = 46;
             int arg_E90C_7 = 53;
             int arg_E90C_8 = 0;
             int arg_E90C_9 = 0;
             int arg_E90C_10 = 100;
             Animation.LoopSettings arg_E90C_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_E90C_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_E90C_13 = false;
             bool arg_E90C_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_E907_0 = array;
             int arg_E907_1 = 0;
             AnimInsCriteria arg_E902_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_E8FD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_E907_0[arg_E907_1] = new AnimationInstruction(arg_E902_0, new AnimInsEvent(arg_E8FD_0, array2));
             arg_E911_0[arg_E911_1] = new Animation(arg_E90C_0, arg_E90C_1, arg_E90C_2, arg_E90C_3, arg_E90C_4, arg_E90C_5, arg_E90C_6, arg_E90C_7, arg_E90C_8, arg_E90C_9, arg_E90C_10, arg_E90C_11, arg_E90C_12, arg_E90C_13, arg_E90C_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQMaster_Skull)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Masterroom/SkullLantern"), new Vector2(12f, 18f), 8, 5, 25, 27, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_FloorLight)
         {
             Dictionary<ushort, Animation> arg_EA39_0 = xARC.dixAnimations;
             ushort arg_EA39_1 = 0;
             ushort arg_EA34_0 = 0;
             byte arg_EA34_1 = 0;
             Texture2D arg_EA34_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/Light");
             Vector2 arg_EA34_3 = new Vector2(0f, 0f);
             int arg_EA34_4 = 4;
             int arg_EA34_5 = 10;
             int arg_EA34_6 = 20;
             int arg_EA34_7 = 21;
             int arg_EA34_8 = 0;
             int arg_EA34_9 = 0;
             int arg_EA34_10 = 100;
             Animation.LoopSettings arg_EA34_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_EA34_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_EA34_13 = false;
             bool arg_EA34_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_EA2F_0 = array;
             int arg_EA2F_1 = 1;
             AnimInsCriteria arg_EA2A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_EA25_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_EA2F_0[arg_EA2F_1] = new AnimationInstruction(arg_EA2A_0, new AnimInsEvent(arg_EA25_0, array2));
             arg_EA39_0[arg_EA39_1] = new Animation(arg_EA34_0, arg_EA34_1, arg_EA34_2, arg_EA34_3, arg_EA34_4, arg_EA34_5, arg_EA34_6, arg_EA34_7, arg_EA34_8, arg_EA34_9, arg_EA34_10, arg_EA34_11, arg_EA34_12, arg_EA34_13, arg_EA34_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_Machine)
         {
             Dictionary<ushort, Animation> arg_EB0A_0 = xARC.dixAnimations;
             ushort arg_EB0A_1 = 0;
             ushort arg_EB05_0 = 0;
             byte arg_EB05_1 = 0;
             Texture2D arg_EB05_2 = Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/Machine");
             Vector2 arg_EB05_3 = new Vector2(0f, 0f);
             int arg_EB05_4 = 4;
             int arg_EB05_5 = 24;
             int arg_EB05_6 = 20;
             int arg_EB05_7 = 29;
             int arg_EB05_8 = 0;
             int arg_EB05_9 = 0;
             int arg_EB05_10 = 100;
             Animation.LoopSettings arg_EB05_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_EB05_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_EB05_13 = false;
             bool arg_EB05_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 24f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_EB00_0 = array;
             int arg_EB00_1 = 1;
             AnimInsCriteria arg_EAFB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_EAF6_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_EB00_0[arg_EB00_1] = new AnimationInstruction(arg_EAFB_0, new AnimInsEvent(arg_EAF6_0, array2));
             arg_EB0A_0[arg_EB0A_1] = new Animation(arg_EB05_0, arg_EB05_1, arg_EB05_2, arg_EB05_3, arg_EB05_4, arg_EB05_5, arg_EB05_6, arg_EB05_7, arg_EB05_8, arg_EB05_9, arg_EB05_10, arg_EB05_11, arg_EB05_12, arg_EB05_13, arg_EB05_14, array);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_ScreenA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/ScreenA"), new Vector2(0f, 0f), 4, 11, 31, 12, 0, 4, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindHQLab_ScreenB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone010_CollectorsHQ/Lab/Props/ScreenB"), new Vector2(0f, 0f), 4, 11, 22, 25, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Blue)
         {
             Animation anim157 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Blue"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim157.iID, anim157);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Red)
         {
             Animation anim158 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Red"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim158.iID, anim158);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Green)
         {
             Animation anim159 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Green"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim159.iID, anim159);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonSingle_Yellow)
         {
             Animation anim160 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Single/Yellow"), new Vector2(10f, 36f), 5, 20, 21, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim160.iID, anim160);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_A)
         {
             Animation anim161 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterA"), new Vector2(18f, 40f), 5, 20, 36, 41, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim161.iID, anim161);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_B)
         {
             Animation anim162 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterB"), new Vector2(18f, 40f), 5, 20, 36, 41, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim162.iID, anim162);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_C)
         {
             Animation anim163 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterC"), new Vector2(18f, 46f), 5, 20, 37, 47, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim163.iID, anim163);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_BalloonCluster_D)
         {
             Animation anim164 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Ballons/Cluster/ClusterD"), new Vector2(19f, 52f), 5, 20, 40, 53, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim164.iID, anim164);
             iFastForward = Program.GetTheGame().randomInVisual.Next(10);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_SmithWater)
         {
             Animation anim165 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/Watertank_Water"), new Vector2(1f, 35f), 6, 10, 26, 45, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim165.iID, anim165);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_Jordglob)
         {
             Animation anim166 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Evergrind City/School/jordgubb"), new Vector2(21f, 37f), 4, 27, 43, 50, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim166.iID, anim166);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WindowCleaner)
         {
             Animation anim167 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/HQ/WindowClean/Idle"), new Vector2(9f, 33f), 5, 6, 29, 37, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim167.iID, anim167);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge01_House)
         {
             Animation anim168 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/House"), Vector2.Zero, 6, 10, 202, 29, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim168.iID, anim168);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge02_LeftBottom)
         {
             Animation anim169 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftBottom"), Vector2.Zero, 6, 10, 36, 59, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim169.iID, anim169);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge03_LeftMid)
         {
             Animation anim170 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftMid"), Vector2.Zero, 6, 10, 10, 377, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim170.iID, anim170);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge04_LeftTop)
         {
             Animation anim171 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftTop"), Vector2.Zero, 6, 10, 8, 192, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim171.iID, anim171);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge05_LeftWall)
         {
             Animation anim172 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/LeftWall"), Vector2.Zero, 6, 10, 50, 16, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim172.iID, anim172);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge06_Library)
         {
             Animation anim173 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/Library"), Vector2.Zero, 6, 10, 13, 39, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim173.iID, anim173);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge07_RightBottom)
         {
             Animation anim174 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightBottom"), Vector2.Zero, 6, 10, 39, 60, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim174.iID, anim174);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge08_RightMid)
         {
             Animation anim175 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightMid"), Vector2.Zero, 6, 10, 11, 389, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim175.iID, anim175);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge09_RightTop)
         {
             Animation anim176 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightTop"), Vector2.Zero, 6, 10, 10, 157, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim176.iID, anim176);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindCity_WaterEdge10_RightWall)
         {
             Animation anim177 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone005_City/Water/RightWall"), Vector2.Zero, 6, 10, 60, 16, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim177.iID, anim177);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_LeftDoor1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1"), new Vector2(19f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1"), new Vector2(19f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1"), new Vector2(19f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -50f;
             Dictionary<ushort, Animation> arg_F4FC_0 = xARC.dixAnimations;
             ushort arg_F4FC_1 = 3;
             ushort arg_F4F7_0 = 3;
             byte arg_F4F7_1 = 0;
             Texture2D arg_F4F7_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left1");
             Vector2 arg_F4F7_3 = new Vector2(19f, 70f);
             int arg_F4F7_4 = 5;
             int arg_F4F7_5 = 10;
             int arg_F4F7_6 = 59;
             int arg_F4F7_7 = 101;
             int arg_F4F7_8 = 0;
             int arg_F4F7_9 = 0;
             int arg_F4F7_10 = 100;
             Animation.LoopSettings arg_F4F7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F4F7_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F4F7_13 = false;
             bool arg_F4F7_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F4F2_0 = array;
             int arg_F4F2_1 = 0;
             AnimInsCriteria arg_F4ED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F4E8_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F4F2_0[arg_F4F2_1] = new AnimationInstruction(arg_F4ED_0, new AnimInsEvent(arg_F4E8_0, array2));
             arg_F4FC_0[arg_F4FC_1] = new Animation(arg_F4F7_0, arg_F4F7_1, arg_F4F7_2, arg_F4F7_3, arg_F4F7_4, arg_F4F7_5, arg_F4F7_6, arg_F4F7_7, arg_F4F7_8, arg_F4F7_9, arg_F4F7_10, arg_F4F7_11, arg_F4F7_12, arg_F4F7_13, arg_F4F7_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_LeftDoor2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2"), new Vector2(19f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2"), new Vector2(19f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2"), new Vector2(19f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_F69B_0 = xARC.dixAnimations;
             ushort arg_F69B_1 = 3;
             ushort arg_F696_0 = 3;
             byte arg_F696_1 = 0;
             Texture2D arg_F696_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Left2");
             Vector2 arg_F696_3 = new Vector2(19f, 70f);
             int arg_F696_4 = 5;
             int arg_F696_5 = 10;
             int arg_F696_6 = 59;
             int arg_F696_7 = 101;
             int arg_F696_8 = 0;
             int arg_F696_9 = 0;
             int arg_F696_10 = 100;
             Animation.LoopSettings arg_F696_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F696_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F696_13 = false;
             bool arg_F696_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F691_0 = array;
             int arg_F691_1 = 0;
             AnimInsCriteria arg_F68C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F687_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F691_0[arg_F691_1] = new AnimationInstruction(arg_F68C_0, new AnimInsEvent(arg_F687_0, array2));
             arg_F69B_0[arg_F69B_1] = new Animation(arg_F696_0, arg_F696_1, arg_F696_2, arg_F696_3, arg_F696_4, arg_F696_5, arg_F696_6, arg_F696_7, arg_F696_8, arg_F696_9, arg_F696_10, arg_F696_11, arg_F696_12, arg_F696_13, arg_F696_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_RightDoor1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1"), new Vector2(40f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1"), new Vector2(40f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1"), new Vector2(40f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_F845_0 = xARC.dixAnimations;
             ushort arg_F845_1 = 3;
             ushort arg_F840_0 = 3;
             byte arg_F840_1 = 0;
             Texture2D arg_F840_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right1");
             Vector2 arg_F840_3 = new Vector2(40f, 70f);
             int arg_F840_4 = 5;
             int arg_F840_5 = 10;
             int arg_F840_6 = 59;
             int arg_F840_7 = 101;
             int arg_F840_8 = 0;
             int arg_F840_9 = 0;
             int arg_F840_10 = 100;
             Animation.LoopSettings arg_F840_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F840_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F840_13 = false;
             bool arg_F840_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F83B_0 = array;
             int arg_F83B_1 = 0;
             AnimInsCriteria arg_F836_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F831_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F83B_0[arg_F83B_1] = new AnimationInstruction(arg_F836_0, new AnimInsEvent(arg_F831_0, array2));
             arg_F845_0[arg_F845_1] = new Animation(arg_F840_0, arg_F840_1, arg_F840_2, arg_F840_3, arg_F840_4, arg_F840_5, arg_F840_6, arg_F840_7, arg_F840_8, arg_F840_9, arg_F840_10, arg_F840_11, arg_F840_12, arg_F840_13, arg_F840_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_RightDoor2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2"), new Vector2(40f, 70f), 5, 1, 59, 101, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2"), new Vector2(40f, 70f), 5, 10, 59, 101, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2"), new Vector2(40f, 70f), 5, 1, 59, 101, 531, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_F9EF_0 = xARC.dixAnimations;
             ushort arg_F9EF_1 = 3;
             ushort arg_F9EA_0 = 3;
             byte arg_F9EA_1 = 0;
             Texture2D arg_F9EA_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Right2");
             Vector2 arg_F9EA_3 = new Vector2(40f, 70f);
             int arg_F9EA_4 = 5;
             int arg_F9EA_5 = 10;
             int arg_F9EA_6 = 59;
             int arg_F9EA_7 = 101;
             int arg_F9EA_8 = 0;
             int arg_F9EA_9 = 0;
             int arg_F9EA_10 = 100;
             Animation.LoopSettings arg_F9EA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_F9EA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_F9EA_13 = false;
             bool arg_F9EA_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_F9E5_0 = array;
             int arg_F9E5_1 = 0;
             AnimInsCriteria arg_F9E0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_F9DB_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_F9E5_0[arg_F9E5_1] = new AnimationInstruction(arg_F9E0_0, new AnimInsEvent(arg_F9DB_0, array2));
             arg_F9EF_0[arg_F9EF_1] = new Animation(arg_F9EA_0, arg_F9EA_1, arg_F9EA_2, arg_F9EA_3, arg_F9EA_4, arg_F9EA_5, arg_F9EA_6, arg_F9EA_7, arg_F9EA_8, arg_F9EA_9, arg_F9EA_10, arg_F9EA_11, arg_F9EA_12, arg_F9EA_13, arg_F9EA_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindArena_TopDoor)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid"), new Vector2(33f, 64f), 5, 1, 67, 93, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid"), new Vector2(33f, 64f), 5, 10, 67, 93, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid"), new Vector2(33f, 64f), 5, 1, 67, 93, 603, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_FB99_0 = xARC.dixAnimations;
             ushort arg_FB99_1 = 3;
             ushort arg_FB94_0 = 3;
             byte arg_FB94_1 = 0;
             Texture2D arg_FB94_2 = Content.Load<Texture2D>("Bkg/Zone006_Arena/Doors/Mid");
             Vector2 arg_FB94_3 = new Vector2(33f, 64f);
             int arg_FB94_4 = 5;
             int arg_FB94_5 = 10;
             int arg_FB94_6 = 67;
             int arg_FB94_7 = 93;
             int arg_FB94_8 = 0;
             int arg_FB94_9 = 0;
             int arg_FB94_10 = 100;
             Animation.LoopSettings arg_FB94_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_FB94_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_FB94_13 = false;
             bool arg_FB94_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_FB8F_0 = array;
             int arg_FB8F_1 = 0;
             AnimInsCriteria arg_FB8A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_FB85_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_FB8F_0[arg_FB8F_1] = new AnimationInstruction(arg_FB8A_0, new AnimInsEvent(arg_FB85_0, array2));
             arg_FB99_0[arg_FB99_1] = new Animation(arg_FB94_0, arg_FB94_1, arg_FB94_2, arg_FB94_3, arg_FB94_4, arg_FB94_5, arg_FB94_6, arg_FB94_7, arg_FB94_8, arg_FB94_9, arg_FB94_10, arg_FB94_11, arg_FB94_12, arg_FB94_13, arg_FB94_14, array);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.fVirtualHeight = -50f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge01_BotLeftBot)
         {
             Animation anim178 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotLeftBot"), Vector2.Zero, 6, 10, 25, 60, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim178.iID, anim178);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge02_BotLong)
         {
             Animation anim179 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotLong"), Vector2.Zero, 6, 10, 440, 23, 0, 0, 2, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim179.iID, anim179);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge03_BotRightBot)
         {
             Animation anim180 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotRightBot"), Vector2.Zero, 6, 10, 32, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim180.iID, anim180);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge04_BotRightTop)
         {
             Animation anim181 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/BotRightTop"), Vector2.Zero, 6, 10, 59, 77, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim181.iID, anim181);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge05_Mid)
         {
             Animation anim182 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/Mid"), Vector2.Zero, 6, 10, 54, 159, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim182.iID, anim182);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_WaterEdge06_Top)
         {
             Animation anim183 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Water/Top"), Vector2.Zero, 6, 10, 54, 155, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim183.iID, anim183);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindSouth_MarinoGate)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Gate/Open"), new Vector2(41f, 57f), 4, 1, 99, 68, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Gate/Open"), new Vector2(41f, 57f), 4, 7, 99, 68, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone011_EvergrindSouth/Gate/Close"), new Vector2(41f, 57f), 4, 5, 99, 68, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree01)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran02"), new Vector2(24f, 54f), 4, 1, 49, 57, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 20, 51, 90, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Walk"), new Vector2(28f, 65f), 4, 10, 55, 72, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_FFD1_0 = xARC.dixAnimations;
             ushort arg_FFD1_1 = 3;
             ushort arg_FFCC_0 = 3;
             byte arg_FFCC_1 = 0;
             Texture2D arg_FFCC_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/End");
             Vector2 arg_FFCC_3 = new Vector2(26f, 83f);
             int arg_FFCC_4 = 4;
             int arg_FFCC_5 = 12;
             int arg_FFCC_6 = 51;
             int arg_FFCC_7 = 90;
             int arg_FFCC_8 = 0;
             int arg_FFCC_9 = 0;
             int arg_FFCC_10 = 100;
             Animation.LoopSettings arg_FFCC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_FFCC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_FFCC_13 = false;
             bool arg_FFCC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_FFC7_0 = array;
             int arg_FFC7_1 = 0;
             AnimInsCriteria arg_FFC2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_FFBD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_FFC7_0[arg_FFC7_1] = new AnimationInstruction(arg_FFC2_0, new AnimInsEvent(arg_FFBD_0, array2));
             arg_FFD1_0[arg_FFD1_1] = new Animation(arg_FFCC_0, arg_FFCC_1, arg_FFCC_2, arg_FFCC_3, arg_FFCC_4, arg_FFCC_5, arg_FFCC_6, arg_FFCC_7, arg_FFCC_8, arg_FFCC_9, arg_FFCC_10, arg_FFCC_11, arg_FFCC_12, arg_FFCC_13, arg_FFCC_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree02)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 1, 102, 90, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 10, 102, 90, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Walk"), new Vector2(28f, 65f), 4, 10, 55, 72, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_10122_0 = xARC.dixAnimations;
             ushort arg_10122_1 = 3;
             ushort arg_1011D_0 = 3;
             byte arg_1011D_1 = 0;
             Texture2D arg_1011D_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/End");
             Vector2 arg_1011D_3 = new Vector2(26f, 83f);
             int arg_1011D_4 = 4;
             int arg_1011D_5 = 12;
             int arg_1011D_6 = 51;
             int arg_1011D_7 = 90;
             int arg_1011D_8 = 0;
             int arg_1011D_9 = 0;
             int arg_1011D_10 = 100;
             Animation.LoopSettings arg_1011D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1011D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1011D_13 = false;
             bool arg_1011D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_10118_0 = array;
             int arg_10118_1 = 0;
             AnimInsCriteria arg_10113_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1010E_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_10118_0[arg_10118_1] = new AnimationInstruction(arg_10113_0, new AnimInsEvent(arg_1010E_0, array2));
             arg_10122_0[arg_10122_1] = new Animation(arg_1011D_0, arg_1011D_1, arg_1011D_2, arg_1011D_3, arg_1011D_4, arg_1011D_5, arg_1011D_6, arg_1011D_7, arg_1011D_8, arg_1011D_9, arg_1011D_10, arg_1011D_11, arg_1011D_12, arg_1011D_13, arg_1011D_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree03)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 1, 102, 90, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Start"), new Vector2(26f, 85f), 4, 10, 102, 90, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/Walk"), new Vector2(28f, 65f), 4, 10, 55, 72, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_10273_0 = xARC.dixAnimations;
             ushort arg_10273_1 = 3;
             ushort arg_1026E_0 = 3;
             byte arg_1026E_1 = 0;
             Texture2D arg_1026E_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/WalkingTree/End");
             Vector2 arg_1026E_3 = new Vector2(26f, 83f);
             int arg_1026E_4 = 4;
             int arg_1026E_5 = 12;
             int arg_1026E_6 = 51;
             int arg_1026E_7 = 90;
             int arg_1026E_8 = 0;
             int arg_1026E_9 = 0;
             int arg_1026E_10 = 100;
             Animation.LoopSettings arg_1026E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1026E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1026E_13 = false;
             bool arg_1026E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_10269_0 = array;
             int arg_10269_1 = 0;
             AnimInsCriteria arg_10264_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1025F_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_10269_0[arg_10269_1] = new AnimationInstruction(arg_10264_0, new AnimInsEvent(arg_1025F_0, array2));
             arg_10273_0[arg_10273_1] = new Animation(arg_1026E_0, arg_1026E_1, arg_1026E_2, arg_1026E_3, arg_1026E_4, arg_1026E_5, arg_1026E_6, arg_1026E_7, arg_1026E_8, arg_1026E_9, arg_1026E_10, arg_1026E_11, arg_1026E_12, arg_1026E_13, arg_1026E_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_WalkingTree04)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran01"), new Vector2(24f, 54f), 4, 1, 49, 57, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran04"), new Vector2(41f, 57f), 4, 7, 99, 68, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Winterland/gran04"), new Vector2(41f, 57f), 4, 5, 99, 68, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_103C1_0 = xARC.dixAnimations;
             ushort arg_103C1_1 = 3;
             ushort arg_103BC_0 = 3;
             byte arg_103BC_1 = 0;
             Texture2D arg_103BC_2 = Content.Load<Texture2D>("Sprites/Environment/Winterland/gran04");
             Vector2 arg_103BC_3 = new Vector2(41f, 57f);
             int arg_103BC_4 = 4;
             int arg_103BC_5 = 5;
             int arg_103BC_6 = 99;
             int arg_103BC_7 = 68;
             int arg_103BC_8 = 0;
             int arg_103BC_9 = 0;
             int arg_103BC_10 = 100;
             Animation.LoopSettings arg_103BC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_103BC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_103BC_13 = false;
             bool arg_103BC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_103B7_0 = array;
             int arg_103B7_1 = 0;
             AnimInsCriteria arg_103B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_103AD_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_103B7_0[arg_103B7_1] = new AnimationInstruction(arg_103B2_0, new AnimInsEvent(arg_103AD_0, array2));
             arg_103C1_0[arg_103C1_1] = new Animation(arg_103BC_0, arg_103BC_1, arg_103BC_2, arg_103BC_3, arg_103BC_4, arg_103BC_5, arg_103BC_6, arg_103BC_7, arg_103BC_8, arg_103BC_9, arg_103BC_10, arg_103BC_11, arg_103BC_12, arg_103BC_13, arg_103BC_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_Bell)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Bell"), new Vector2(10f, 0f), 4, 1, 19, 15, 190, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_10492_0 = xARC.dixAnimations;
             ushort arg_10492_1 = 1;
             ushort arg_1048D_0 = 1;
             byte arg_1048D_1 = 0;
             Texture2D arg_1048D_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Bell");
             Vector2 arg_1048D_3 = new Vector2(10f, 0f);
             int arg_1048D_4 = 4;
             int arg_1048D_5 = 11;
             int arg_1048D_6 = 19;
             int arg_1048D_7 = 15;
             int arg_1048D_8 = 0;
             int arg_1048D_9 = 0;
             int arg_1048D_10 = 50;
             Animation.LoopSettings arg_1048D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1048D_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1048D_13 = true;
             bool arg_1048D_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_10488_0 = array;
             int arg_10488_1 = 0;
             AnimInsCriteria arg_10483_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1047E_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_10488_0[arg_10488_1] = new AnimationInstruction(arg_10483_0, new AnimInsEvent(arg_1047E_0, array2));
             arg_10492_0.Add(arg_10492_1, new Animation(arg_1048D_0, arg_1048D_1, arg_1048D_2, arg_1048D_3, arg_1048D_4, arg_1048D_5, arg_1048D_6, arg_1048D_7, arg_1048D_8, arg_1048D_9, arg_1048D_10, arg_1048D_11, arg_1048D_12, arg_1048D_13, arg_1048D_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls01)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/LeftA"), new Vector2(0f, 0f), 4, 30, 75, 19, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls02)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/LeftB"), new Vector2(0f, 0f), 4, 30, 69, 23, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls03)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/RightA"), new Vector2(0f, 0f), 4, 30, 72, 23, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryBalls04)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Lights/RightB"), new Vector2(0f, 0f), 4, 30, 75, 18, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryChimneyMedium)
         {
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_106F7_0 = xARC.dixAnimations;
             ushort arg_106F7_1 = 0;
             ushort arg_106F2_0 = 0;
             byte arg_106F2_1 = 0;
             Texture2D arg_106F2_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/ChimneyMid");
             Vector2 arg_106F2_3 = new Vector2(20f, 36f);
             int arg_106F2_4 = 4;
             int arg_106F2_5 = 9;
             int arg_106F2_6 = 40;
             int arg_106F2_7 = 43;
             int arg_106F2_8 = 0;
             int arg_106F2_9 = 0;
             int arg_106F2_10 = 100;
             Animation.LoopSettings arg_106F2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_106F2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_106F2_13 = false;
             bool arg_106F2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             }), new AnimInsEvent(new AnimInsEvent.DelegateFunction(AnimationDelegateFunctions._Winterland_ChimneySmoke_Medium)));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_106ED_0 = array;
             int arg_106ED_1 = 2;
             AnimInsCriteria arg_106E8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_106E3_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_106ED_0[arg_106ED_1] = new AnimationInstruction(arg_106E8_0, new AnimInsEvent(arg_106E3_0, array2));
             arg_106F7_0[arg_106F7_1] = new Animation(arg_106F2_0, arg_106F2_1, arg_106F2_2, arg_106F2_3, arg_106F2_4, arg_106F2_5, arg_106F2_6, arg_106F2_7, arg_106F2_8, arg_106F2_9, arg_106F2_10, arg_106F2_11, arg_106F2_12, arg_106F2_13, arg_106F2_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryChimneySmall)
         {
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_10808_0 = xARC.dixAnimations;
             ushort arg_10808_1 = 0;
             ushort arg_10803_0 = 0;
             byte arg_10803_1 = 0;
             Texture2D arg_10803_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/ChimneySmall");
             Vector2 arg_10803_3 = new Vector2(19f, 31f);
             int arg_10803_4 = 4;
             int arg_10803_5 = 9;
             int arg_10803_6 = 38;
             int arg_10803_7 = 37;
             int arg_10803_8 = 0;
             int arg_10803_9 = 0;
             int arg_10803_10 = 100;
             Animation.LoopSettings arg_10803_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_10803_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_10803_13 = false;
             bool arg_10803_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             }), new AnimInsEvent(new AnimInsEvent.DelegateFunction(AnimationDelegateFunctions._Winterland_ChimneySmoke_Small)));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 60f
             }));
             AnimationInstruction[] arg_107FE_0 = array;
             int arg_107FE_1 = 2;
             AnimInsCriteria arg_107F9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_107F4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_107FE_0[arg_107FE_1] = new AnimationInstruction(arg_107F9_0, new AnimInsEvent(arg_107F4_0, array2));
             arg_10808_0[arg_10808_1] = new Animation(arg_10803_0, arg_10803_1, arg_10803_2, arg_10803_3, arg_10803_4, arg_10803_5, arg_10803_6, arg_10803_7, arg_10803_8, arg_10803_9, arg_10803_10, arg_10803_11, arg_10803_12, arg_10803_13, arg_10803_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_Winterland_FactoryWheel)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Outside/Cog"), new Vector2(4f, 41f), 6, 4, 53, 59, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBelt)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Rullband"), new Vector2(0f, 11f), 4, 5, 48, 35, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Rullband"), new Vector2(48f, 11f), 4, 5, 48, 35, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_ConveyorBeltMachine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(0f, 50f), 4, 1, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(0f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Idle"), new Vector2(0f, 50f), 4, 7, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(0f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].bReversePlayback = true;
             xARC.dixAnimations[10] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(22f, 50f), 4, 1, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[10].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[11] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(22f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     12f
                 }))
             });
             xARC.dixAnimations[11].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[12] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Idle"), new Vector2(22f, 50f), 4, 7, 22, 69, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[12].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[13] = new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Maskin/Start"), new Vector2(22f, 50f), 4, 6, 22, 69, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[13].bReversePlayback = true;
             xARC.dixAnimations[13].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight = 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_WarningLamp)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Train Lamps/Down/Start"), new Vector2(30f, 30f), 4, 1, 61, 61, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Train Lamps/Down/Start"), new Vector2(30f, 30f), 4, 7, 61, 61, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Train Lamps/Down/Idle"), new Vector2(30f, 30f), 6, 4, 61, 61, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_FallingDoor)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/BreakSide"), new Vector2(67f, 70f), 4, 1, 67, 85, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/BreakSide"), new Vector2(67f, 70f), 5, 7, 67, 85, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/BreakSide"), new Vector2(67f, 70f), 4, 1, 67, 85, 402, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainEngineDeath_Body)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Train/Dead/Body"), new Vector2(10f, 34f), 4, 9, 20, 38, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainEngineDeath_Chimney)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Train/Dead/Chimney"), new Vector2(9f, 33f), 4, 14, 17, 38, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainEngineDeath_Wheel)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Train/Dead/Wheel"), new Vector2(7f, 31f), 4, 14, 13, 34, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainCartDeath_BodyA)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Cart/Dead/BodyA"), new Vector2(11f, 35f), 4, 9, 21, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_TrainCartDeath_BodyB)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Cart/Dead/BodyB"), new Vector2(11f, 35f), 4, 10, 21, 40, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_FakeJar)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Jar"), new Vector2(8f, 15f), 4, 1, 17, 21, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, new Vector2(8f, 15f), 4, 1, 17, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_EntranceButton)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 1, 41, 37, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 3, 41, 37, 41, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 1, 41, 37, 123, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Button/Button"), Vector2.Zero, 4, 4, 41, 37, 164, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Frame"), new Vector2(0f, 52f), 4, 1, 105, 52, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/FrameBreak"), new Vector2(0f, 52f), 4, 1, 105, 52, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomMachinery)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Machines"), Vector2.Zero, 4, 10, 65, 36, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomMachinery_Small)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/MachineFront"), new Vector2(7f, 8f), 4, 10, 32, 8, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FallingDoor)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Door"), new Vector2(29f, 36f), 4, 5, 29, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FrostlingLevers)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Frostling"), new Vector2(5f, 26f), 4, 9, 27, 26, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/FrostlingMachine"), new Vector2(1f, 12f), 4, 1, 19, 12, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FightCloud)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/Fight"), new Vector2(27f, 51f), 4, 8, 94, 73, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_GlassBreak)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Machine Room Window/WindowBreak"), new Vector2(0f, 58f), 4, 11, 61, 72, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_ToyFactory_BossRoomWindow_FrostlingFly)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(19f, 29f), 4, 12, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Dead/Right"), new Vector2(19f, 29f), 4, 12, 36, 34, 0, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(MONSTER_PATH + "Winterland/Frostling Rogue/Dead/Right"), new Vector2(19f, 29f), 4, 1, 36, 34, 396, 0, 16, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_HalloweenForest_WaterCave)
         {
             Animation anim184 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/Cave"), Vector2.Zero, 6, 10, 46, 19, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim184.iID, anim184);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_HalloweenForest_WaterPond)
         {
             Animation anim185 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone008_HalloForest/Water/Water"), Vector2.Zero, 6, 10, 217, 47, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim185.iID, anim185);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_HalloweenForest_StatueStuff)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Statue_ChargeA"), new Vector2(31f, 87f), 4, 5, 59, 98, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Statue_ChargeB"), new Vector2(31f, 87f), 4, 4, 59, 98, 0, 0, 5, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Halloween Forest/Statue_Wings"), new Vector2(77f, 116f), 4, 50, 152, 127, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_SpawnTeleportPlate)
         {
             ushort arg_1186F_0 = 0;
             byte arg_1186F_1 = 0;
             Texture2D arg_1186F_2 = Content.Load<Texture2D>("Sprites/NPC/Bag/ThrowUp/Plate");
             Vector2 arg_1186F_3 = new Vector2(29f, 31f);
             int arg_1186F_4 = 4;
             int arg_1186F_5 = 17;
             int arg_1186F_6 = 60;
             int arg_1186F_7 = 57;
             int arg_1186F_8 = 0;
             int arg_1186F_9 = 0;
             int arg_1186F_10 = 17;
             Animation.LoopSettings arg_1186F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1186F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1186F_13 = false;
             bool arg_1186F_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_117C2_0 = array;
             int arg_117C2_1 = 0;
             AnimInsCriteria arg_117BD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_117B8_0 = AnimInsEvent.EventType.AdjustPosition;
             float[] array2 = new float[2];
             array2[0] = -2f;
             arg_117C2_0[arg_117C2_1] = new AnimationInstruction(arg_117BD_0, new AnimInsEvent(arg_117B8_0, array2));
             AnimationInstruction[] arg_11816_0 = array;
             int arg_11816_1 = 1;
             AnimInsCriteria arg_11811_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 6f
             });
             AnimInsEvent.EventType arg_1180C_0 = AnimInsEvent.EventType.AdjustPosition;
             array2 = new float[2];
             array2[0] = -2f;
             arg_11816_0[arg_11816_1] = new AnimationInstruction(arg_11811_0, new AnimInsEvent(arg_1180C_0, array2));
             AnimationInstruction[] arg_1186A_0 = array;
             int arg_1186A_1 = 2;
             AnimInsCriteria arg_11865_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 7f,
                 10f
             });
             AnimInsEvent.EventType arg_11860_0 = AnimInsEvent.EventType.AdjustPosition;
             array2 = new float[2];
             array2[0] = -1f;
             arg_1186A_0[arg_1186A_1] = new AnimationInstruction(arg_11865_0, new AnimInsEvent(arg_11860_0, array2));
             Animation anim186 = new Animation(arg_1186F_0, arg_1186F_1, arg_1186F_2, arg_1186F_3, arg_1186F_4, arg_1186F_5, arg_1186F_6, arg_1186F_7, arg_1186F_8, arg_1186F_9, arg_1186F_10, arg_1186F_11, arg_1186F_12, arg_1186F_13, arg_1186F_14, array);
             xARC.dixAnimations.Add(anim186.iID, anim186);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RankSmall)
         {
             Animation anim187 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Ranksmall"), new Vector2(6f, 1f), 4, 12, 14, 15, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim187.iID, anim187);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RankMedium)
         {
             Animation anim188 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rankmid"), new Vector2(8f, 1f), 5, 12, 16, 26, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim188.iID, anim188);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RankBig)
         {
             Animation anim189 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rankbig"), new Vector2(7f, 1f), 5, 12, 16, 36, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim189.iID, anim189);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_SandFallA)
         {
             Animation anim190 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Dust"), new Vector2(14f, -2f), 5, 13, 24, 27, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim190.iID, anim190);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockSmall)
         {
             Animation anim191 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rocksmall"), new Vector2(4f, 4f), 5 + Program.game.randomInVisual.Next(3), 4, 7, 7, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim191.iID, anim191);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockMedium)
         {
             Animation anim192 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rockmid"), new Vector2(6f, 5f), 5 + Program.game.randomInVisual.Next(3), 4, 11, 10, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim192.iID, anim192);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RockBig)
         {
             Animation anim193 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Rockbig"), new Vector2(7f, 5f), 5 + Program.game.randomInVisual.Next(3), 4, 13, 10, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim193.iID, anim193);
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_DistantBird)
         {
             Animation anim194 = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/WhiteBird/Fly/Right"), new Vector2(9f, 14f), 4, 8, 21, 20, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim194.iID, anim194);
             xARC.v2ParallaxFactor = new Vector2(0.75f, 0.75f);
             xARC.fScale = 0.6f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Parallax;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_EnergySpark)
         {
             Animation anim195 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Spark"), new Vector2(0f, 7f), 4, 4, 24, 12, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim195.iID, anim195);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             iFastForward = Program.game.randomInVisual.Next(60);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_LaserFenceGreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(10f, 34f), 4, 1, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Start"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Idle"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_11E21_0 = xARC.dixAnimations;
             ushort arg_11E21_1 = 3;
             ushort arg_11E1C_0 = 3;
             byte arg_11E1C_1 = 0;
             Texture2D arg_11E1C_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/End");
             Vector2 arg_11E1C_3 = new Vector2(10f, 34f);
             int arg_11E1C_4 = 4;
             int arg_11E1C_5 = 3;
             int arg_11E1C_6 = 19;
             int arg_11E1C_7 = 42;
             int arg_11E1C_8 = 0;
             int arg_11E1C_9 = 0;
             int arg_11E1C_10 = 8;
             Animation.LoopSettings arg_11E1C_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_11E1C_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_11E1C_13 = true;
             bool arg_11E1C_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_11E17_0 = array;
             int arg_11E17_1 = 0;
             AnimInsCriteria arg_11E12_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_11E0D_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_11E17_0[arg_11E17_1] = new AnimationInstruction(arg_11E12_0, new AnimInsEvent(arg_11E0D_0, array2));
             arg_11E21_0.Add(arg_11E21_1, new Animation(arg_11E1C_0, arg_11E1C_1, arg_11E1C_2, arg_11E1C_3, arg_11E1C_4, arg_11E1C_5, arg_11E1C_6, arg_11E1C_7, arg_11E1C_8, arg_11E1C_9, arg_11E1C_10, arg_11E1C_11, arg_11E1C_12, arg_11E1C_13, arg_11E1C_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             StaticRenderComponent xHole2 = new StaticRenderComponent(Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Base"), new TransformComponent(v2Position));
             xHole2.v2Offset = new Vector2(5f, 5f);
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(xHole2);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_LaserFenceBlue)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(10f, 34f), 4, 1, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/StartBlue"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/IdleBlue"), new Vector2(10f, 34f), 4, 5, 19, 42, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_11FDD_0 = xARC.dixAnimations;
             ushort arg_11FDD_1 = 3;
             ushort arg_11FD8_0 = 3;
             byte arg_11FD8_1 = 0;
             Texture2D arg_11FD8_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/EndBlue");
             Vector2 arg_11FD8_3 = new Vector2(10f, 34f);
             int arg_11FD8_4 = 4;
             int arg_11FD8_5 = 3;
             int arg_11FD8_6 = 19;
             int arg_11FD8_7 = 42;
             int arg_11FD8_8 = 0;
             int arg_11FD8_9 = 0;
             int arg_11FD8_10 = 8;
             Animation.LoopSettings arg_11FD8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_11FD8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_11FD8_13 = true;
             bool arg_11FD8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_11FD3_0 = array;
             int arg_11FD3_1 = 0;
             AnimInsCriteria arg_11FCE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_11FC9_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_11FD3_0[arg_11FD3_1] = new AnimationInstruction(arg_11FCE_0, new AnimInsEvent(arg_11FC9_0, array2));
             arg_11FDD_0.Add(arg_11FDD_1, new Animation(arg_11FD8_0, arg_11FD8_1, arg_11FD8_2, arg_11FD8_3, arg_11FD8_4, arg_11FD8_5, arg_11FD8_6, arg_11FD8_7, arg_11FD8_8, arg_11FD8_9, arg_11FD8_10, arg_11FD8_11, arg_11FD8_12, arg_11FD8_13, arg_11FD8_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             StaticRenderComponent xHole3 = new StaticRenderComponent(Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Laser/Base"), new TransformComponent(v2Position));
             xHole3.v2Offset = new Vector2(5f, 5f);
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(xHole3);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_EvergrindEast_Wagon)
         {
             Animation anim196 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/NPC/Evergrind/Carpenter/Wagon"), new Vector2(30f, 18f), 5, 1, 49, 34, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim196.iID, anim196);
             Dictionary<ushort, Animation> arg_1211E_0 = xARC.dixAnimations;
             ushort arg_1211E_1 = 1;
             ushort arg_12119_0 = 1;
             byte arg_12119_1 = 0;
             Texture2D arg_12119_2 = Content.Load<Texture2D>("Sprites/NPC/Evergrind/Carpenter/Flavor/Shake");
             Vector2 arg_12119_3 = new Vector2(33f, 18f);
             int arg_12119_4 = 4;
             int arg_12119_5 = 3;
             int arg_12119_6 = 51;
             int arg_12119_7 = 33;
             int arg_12119_8 = 0;
             int arg_12119_9 = 0;
             int arg_12119_10 = 17;
             Animation.LoopSettings arg_12119_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_12119_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_12119_13 = false;
             bool arg_12119_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_120E9_0 = array;
             int arg_120E9_1 = 0;
             AnimInsCriteria arg_120E4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_120DF_0 = AnimInsEvent.EventType.PlaySound;
             string arg_120DF_1 = "Kick_Wagon";
             float[] array2 = new float[1];
             arg_120E9_0[arg_120E9_1] = new AnimationInstruction(arg_120E4_0, new AnimInsEvent(arg_120DF_0, arg_120DF_1, array2));
             AnimationInstruction[] arg_12114_0 = array;
             int arg_12114_1 = 1;
             AnimInsCriteria arg_1210F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1210A_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_12114_0[arg_12114_1] = new AnimationInstruction(arg_1210F_0, new AnimInsEvent(arg_1210A_0, array2));
             arg_1211E_0[arg_1211E_1] = new Animation(arg_12119_0, arg_12119_1, arg_12119_2, arg_12119_3, arg_12119_4, arg_12119_5, arg_12119_6, arg_12119_7, arg_12119_8, arg_12119_9, arg_12119_10, arg_12119_11, arg_12119_12, arg_12119_13, arg_12119_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_TeleportSpawn)
         {
             ushort arg_1219D_0 = 0;
             byte arg_1219D_1 = 0;
             Texture2D arg_1219D_2 = Content.Load<Texture2D>("Effects/Spawn/Teleport");
             Vector2 arg_1219D_3 = new Vector2(20f, 14f);
             int arg_1219D_4 = 4;
             int arg_1219D_5 = 17;
             int arg_1219D_6 = 40;
             int arg_1219D_7 = 30;
             int arg_1219D_8 = 0;
             int arg_1219D_9 = 0;
             int arg_1219D_10 = 17;
             Animation.LoopSettings arg_1219D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1219D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1219D_13 = true;
             bool arg_1219D_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_12198_0 = array;
             int arg_12198_1 = 0;
             AnimInsCriteria arg_12193_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1218E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1218E_1 = "FlyingFortress_EnemySpawn";
             float[] array2 = new float[1];
             arg_12198_0[arg_12198_1] = new AnimationInstruction(arg_12193_0, new AnimInsEvent(arg_1218E_0, arg_1218E_1, array2));
             Animation anim197 = new Animation(arg_1219D_0, arg_1219D_1, arg_1219D_2, arg_1219D_3, arg_1219D_4, arg_1219D_5, arg_1219D_6, arg_1219D_7, arg_1219D_8, arg_1219D_9, arg_1219D_10, arg_1219D_11, arg_1219D_12, arg_1219D_13, arg_1219D_14, array);
             xARC.dixAnimations.Add(anim197.iID, anim197);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Crystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/Start"), new Vector2(15f, 42f), 4, 1, 31, 54, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_122D0_0 = xARC.dixAnimations;
             ushort arg_122D0_1 = 1;
             ushort arg_122CB_0 = 1;
             byte arg_122CB_1 = 0;
             Texture2D arg_122CB_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/Start");
             Vector2 arg_122CB_3 = new Vector2(15f, 42f);
             int arg_122CB_4 = 4;
             int arg_122CB_5 = 5;
             int arg_122CB_6 = 31;
             int arg_122CB_7 = 54;
             int arg_122CB_8 = 0;
             int arg_122CB_9 = 0;
             int arg_122CB_10 = 17;
             Animation.LoopSettings arg_122CB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_122CB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_122CB_13 = true;
             bool arg_122CB_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_12290_0 = array;
             int arg_12290_1 = 0;
             AnimInsCriteria arg_1228B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_12286_0 = AnimInsEvent.EventType.PlaySound;
             string arg_12286_1 = "Generator_CrystalFlash";
             float[] array2 = new float[1];
             arg_12290_0[arg_12290_1] = new AnimationInstruction(arg_1228B_0, new AnimInsEvent(arg_12286_0, arg_12286_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }));
             arg_122D0_0.Add(arg_122D0_1, new Animation(arg_122CB_0, arg_122CB_1, arg_122CB_2, arg_122CB_3, arg_122CB_4, arg_122CB_5, arg_122CB_6, arg_122CB_7, arg_122CB_8, arg_122CB_9, arg_122CB_10, arg_122CB_11, arg_122CB_12, arg_122CB_13, arg_122CB_14, array));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/Idle"), new Vector2(15f, 42f), 4, 12, 31, 54, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_123D5_0 = xARC.dixAnimations;
             ushort arg_123D5_1 = 3;
             ushort arg_123D0_0 = 3;
             byte arg_123D0_1 = 0;
             Texture2D arg_123D0_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/StartB");
             Vector2 arg_123D0_3 = new Vector2(15f, 42f);
             int arg_123D0_4 = 4;
             int arg_123D0_5 = 3;
             int arg_123D0_6 = 31;
             int arg_123D0_7 = 54;
             int arg_123D0_8 = 0;
             int arg_123D0_9 = 0;
             int arg_123D0_10 = 17;
             Animation.LoopSettings arg_123D0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_123D0_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_123D0_13 = true;
             bool arg_123D0_14 = true;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_12395_0 = array;
             int arg_12395_1 = 0;
             AnimInsCriteria arg_12390_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1238B_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1238B_1 = "Generator_CrystalFlash";
             array2 = new float[1];
             arg_12395_0[arg_12395_1] = new AnimationInstruction(arg_12390_0, new AnimInsEvent(arg_1238B_0, arg_1238B_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 4f
             }));
             arg_123D5_0.Add(arg_123D5_1, new Animation(arg_123D0_0, arg_123D0_1, arg_123D0_2, arg_123D0_3, arg_123D0_4, arg_123D0_5, arg_123D0_6, arg_123D0_7, arg_123D0_8, arg_123D0_9, arg_123D0_10, arg_123D0_11, arg_123D0_12, arg_123D0_13, arg_123D0_14, array));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Crystal/IdleB"), new Vector2(15f, 42f), 4, 3, 31, 54, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Keyhole)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyhole/Start"), new Vector2(0f, 0f), 4, 7, 17, 36, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyhole/Start"), new Vector2(0f, 0f), 4, 1, 17, 36, 119, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_BossGate)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/door_boss"), new Vector2(0f, 0f), 4, 44, 141, 113, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/door_boss"), new Vector2(0f, 0f), 4, 1, 141, 113, 1410, 339, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_BigScreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Big Screen/Start"), new Vector2(0f, 0f), 4, 8, 83, 36, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Big Screen/Idle"), new Vector2(0f, 0f), 4, 14, 83, 36, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Emblem)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Emblem/Start"), new Vector2(0f, 0f), 4, 7, 37, 26, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Emblem/Start"), new Vector2(0f, 0f), 4, 1, 37, 26, 222, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 50f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Keyboard)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyboard/Start"), new Vector2(0f, 0f), 4, 15, 59, 15, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Keyboard/Start"), new Vector2(0f, 0f), 4, 1, 59, 15, 826, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 10f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_LeftScreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Left Screen/Start"), new Vector2(0f, 0f), 4, 7, 26, 44, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Left Screen/Idle"), new Vector2(0f, 0f), 4, 5, 26, 44, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 20f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_RightScreen)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Right Screen/Start"), new Vector2(0f, 0f), 4, 7, 26, 44, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Right Screen/Idle"), new Vector2(0f, 0f), 4, 5, 26, 44, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 20f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_GeneratorEffects_Powerlines)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 13, 103, 42, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 13, 103, 42, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 18, 47, 39, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 18, 47, 39, 0, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(4, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 1, 103, 42, 1236, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/TopStart"), new Vector2(0f, 0f), 4, 1, 103, 42, 1236, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations.Add(6, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 1, 47, 39, 799, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(7, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/GeneratorEffects/Power/SideStart"), new Vector2(0f, 0f), 4, 1, 47, 39, 799, 0, 18, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight = 30f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_PerfectGuardChallenge_Button)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/button"), new Vector2(13f, 12f), 4, 1, 25, 24, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/button"), new Vector2(13f, 12f), 4, 2, 25, 24, 25, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/button"), new Vector2(13f, 12f), 4, 2, 25, 24, 75, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_PerfectGuardChallenge_PowerLine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(0f, 0f), 4, 1, 81, 2, 75, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Ground"), new Vector2(0f, 0f), 4, 4, 81, 2, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_12E2C_0 = xARC.dixAnimations;
             ushort arg_12E2C_1 = 2;
             ushort arg_12E27_0 = 1;
             byte arg_12E27_1 = 0;
             Texture2D arg_12E27_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Ground");
             Vector2 arg_12E27_3 = new Vector2(0f, 0f);
             int arg_12E27_4 = 4;
             int arg_12E27_5 = 3;
             int arg_12E27_6 = 81;
             int arg_12E27_7 = 2;
             int arg_12E27_8 = 243;
             int arg_12E27_9 = 0;
             int arg_12E27_10 = 17;
             Animation.LoopSettings arg_12E27_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_12E27_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_12E27_13 = true;
             bool arg_12E27_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_12E22_0 = array;
             int arg_12E22_1 = 0;
             AnimInsCriteria arg_12E1D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_12E18_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_12E22_0[arg_12E22_1] = new AnimationInstruction(arg_12E1D_0, new AnimInsEvent(arg_12E18_0, array2));
             arg_12E2C_0.Add(arg_12E2C_1, new Animation(arg_12E27_0, arg_12E27_1, arg_12E27_2, arg_12E27_3, arg_12E27_4, arg_12E27_5, arg_12E27_6, arg_12E27_7, arg_12E27_8, arg_12E27_9, arg_12E27_10, arg_12E27_11, arg_12E27_12, arg_12E27_13, arg_12E27_14, array));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Ground"), new Vector2(0f, 0f), 4, 1, 81, 2, 243, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_PerfectGuardChallenge_ClearScreen)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Start"), new Vector2(0f, 0f), 4, 1, 22, 22, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Start"), new Vector2(0f, 0f), 4, 7, 22, 22, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Idle"), new Vector2(0f, 0f), 4, 3, 22, 22, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/Clear"), new Vector2(0f, 0f), 4, 7, 22, 22, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/ClearIdle"), new Vector2(0f, 0f), 4, 3, 22, 22, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_130BE_0 = xARC.dixAnimations;
             ushort arg_130BE_1 = 5;
             ushort arg_130B9_0 = 5;
             byte arg_130B9_1 = 0;
             Texture2D arg_130B9_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Screen/End");
             Vector2 arg_130B9_3 = new Vector2(0f, 0f);
             int arg_130B9_4 = 4;
             int arg_130B9_5 = 3;
             int arg_130B9_6 = 22;
             int arg_130B9_7 = 22;
             int arg_130B9_8 = 0;
             int arg_130B9_9 = 0;
             int arg_130B9_10 = 17;
             Animation.LoopSettings arg_130B9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_130B9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_130B9_13 = true;
             bool arg_130B9_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_130B4_0 = array;
             int arg_130B4_1 = 0;
             AnimInsCriteria arg_130AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_130AA_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_130B4_0[arg_130B4_1] = new AnimationInstruction(arg_130AF_0, new AnimInsEvent(arg_130AA_0, array2));
             arg_130BE_0.Add(arg_130BE_1, new Animation(arg_130B9_0, arg_130B9_1, arg_130B9_2, arg_130B9_3, arg_130B9_4, arg_130B9_5, arg_130B9_6, arg_130B9_7, arg_130B9_8, arg_130B9_9, arg_130B9_10, arg_130B9_11, arg_130B9_12, arg_130B9_13, arg_130B9_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_GlassCrack)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 1, 23, 51, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 23, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 69, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 115, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasCrack"), new Vector2(12f, 48f), 4, 2, 23, 51, 161, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_GlassDestroy)
         {
             this.bDestroyAtEnd = false;
             ushort arg_132AB_0 = 0;
             byte arg_132AB_1 = 0;
             Texture2D arg_132AB_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/GlasBreak");
             Vector2 arg_132AB_3 = new Vector2(30f, 38f);
             int arg_132AB_4 = 4;
             int arg_132AB_5 = 12;
             int arg_132AB_6 = 56;
             int arg_132AB_7 = 59;
             int arg_132AB_8 = 0;
             int arg_132AB_9 = 0;
             int arg_132AB_10 = 17;
             Animation.LoopSettings arg_132AB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_132AB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_132AB_13 = true;
             bool arg_132AB_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_132A6_0 = array;
             int arg_132A6_1 = 0;
             AnimInsCriteria arg_132A1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1329C_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1329C_1 = "Jar_break";
             float[] array2 = new float[1];
             arg_132A6_0[arg_132A6_1] = new AnimationInstruction(arg_132A1_0, new AnimInsEvent(arg_1329C_0, arg_1329C_1, array2));
             Animation anim198 = new Animation(arg_132AB_0, arg_132AB_1, arg_132AB_2, arg_132AB_3, arg_132AB_4, arg_132AB_5, arg_132AB_6, arg_132AB_7, arg_132AB_8, arg_132AB_9, arg_132AB_10, arg_132AB_11, arg_132AB_12, arg_132AB_13, arg_132AB_14, array);
             xARC.fVirtualHeight = 2f;
             xARC.dixAnimations.Add(anim198.iID, anim198);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_MiniCrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/minicrystal"), new Vector2(7f, 12f), 4, 1, 15, 18, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/minicrystal"), new Vector2(7f, 12f), 4, 4, 15, 18, 15, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/minicrystal"), new Vector2(7f, 12f), 4, 1, 15, 18, 60, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_MiniMiniCrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/miniminicrystal"), new Vector2(3f, 4f), 4, 1, 6, 7, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/miniminicrystal"), new Vector2(3f, 4f), 4, 4, 6, 7, 6, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/miniminicrystal"), new Vector2(3f, 4f), 4, 1, 6, 7, 24, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BulletHellFirecrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Cannon/Attack"), new Vector2(6f, 6f), 4, 1, 13, 25, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_1354F_0 = xARC.dixAnimations;
             ushort arg_1354F_1 = 1;
             ushort arg_1354A_0 = 1;
             byte arg_1354A_1 = 0;
             Texture2D arg_1354A_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Cannon/Attack");
             Vector2 arg_1354A_3 = new Vector2(6f, 6f);
             int arg_1354A_4 = 4;
             int arg_1354A_5 = 8;
             int arg_1354A_6 = 13;
             int arg_1354A_7 = 25;
             int arg_1354A_8 = 0;
             int arg_1354A_9 = 0;
             int arg_1354A_10 = 17;
             Animation.LoopSettings arg_1354A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1354A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1354A_13 = true;
             bool arg_1354A_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_13545_0 = array;
             int arg_13545_1 = 0;
             AnimInsCriteria arg_13540_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_1353B_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_13545_0[arg_13545_1] = new AnimationInstruction(arg_13540_0, new AnimInsEvent(arg_1353B_0, array2));
             arg_1354F_0.Add(arg_1354F_1, new Animation(arg_1354A_0, arg_1354A_1, arg_1354A_2, arg_1354A_3, arg_1354A_4, arg_1354A_5, arg_1354A_6, arg_1354A_7, arg_1354A_8, arg_1354A_9, arg_1354A_10, arg_1354A_11, arg_1354A_12, arg_1354A_13, arg_1354A_14, array));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Cannon/Dead"), new Vector2(6f, 6f), 4, 5, 13, 25, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenBigA)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/BigA"), Vector2.Zero, 4, 5, 28, 43, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenBigB)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/BigB"), Vector2.Zero, 4, 6, 41, 41, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallA)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallA"), Vector2.Zero, 4, 12, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallB)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallB"), Vector2.Zero, 4, 6, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallC)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallC"), Vector2.Zero, 4, 9, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallD)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallD"), Vector2.Zero, 4, 6, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenSmallOff)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/SmallOff"), Vector2.Zero, 4, 1, 22, 27, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_ScreenHelp)
         {
             Dictionary<ushort, Animation> arg_1387A_0 = xARC.dixAnimations;
             ushort arg_1387A_1 = 0;
             ushort arg_13875_0 = 0;
             byte arg_13875_1 = 0;
             Texture2D arg_13875_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Screens/Help");
             Vector2 arg_13875_3 = Vector2.Zero;
             int arg_13875_4 = 4;
             int arg_13875_5 = 15;
             int arg_13875_6 = 31;
             int arg_13875_7 = 34;
             int arg_13875_8 = 0;
             int arg_13875_9 = 0;
             int arg_13875_10 = 17;
             Animation.LoopSettings arg_13875_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_13875_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_13875_13 = true;
             bool arg_13875_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 30f
             }));
             AnimationInstruction[] arg_13870_0 = array;
             int arg_13870_1 = 1;
             AnimInsCriteria arg_1386B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_13866_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_13870_0[arg_13870_1] = new AnimationInstruction(arg_1386B_0, new AnimInsEvent(arg_13866_0, array2));
             arg_1387A_0.Add(arg_1387A_1, new Animation(arg_13875_0, arg_13875_1, arg_13875_2, arg_13875_3, arg_13875_4, arg_13875_5, arg_13875_6, arg_13875_7, arg_13875_8, arg_13875_9, arg_13875_10, arg_13875_11, arg_13875_12, arg_13875_13, arg_13875_14, array));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fVirtualHeight = -100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofLightBeam)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightBeam"), Vector2.Zero, 4, 10, 111, 229, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     6f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     45f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightBeam"), Vector2.Zero, 4, 1, 111, 229, 999, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockSmall)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockSmall"), new Vector2(22f, 15f), 4, 1, 39, 25, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockSmall"), new Vector2(22f, 15f), 4, 11, 39, 25, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockSmall"), new Vector2(22f, 15f), 4, 1, 39, 25, 390, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockMedium)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMid"), new Vector2(25f, 25f), 4, 1, 48, 40, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMid"), new Vector2(25f, 25f), 4, 11, 48, 40, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMid"), new Vector2(25f, 25f), 4, 1, 48, 40, 480, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockLarge)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockLarge"), new Vector2(31f, 31f), 4, 1, 59, 50, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockLarge"), new Vector2(31f, 31f), 4, 11, 59, 50, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockLarge"), new Vector2(31f, 31f), 4, 1, 59, 50, 590, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofRockMini)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/RockMini"), new Vector2(3f, 3f), 4, 4, 7, 7, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_RoofLightSpot)
         {
             this.bDestroyAtEnd = false;
             xARC = new NonAdditiveAnimatedRenderComponent(null);
             this.xTransform = new TransformComponent(v2Position);
             xARC.xTransform = this.xTransform;
             xARC.fScale = 1f;
             this.xRenderComponent = xARC;
             xARC.fAlpha = 0.6f;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightSpot"), new Vector2(39f, 17f), 4, 10, 80, 34, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     6f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     45f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Roof/LightSpot"), new Vector2(39f, 17f), 4, 1, 80, 34, 720, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_Lid)
         {
             Animation anim199 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/Lid"), new Vector2(12f, 40f), 4, 7, 23, 44, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -5f;
             xARC.dixAnimations.Add(anim199.iID, anim199);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_CrystalCrack)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 62, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 124, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_CrystalChallenge_CrystalDestroy)
         {
             Animation anim200 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/Destroy"), new Vector2(35f, 35f), 4, 11, 66, 56, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim200.iID, anim200);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_MiniCrystal)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 62, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/ChallengeCrystal/CrystalCrack"), new Vector2(16f, 36f), 4, 2, 31, 49, 124, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.fVirtualHeight = 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BulletHellMachine)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/TakeOff"), new Vector2(15f, 21f), 4, 1, 29, 32, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/TakeOff"), new Vector2(15f, 21f), 4, 11, 29, 32, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/Idle"), new Vector2(14f, 20f), 4, 2, 27, 30, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/Attack"), new Vector2(14f, 23f), 4, 3, 27, 36, 135, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.fVirtualHeight = 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BulletHellMachine_LiftoffEffect)
         {
             Animation anim201 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Traps/BullethellMachine/Effect"), new Vector2(17f, 10f), 4, 3, 33, 20, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim201.iID, anim201);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossAmulet)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Amulet"), new Vector2(6f, 14f), 4, 1, 12, 18, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/AmuletShine"), new Vector2(9f, 14f), 4, 5, 17, 21, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossAmuletBounce)
         {
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_14345_0 = xARC.dixAnimations;
             ushort arg_14345_1 = 0;
             ushort arg_14340_0 = 0;
             byte arg_14340_1 = 0;
             Texture2D arg_14340_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/AmuletBounce");
             Vector2 arg_14340_3 = new Vector2(12f, 68f);
             int arg_14340_4 = 4;
             int arg_14340_5 = 12;
             int arg_14340_6 = 23;
             int arg_14340_7 = 73;
             int arg_14340_8 = 0;
             int arg_14340_9 = 0;
             int arg_14340_10 = 17;
             Animation.LoopSettings arg_14340_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_14340_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_14340_13 = true;
             bool arg_14340_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1433B_0 = array;
             int arg_1433B_1 = 0;
             AnimInsCriteria arg_14336_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_14331_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1433B_0[arg_1433B_1] = new AnimationInstruction(arg_14336_0, new AnimInsEvent(arg_14331_0, array2));
             arg_14345_0.Add(arg_14345_1, new Animation(arg_14340_0, arg_14340_1, arg_14340_2, arg_14340_3, arg_14340_4, arg_14340_5, arg_14340_6, arg_14340_7, arg_14340_8, arg_14340_9, arg_14340_10, arg_14340_11, arg_14340_12, arg_14340_13, arg_14340_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossAmuletPillar)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Idle"), new Vector2(12f, 28f), 4, 16, 23, 37, 0, 0, 17, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Boom"), new Vector2(23f, 40f), 4, 11, 45, 49, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Disappear"), new Vector2(12f, 23f), 4, 15, 23, 32, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Pillar/Disappear"), new Vector2(12f, 23f), 4, 1, 23, 32, 322, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossFrontScreen)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/Start"), Vector2.Zero, 4, 1, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/Start"), Vector2.Zero, 4, 22, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/Idle"), Vector2.Zero, 4, 5, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/ErrorStart"), Vector2.Zero, 4, 4, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/ErrorIdle"), Vector2.Zero, 4, 8, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/ErrorEnd"), Vector2.Zero, 4, 4, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/OverheatStart"), Vector2.Zero, 4, 7, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     7f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/OverheatIdle"), Vector2.Zero, 4, 8, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/OverheatBlank"), Vector2.Zero, 4, 3, 148, 50, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Front/End"), Vector2.Zero, 4, 5, 148, 50, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossSideScreenRight)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 1, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 22, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Idle"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/ErrorStart"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/ErrorIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/ErrorEnd"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatStart"), Vector2.Zero, 4, 7, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     7f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatBlank"), Vector2.Zero, 4, 3, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/End"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetingStart"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     11f
                 }))
             }));
             xARC.dixAnimations.Add(11, new Animation(11, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetingIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetlockIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(13, new Animation(13, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/TargetlockEnd"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_BossSideScreenLeft)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 1, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Start"), Vector2.Zero, 4, 22, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Idle"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/OverheatBlank"), Vector2.Zero, 4, 3, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/End"), Vector2.Zero, 4, 5, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             foreach (Animation x in xARC.dixAnimations.Values)
             {
                 x.enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/ErrorStart"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/ErrorIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/ErrorEnd"), Vector2.Zero, 4, 4, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/OverheatStart"), Vector2.Zero, 4, 7, 113, 93, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     7f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/BossRoom/Screen/Side/Mirror/OverheatIdle"), Vector2.Zero, 4, 8, 113, 93, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
             xARC.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying);
             enRegisterLayer = RenderMaster.SubRenderLayer.Background;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_BroomFae)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Broom/Winter"), new Vector2(10f, 17f), 4, 10, 20, 21, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Window)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Window/Fall"), Vector2.Zero, 4, 1, 17, 13, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     180f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_151BD_0 = xARC.dixAnimations;
             ushort arg_151BD_1 = 1;
             ushort arg_151B8_0 = 1;
             byte arg_151B8_1 = 0;
             Texture2D arg_151B8_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Window/Fall");
             Vector2 arg_151B8_3 = Vector2.Zero;
             int arg_151B8_4 = 4;
             int arg_151B8_5 = 28;
             int arg_151B8_6 = 17;
             int arg_151B8_7 = 13;
             int arg_151B8_8 = 0;
             int arg_151B8_9 = 0;
             int arg_151B8_10 = 50;
             Animation.LoopSettings arg_151B8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_151B8_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_151B8_13 = true;
             bool arg_151B8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_151B3_0 = array;
             int arg_151B3_1 = 0;
             AnimInsCriteria arg_151AE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_151A9_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_151B3_0[arg_151B3_1] = new AnimationInstruction(arg_151AE_0, new AnimInsEvent(arg_151A9_0, array2));
             arg_151BD_0.Add(arg_151BD_1, new Animation(arg_151B8_0, arg_151B8_1, arg_151B8_2, arg_151B8_3, arg_151B8_4, arg_151B8_5, arg_151B8_6, arg_151B8_7, arg_151B8_8, arg_151B8_9, arg_151B8_10, arg_151B8_11, arg_151B8_12, arg_151B8_13, arg_151B8_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_WindowClean)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/WindowClean/Summer"), new Vector2(9f, 19f), 4, 8, 17, 22, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Peek)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Peek/Summer"), Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     180f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_1535A_0 = xARC.dixAnimations;
             ushort arg_1535A_1 = 1;
             ushort arg_15355_0 = 1;
             byte arg_15355_1 = 0;
             Texture2D arg_15355_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Peek/Summer");
             Vector2 arg_15355_3 = Vector2.Zero;
             int arg_15355_4 = 4;
             int arg_15355_5 = 22;
             int arg_15355_6 = 17;
             int arg_15355_7 = 19;
             int arg_15355_8 = 0;
             int arg_15355_9 = 0;
             int arg_15355_10 = 50;
             Animation.LoopSettings arg_15355_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_15355_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_15355_13 = true;
             bool arg_15355_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_15350_0 = array;
             int arg_15350_1 = 0;
             AnimInsCriteria arg_1534B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_15346_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_15350_0[arg_15350_1] = new AnimationInstruction(arg_1534B_0, new AnimInsEvent(arg_15346_0, array2));
             arg_1535A_0.Add(arg_1535A_1, new Animation(arg_15355_0, arg_15355_1, arg_15355_2, arg_15355_3, arg_15355_4, arg_15355_5, arg_15355_6, arg_15355_7, arg_15355_8, arg_15355_9, arg_15355_10, arg_15355_11, arg_15355_12, arg_15355_13, arg_15355_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Sleeping)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Sleep/Winter"), new Vector2(11f, 14f), 4, 20, 17, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Autumn)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Fall/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Fall/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Winter)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Winter/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Winter/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Summer)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Summer/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Summer/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Flyby_Spring)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Spring/Down"), new Vector2(8f, 13f), 4, 4, 15, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/FlyBy/Spring/Up"), new Vector2(7f, 13f), 4, 4, 14, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Popup_Autumn)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     142f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_15775_0 = xARC.dixAnimations;
             ushort arg_15775_1 = 1;
             ushort arg_15770_0 = 1;
             byte arg_15770_1 = 0;
             Texture2D arg_15770_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Popup/Fall");
             Vector2 arg_15770_3 = new Vector2(10f, 15f);
             int arg_15770_4 = 4;
             int arg_15770_5 = 24;
             int arg_15770_6 = 20;
             int arg_15770_7 = 16;
             int arg_15770_8 = 0;
             int arg_15770_9 = 0;
             int arg_15770_10 = 50;
             Animation.LoopSettings arg_15770_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_15770_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_15770_13 = true;
             bool arg_15770_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1576B_0 = array;
             int arg_1576B_1 = 0;
             AnimInsCriteria arg_15766_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_15761_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_1576B_0[arg_1576B_1] = new AnimationInstruction(arg_15766_0, new AnimInsEvent(arg_15761_0, array2));
             arg_15775_0.Add(arg_15775_1, new Animation(arg_15770_0, arg_15770_1, arg_15770_2, arg_15770_3, arg_15770_4, arg_15770_5, arg_15770_6, arg_15770_7, arg_15770_8, arg_15770_9, arg_15770_10, arg_15770_11, arg_15770_12, arg_15770_13, arg_15770_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Popup_Spring)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     90f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_158BA_0 = xARC.dixAnimations;
             ushort arg_158BA_1 = 1;
             ushort arg_158B5_0 = 1;
             byte arg_158B5_1 = 0;
             Texture2D arg_158B5_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Popup/Fall");
             Vector2 arg_158B5_3 = new Vector2(10f, 14f);
             int arg_158B5_4 = 4;
             int arg_158B5_5 = 24;
             int arg_158B5_6 = 20;
             int arg_158B5_7 = 15;
             int arg_158B5_8 = 0;
             int arg_158B5_9 = 0;
             int arg_158B5_10 = 50;
             Animation.LoopSettings arg_158B5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_158B5_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_158B5_13 = true;
             bool arg_158B5_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_158B0_0 = array;
             int arg_158B0_1 = 0;
             AnimInsCriteria arg_158AB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_158A6_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_158B0_0[arg_158B0_1] = new AnimationInstruction(arg_158AB_0, new AnimInsEvent(arg_158A6_0, array2));
             arg_158BA_0.Add(arg_158BA_1, new Animation(arg_158B5_0, arg_158B5_1, arg_158B5_2, arg_158B5_3, arg_158B5_4, arg_158B5_5, arg_158B5_6, arg_158B5_7, arg_158B5_8, arg_158B5_9, arg_158B5_10, arg_158B5_11, arg_158B5_12, arg_158B5_13, arg_158B5_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Popup_Winter)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 17, 19, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     170f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_159FF_0 = xARC.dixAnimations;
             ushort arg_159FF_1 = 1;
             ushort arg_159FA_0 = 1;
             byte arg_159FA_1 = 0;
             Texture2D arg_159FA_2 = Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Popup/Winter");
             Vector2 arg_159FA_3 = new Vector2(10f, 13f);
             int arg_159FA_4 = 4;
             int arg_159FA_5 = 24;
             int arg_159FA_6 = 20;
             int arg_159FA_7 = 14;
             int arg_159FA_8 = 0;
             int arg_159FA_9 = 0;
             int arg_159FA_10 = 50;
             Animation.LoopSettings arg_159FA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_159FA_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_159FA_13 = true;
             bool arg_159FA_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_159F5_0 = array;
             int arg_159F5_1 = 0;
             AnimInsCriteria arg_159F0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_159EB_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_159F5_0[arg_159F5_1] = new AnimationInstruction(arg_159F0_0, new AnimInsEvent(arg_159EB_0, array2));
             arg_159FF_0.Add(arg_159FF_1, new Animation(arg_159FA_0, arg_159FA_1, arg_159FA_2, arg_159FA_3, arg_159FA_4, arg_159FA_5, arg_159FA_6, arg_159FA_7, arg_159FA_8, arg_159FA_9, arg_159FA_10, arg_159FA_11, arg_159FA_12, arg_159FA_13, arg_159FA_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Tree_Autumn)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Tree/Fall"), new Vector2(12f, 13f), 4, 12, 24, 16, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Tree_Spring)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Tree/Spring"), new Vector2(11f, 14f), 4, 12, 22, 17, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SantaFae_Tree_Summer)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(NPC_PATH + "Santa Fae/Tree/Summer"), new Vector2(10f, 14f), 4, 18, 20, 18, 0, 0, 50, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_SmallWaterfallTwinkle)
         {
             Animation anim202 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Waterfall/ShineB"), new Vector2(8f, 8f), 4, 5, 17, 17, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim202.iID, anim202);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_MediumWaterfallTwinkle)
         {
             Animation anim203 = new Animation(0, 0, GlobalContent.Load<Texture2D>("Bkg/Zone014_SeasonChange/Waterfall/ShineA"), new Vector2(11f, 11f), 4, 5, 23, 23, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim203.iID, anim203);
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_BlockingBushes)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Fall"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Summer");
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Fall"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[1].bReversePlayback = true;
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Summer"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][2] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Fall");
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Overgrown/Summer"), new Vector2(44f, 37f), 4, 21, 88, 74, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[3].bReversePlayback = true;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_HoleWithVineBridge)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/VinePit/VinePit"), new Vector2(18f, 16f), 4, 12, 36, 32, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/VinePit/VinePit"), new Vector2(18f, 16f), 4, 12, 36, 32, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations[1].bReversePlayback = true;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_LilyPadMan)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Summer"), Vector2.Zero, 4, 32, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Fall"), Vector2.Zero, 4, 1, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Winter][1] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Winter");
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Fall"), Vector2.Zero, 4, 25, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 25, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_GiantRoot)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start"), new Vector2(83f, 102f), 4, 27, 140, 109, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start");
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start"), new Vector2(83f, 102f), 4, 27, 140, 109, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][1] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start");
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start"), new Vector2(83f, 102f), 4, 1, 140, 109, 1120, 218, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][2] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start");
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/Start"), new Vector2(83f, 102f), 4, 1, 140, 109, 1120, 218, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][3] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Start");
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/End"), new Vector2(83f, 102f), 4, 10, 140, 109, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][4] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/End");
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Fall/End"), new Vector2(83f, 102f), 4, 10, 140, 109, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][5] = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/End");
             xARC.dixAnimations.Add(6, new Animation(6, 0, RenderMaster.txNullTex, new Vector2(83f, 102f), 4, 25, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_GiantRoot_SummerFlowers)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Root/Summer/Flowers"), Vector2.Zero, 4, 14, 124, 44, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_SnowPile_MeltOnly)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Snowpile/Pile"), new Vector2(34f, 63f), 4, 1, 68, 76, 544, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer][0] = RenderMaster.txNullTex;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall][0] = RenderMaster.txNullTex;
             xARC.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 39, 47, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_SnowPile_FromTree)
         {
             this.bDestroyAtEnd = false;
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Fall] = new Dictionary<ushort, Texture2D>();
             xARC.dditxAlternateTextures[RenderMaster.PlayfieldRenderPass.Season_Summer] = new Dictionary<ushort, Texture2D>();
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Snowpile/Pile"), new Vector2(34f, 63f), 4, 9, 68, 76, 0, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Snowpile/Pile"), new Vector2(34f, 63f), 4, 1, 68, 76, 544, 0, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._Unique_SeasonChange_LilyPadBridge)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Bridge"), Vector2.Zero, 4, 42, 72, 105, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/LilyPads/Bridge"), Vector2.Zero, 4, 1, 72, 105, 648, 315, 50, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Air_Front)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1685A_0 = xARC.dixAnimations;
             ushort arg_1685A_1 = 1;
             ushort arg_16855_0 = 1;
             byte arg_16855_1 = 1;
             Texture2D arg_16855_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/Start/Right");
             Vector2 arg_16855_3 = new Vector2(17f, 30f);
             int arg_16855_4 = 4;
             int arg_16855_5 = 6;
             int arg_16855_6 = 42;
             int arg_16855_7 = 31;
             int arg_16855_8 = 0;
             int arg_16855_9 = 0;
             int arg_16855_10 = 10;
             Animation.LoopSettings arg_16855_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16855_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16855_13 = false;
             bool arg_16855_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1681A_0 = array;
             int arg_1681A_1 = 0;
             AnimInsCriteria arg_16815_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16810_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1681A_0[arg_1681A_1] = new AnimationInstruction(arg_16815_0, new AnimInsEvent(arg_16810_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1685A_0[arg_1685A_1] = new Animation(arg_16855_0, arg_16855_1, arg_16855_2, arg_16855_3, arg_16855_4, arg_16855_5, arg_16855_6, arg_16855_7, arg_16855_8, arg_16855_9, arg_16855_10, arg_16855_11, arg_16855_12, arg_16855_13, arg_16855_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/End/Right"), new Vector2(17f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1697A_0 = xARC.dixAnimations;
             ushort arg_1697A_1 = 3;
             ushort arg_16975_0 = 3;
             byte arg_16975_1 = 3;
             Texture2D arg_16975_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/Start/Left");
             Vector2 arg_16975_3 = new Vector2(25f, 30f);
             int arg_16975_4 = 4;
             int arg_16975_5 = 6;
             int arg_16975_6 = 42;
             int arg_16975_7 = 31;
             int arg_16975_8 = 0;
             int arg_16975_9 = 0;
             int arg_16975_10 = 10;
             Animation.LoopSettings arg_16975_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16975_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16975_13 = false;
             bool arg_16975_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1693A_0 = array;
             int arg_1693A_1 = 0;
             AnimInsCriteria arg_16935_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16930_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1693A_0[arg_1693A_1] = new AnimationInstruction(arg_16935_0, new AnimInsEvent(arg_16930_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1697A_0[arg_1697A_1] = new Animation(arg_16975_0, arg_16975_1, arg_16975_2, arg_16975_3, arg_16975_4, arg_16975_5, arg_16975_6, arg_16975_7, arg_16975_8, arg_16975_9, arg_16975_10, arg_16975_11, arg_16975_12, arg_16975_13, arg_16975_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeA/End/Left"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_16AB2_0 = xARC.dixAnimations;
             ushort arg_16AB2_1 = 1;
             ushort arg_16AAD_0 = 1;
             byte arg_16AAD_1 = 1;
             Texture2D arg_16AAD_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/Start/Right");
             Vector2 arg_16AAD_3 = new Vector2(16f, 28f);
             int arg_16AAD_4 = 4;
             int arg_16AAD_5 = 6;
             int arg_16AAD_6 = 45;
             int arg_16AAD_7 = 29;
             int arg_16AAD_8 = 0;
             int arg_16AAD_9 = 0;
             int arg_16AAD_10 = 10;
             Animation.LoopSettings arg_16AAD_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16AAD_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16AAD_13 = false;
             bool arg_16AAD_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16A72_0 = array;
             int arg_16A72_1 = 0;
             AnimInsCriteria arg_16A6D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16A68_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_16A72_0[arg_16A72_1] = new AnimationInstruction(arg_16A6D_0, new AnimInsEvent(arg_16A68_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_16AB2_0[arg_16AB2_1] = new Animation(arg_16AAD_0, arg_16AAD_1, arg_16AAD_2, arg_16AAD_3, arg_16AAD_4, arg_16AAD_5, arg_16AAD_6, arg_16AAD_7, arg_16AAD_8, arg_16AAD_9, arg_16AAD_10, arg_16AAD_11, arg_16AAD_12, arg_16AAD_13, arg_16AAD_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/End/Right"), new Vector2(16f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_16BD2_0 = xARC.dixAnimations;
             ushort arg_16BD2_1 = 3;
             ushort arg_16BCD_0 = 3;
             byte arg_16BCD_1 = 3;
             Texture2D arg_16BCD_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/Start/Left");
             Vector2 arg_16BCD_3 = new Vector2(28f, 28f);
             int arg_16BCD_4 = 4;
             int arg_16BCD_5 = 6;
             int arg_16BCD_6 = 45;
             int arg_16BCD_7 = 29;
             int arg_16BCD_8 = 0;
             int arg_16BCD_9 = 0;
             int arg_16BCD_10 = 10;
             Animation.LoopSettings arg_16BCD_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16BCD_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16BCD_13 = false;
             bool arg_16BCD_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16B92_0 = array;
             int arg_16B92_1 = 0;
             AnimInsCriteria arg_16B8D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16B88_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_16B92_0[arg_16B92_1] = new AnimationInstruction(arg_16B8D_0, new AnimInsEvent(arg_16B88_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_16BD2_0[arg_16BD2_1] = new Animation(arg_16BCD_0, arg_16BCD_1, arg_16BCD_2, arg_16BCD_3, arg_16BCD_4, arg_16BCD_5, arg_16BCD_6, arg_16BCD_7, arg_16BCD_8, arg_16BCD_9, arg_16BCD_10, arg_16BCD_11, arg_16BCD_12, arg_16BCD_13, arg_16BCD_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeB/End/Left"), new Vector2(28f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeC)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_16D0A_0 = xARC.dixAnimations;
             ushort arg_16D0A_1 = 1;
             ushort arg_16D05_0 = 1;
             byte arg_16D05_1 = 1;
             Texture2D arg_16D05_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/Start/Right");
             Vector2 arg_16D05_3 = new Vector2(25f, 30f);
             int arg_16D05_4 = 4;
             int arg_16D05_5 = 6;
             int arg_16D05_6 = 42;
             int arg_16D05_7 = 31;
             int arg_16D05_8 = 0;
             int arg_16D05_9 = 0;
             int arg_16D05_10 = 10;
             Animation.LoopSettings arg_16D05_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16D05_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16D05_13 = false;
             bool arg_16D05_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16CCA_0 = array;
             int arg_16CCA_1 = 0;
             AnimInsCriteria arg_16CC5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16CC0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_16CCA_0[arg_16CCA_1] = new AnimationInstruction(arg_16CC5_0, new AnimInsEvent(arg_16CC0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_16D0A_0[arg_16D0A_1] = new Animation(arg_16D05_0, arg_16D05_1, arg_16D05_2, arg_16D05_3, arg_16D05_4, arg_16D05_5, arg_16D05_6, arg_16D05_7, arg_16D05_8, arg_16D05_9, arg_16D05_10, arg_16D05_11, arg_16D05_12, arg_16D05_13, arg_16D05_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/End/Right"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_16E2A_0 = xARC.dixAnimations;
             ushort arg_16E2A_1 = 3;
             ushort arg_16E25_0 = 3;
             byte arg_16E25_1 = 1;
             Texture2D arg_16E25_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/Start/Left");
             Vector2 arg_16E25_3 = new Vector2(18f, 30f);
             int arg_16E25_4 = 4;
             int arg_16E25_5 = 6;
             int arg_16E25_6 = 42;
             int arg_16E25_7 = 31;
             int arg_16E25_8 = 0;
             int arg_16E25_9 = 0;
             int arg_16E25_10 = 10;
             Animation.LoopSettings arg_16E25_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16E25_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16E25_13 = false;
             bool arg_16E25_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16DEA_0 = array;
             int arg_16DEA_1 = 0;
             AnimInsCriteria arg_16DE5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16DE0_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_16DEA_0[arg_16DEA_1] = new AnimationInstruction(arg_16DE5_0, new AnimInsEvent(arg_16DE0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_16E2A_0[arg_16E2A_1] = new Animation(arg_16E25_0, arg_16E25_1, arg_16E25_2, arg_16E25_3, arg_16E25_4, arg_16E25_5, arg_16E25_6, arg_16E25_7, arg_16E25_8, arg_16E25_9, arg_16E25_10, arg_16E25_11, arg_16E25_12, arg_16E25_13, arg_16E25_14, array);
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeC/End/Left"), new Vector2(18f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeD)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_16F6D_0 = xARC.dixAnimations;
             ushort arg_16F6D_1 = 1;
             ushort arg_16F68_0 = 1;
             byte arg_16F68_1 = 1;
             Texture2D arg_16F68_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/Start/Right");
             Vector2 arg_16F68_3 = new Vector2(19f, 26f);
             int arg_16F68_4 = 4;
             int arg_16F68_5 = 6;
             int arg_16F68_6 = 50;
             int arg_16F68_7 = 27;
             int arg_16F68_8 = 0;
             int arg_16F68_9 = 0;
             int arg_16F68_10 = 10;
             Animation.LoopSettings arg_16F68_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_16F68_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_16F68_13 = false;
             bool arg_16F68_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_16F2D_0 = array;
             int arg_16F2D_1 = 0;
             AnimInsCriteria arg_16F28_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_16F23_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_16F2D_0[arg_16F2D_1] = new AnimationInstruction(arg_16F28_0, new AnimInsEvent(arg_16F23_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_16F6D_0[arg_16F6D_1] = new Animation(arg_16F68_0, arg_16F68_1, arg_16F68_2, arg_16F68_3, arg_16F68_4, arg_16F68_5, arg_16F68_6, arg_16F68_7, arg_16F68_8, arg_16F68_9, arg_16F68_10, arg_16F68_11, arg_16F68_12, arg_16F68_13, arg_16F68_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/End/Right"), new Vector2(19f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1708D_0 = xARC.dixAnimations;
             ushort arg_1708D_1 = 3;
             ushort arg_17088_0 = 3;
             byte arg_17088_1 = 3;
             Texture2D arg_17088_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/Start/Left");
             Vector2 arg_17088_3 = new Vector2(31f, 26f);
             int arg_17088_4 = 4;
             int arg_17088_5 = 6;
             int arg_17088_6 = 50;
             int arg_17088_7 = 27;
             int arg_17088_8 = 0;
             int arg_17088_9 = 0;
             int arg_17088_10 = 10;
             Animation.LoopSettings arg_17088_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17088_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17088_13 = false;
             bool arg_17088_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1704D_0 = array;
             int arg_1704D_1 = 0;
             AnimInsCriteria arg_17048_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17043_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1704D_0[arg_1704D_1] = new AnimationInstruction(arg_17048_0, new AnimInsEvent(arg_17043_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1708D_0[arg_1708D_1] = new Animation(arg_17088_0, arg_17088_1, arg_17088_2, arg_17088_3, arg_17088_4, arg_17088_5, arg_17088_6, arg_17088_7, arg_17088_8, arg_17088_9, arg_17088_10, arg_17088_11, arg_17088_12, arg_17088_13, arg_17088_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeD/End/Left"), new Vector2(31f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeE)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_171C5_0 = xARC.dixAnimations;
             ushort arg_171C5_1 = 1;
             ushort arg_171C0_0 = 1;
             byte arg_171C0_1 = 1;
             Texture2D arg_171C0_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/Start/Right");
             Vector2 arg_171C0_3 = new Vector2(31f, 26f);
             int arg_171C0_4 = 4;
             int arg_171C0_5 = 6;
             int arg_171C0_6 = 50;
             int arg_171C0_7 = 27;
             int arg_171C0_8 = 0;
             int arg_171C0_9 = 0;
             int arg_171C0_10 = 10;
             Animation.LoopSettings arg_171C0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_171C0_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_171C0_13 = false;
             bool arg_171C0_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17185_0 = array;
             int arg_17185_1 = 0;
             AnimInsCriteria arg_17180_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1717B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17185_0[arg_17185_1] = new AnimationInstruction(arg_17180_0, new AnimInsEvent(arg_1717B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_171C5_0[arg_171C5_1] = new Animation(arg_171C0_0, arg_171C0_1, arg_171C0_2, arg_171C0_3, arg_171C0_4, arg_171C0_5, arg_171C0_6, arg_171C0_7, arg_171C0_8, arg_171C0_9, arg_171C0_10, arg_171C0_11, arg_171C0_12, arg_171C0_13, arg_171C0_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/End/Right"), new Vector2(31f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_172E5_0 = xARC.dixAnimations;
             ushort arg_172E5_1 = 3;
             ushort arg_172E0_0 = 3;
             byte arg_172E0_1 = 1;
             Texture2D arg_172E0_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/Start/Left");
             Vector2 arg_172E0_3 = new Vector2(13f, 26f);
             int arg_172E0_4 = 4;
             int arg_172E0_5 = 6;
             int arg_172E0_6 = 50;
             int arg_172E0_7 = 27;
             int arg_172E0_8 = 0;
             int arg_172E0_9 = 0;
             int arg_172E0_10 = 10;
             Animation.LoopSettings arg_172E0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_172E0_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_172E0_13 = false;
             bool arg_172E0_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_172A5_0 = array;
             int arg_172A5_1 = 0;
             AnimInsCriteria arg_172A0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1729B_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_172A5_0[arg_172A5_1] = new AnimationInstruction(arg_172A0_0, new AnimInsEvent(arg_1729B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_172E5_0[arg_172E5_1] = new Animation(arg_172E0_0, arg_172E0_1, arg_172E0_2, arg_172E0_3, arg_172E0_4, arg_172E0_5, arg_172E0_6, arg_172E0_7, arg_172E0_8, arg_172E0_9, arg_172E0_10, arg_172E0_11, arg_172E0_12, arg_172E0_13, arg_172E0_14, array);
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeE/End/Left"), new Vector2(13f, 26f), 4, 5, 50, 27, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeF)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17428_0 = xARC.dixAnimations;
             ushort arg_17428_1 = 1;
             ushort arg_17423_0 = 1;
             byte arg_17423_1 = 1;
             Texture2D arg_17423_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/Start/Right");
             Vector2 arg_17423_3 = new Vector2(13f, 28f);
             int arg_17423_4 = 4;
             int arg_17423_5 = 6;
             int arg_17423_6 = 45;
             int arg_17423_7 = 29;
             int arg_17423_8 = 0;
             int arg_17423_9 = 0;
             int arg_17423_10 = 10;
             Animation.LoopSettings arg_17423_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17423_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17423_13 = false;
             bool arg_17423_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_173E8_0 = array;
             int arg_173E8_1 = 0;
             AnimInsCriteria arg_173E3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_173DE_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_173E8_0[arg_173E8_1] = new AnimationInstruction(arg_173E3_0, new AnimInsEvent(arg_173DE_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17428_0[arg_17428_1] = new Animation(arg_17423_0, arg_17423_1, arg_17423_2, arg_17423_3, arg_17423_4, arg_17423_5, arg_17423_6, arg_17423_7, arg_17423_8, arg_17423_9, arg_17423_10, arg_17423_11, arg_17423_12, arg_17423_13, arg_17423_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/End/Right"), new Vector2(13f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_17548_0 = xARC.dixAnimations;
             ushort arg_17548_1 = 3;
             ushort arg_17543_0 = 3;
             byte arg_17543_1 = 3;
             Texture2D arg_17543_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/Start/Left");
             Vector2 arg_17543_3 = new Vector2(31f, 28f);
             int arg_17543_4 = 4;
             int arg_17543_5 = 6;
             int arg_17543_6 = 45;
             int arg_17543_7 = 29;
             int arg_17543_8 = 0;
             int arg_17543_9 = 0;
             int arg_17543_10 = 10;
             Animation.LoopSettings arg_17543_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17543_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17543_13 = false;
             bool arg_17543_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17508_0 = array;
             int arg_17508_1 = 0;
             AnimInsCriteria arg_17503_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_174FE_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17508_0[arg_17508_1] = new AnimationInstruction(arg_17503_0, new AnimInsEvent(arg_174FE_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_17548_0[arg_17548_1] = new Animation(arg_17543_0, arg_17543_1, arg_17543_2, arg_17543_3, arg_17543_4, arg_17543_5, arg_17543_6, arg_17543_7, arg_17543_8, arg_17543_9, arg_17543_10, arg_17543_11, arg_17543_12, arg_17543_13, arg_17543_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeF/End/Left"), new Vector2(31f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeG)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17680_0 = xARC.dixAnimations;
             ushort arg_17680_1 = 1;
             ushort arg_1767B_0 = 1;
             byte arg_1767B_1 = 1;
             Texture2D arg_1767B_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/Start/Right");
             Vector2 arg_1767B_3 = new Vector2(29f, 28f);
             int arg_1767B_4 = 4;
             int arg_1767B_5 = 6;
             int arg_1767B_6 = 45;
             int arg_1767B_7 = 29;
             int arg_1767B_8 = 0;
             int arg_1767B_9 = 0;
             int arg_1767B_10 = 10;
             Animation.LoopSettings arg_1767B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1767B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1767B_13 = false;
             bool arg_1767B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17640_0 = array;
             int arg_17640_1 = 0;
             AnimInsCriteria arg_1763B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17636_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17640_0[arg_17640_1] = new AnimationInstruction(arg_1763B_0, new AnimInsEvent(arg_17636_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17680_0[arg_17680_1] = new Animation(arg_1767B_0, arg_1767B_1, arg_1767B_2, arg_1767B_3, arg_1767B_4, arg_1767B_5, arg_1767B_6, arg_1767B_7, arg_1767B_8, arg_1767B_9, arg_1767B_10, arg_1767B_11, arg_1767B_12, arg_1767B_13, arg_1767B_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/End/Right"), new Vector2(29f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_177A0_0 = xARC.dixAnimations;
             ushort arg_177A0_1 = 3;
             ushort arg_1779B_0 = 3;
             byte arg_1779B_1 = 3;
             Texture2D arg_1779B_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/Start/Left");
             Vector2 arg_1779B_3 = new Vector2(17f, 28f);
             int arg_1779B_4 = 4;
             int arg_1779B_5 = 6;
             int arg_1779B_6 = 45;
             int arg_1779B_7 = 29;
             int arg_1779B_8 = 0;
             int arg_1779B_9 = 0;
             int arg_1779B_10 = 10;
             Animation.LoopSettings arg_1779B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1779B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1779B_13 = false;
             bool arg_1779B_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17760_0 = array;
             int arg_17760_1 = 0;
             AnimInsCriteria arg_1775B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_17756_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17760_0[arg_17760_1] = new AnimationInstruction(arg_1775B_0, new AnimInsEvent(arg_17756_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_177A0_0[arg_177A0_1] = new Animation(arg_1779B_0, arg_1779B_1, arg_1779B_2, arg_1779B_3, arg_1779B_4, arg_1779B_5, arg_1779B_6, arg_1779B_7, arg_1779B_8, arg_1779B_9, arg_1779B_10, arg_1779B_11, arg_1779B_12, arg_1779B_13, arg_1779B_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/TypeG/End/Left"), new Vector2(17f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeBigA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_178D8_0 = xARC.dixAnimations;
             ushort arg_178D8_1 = 1;
             ushort arg_178D3_0 = 1;
             byte arg_178D3_1 = 1;
             Texture2D arg_178D3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/Start/Right");
             Vector2 arg_178D3_3 = new Vector2(15f, 38f);
             int arg_178D3_4 = 4;
             int arg_178D3_5 = 7;
             int arg_178D3_6 = 35;
             int arg_178D3_7 = 39;
             int arg_178D3_8 = 0;
             int arg_178D3_9 = 0;
             int arg_178D3_10 = 10;
             Animation.LoopSettings arg_178D3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_178D3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_178D3_13 = false;
             bool arg_178D3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17898_0 = array;
             int arg_17898_1 = 0;
             AnimInsCriteria arg_17893_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_1788E_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17898_0[arg_17898_1] = new AnimationInstruction(arg_17893_0, new AnimInsEvent(arg_1788E_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_178D8_0[arg_178D8_1] = new Animation(arg_178D3_0, arg_178D3_1, arg_178D3_2, arg_178D3_3, arg_178D3_4, arg_178D3_5, arg_178D3_6, arg_178D3_7, arg_178D3_8, arg_178D3_9, arg_178D3_10, arg_178D3_11, arg_178D3_12, arg_178D3_13, arg_178D3_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/End/Right"), new Vector2(15f, 38f), 4, 6, 35, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_179F8_0 = xARC.dixAnimations;
             ushort arg_179F8_1 = 3;
             ushort arg_179F3_0 = 3;
             byte arg_179F3_1 = 3;
             Texture2D arg_179F3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/Start/Right");
             Vector2 arg_179F3_3 = new Vector2(20f, 38f);
             int arg_179F3_4 = 4;
             int arg_179F3_5 = 7;
             int arg_179F3_6 = 35;
             int arg_179F3_7 = 39;
             int arg_179F3_8 = 0;
             int arg_179F3_9 = 0;
             int arg_179F3_10 = 10;
             Animation.LoopSettings arg_179F3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_179F3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_179F3_13 = false;
             bool arg_179F3_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_179B8_0 = array;
             int arg_179B8_1 = 0;
             AnimInsCriteria arg_179B3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_179AE_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_179B8_0[arg_179B8_1] = new AnimationInstruction(arg_179B3_0, new AnimInsEvent(arg_179AE_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_179F8_0[arg_179F8_1] = new Animation(arg_179F3_0, arg_179F3_1, arg_179F3_2, arg_179F3_3, arg_179F3_4, arg_179F3_5, arg_179F3_6, arg_179F3_7, arg_179F3_8, arg_179F3_9, arg_179F3_10, arg_179F3_11, arg_179F3_12, arg_179F3_13, arg_179F3_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeA/End/Right"), new Vector2(20f, 38f), 4, 6, 35, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeBigB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17B54_0 = xARC.dixAnimations;
             ushort arg_17B54_1 = 1;
             ushort arg_17B4F_0 = 1;
             byte arg_17B4F_1 = 1;
             Texture2D arg_17B4F_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/Start/Right");
             Vector2 arg_17B4F_3 = new Vector2(8f, 33f);
             int arg_17B4F_4 = 4;
             int arg_17B4F_5 = 7;
             int arg_17B4F_6 = 46;
             int arg_17B4F_7 = 34;
             int arg_17B4F_8 = 0;
             int arg_17B4F_9 = 0;
             int arg_17B4F_10 = 10;
             Animation.LoopSettings arg_17B4F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17B4F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17B4F_13 = false;
             bool arg_17B4F_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17B14_0 = array;
             int arg_17B14_1 = 0;
             AnimInsCriteria arg_17B0F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17B0A_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17B14_0[arg_17B14_1] = new AnimationInstruction(arg_17B0F_0, new AnimInsEvent(arg_17B0A_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17B54_0[arg_17B54_1] = new Animation(arg_17B4F_0, arg_17B4F_1, arg_17B4F_2, arg_17B4F_3, arg_17B4F_4, arg_17B4F_5, arg_17B4F_6, arg_17B4F_7, arg_17B4F_8, arg_17B4F_9, arg_17B4F_10, arg_17B4F_11, arg_17B4F_12, arg_17B4F_13, arg_17B4F_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/End/Right"), new Vector2(8f, 33f), 4, 6, 46, 34, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_17C74_0 = xARC.dixAnimations;
             ushort arg_17C74_1 = 3;
             ushort arg_17C6F_0 = 3;
             byte arg_17C6F_1 = 3;
             Texture2D arg_17C6F_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/Start/Right");
             Vector2 arg_17C6F_3 = new Vector2(38f, 33f);
             int arg_17C6F_4 = 4;
             int arg_17C6F_5 = 7;
             int arg_17C6F_6 = 46;
             int arg_17C6F_7 = 34;
             int arg_17C6F_8 = 0;
             int arg_17C6F_9 = 0;
             int arg_17C6F_10 = 10;
             Animation.LoopSettings arg_17C6F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17C6F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17C6F_13 = false;
             bool arg_17C6F_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17C34_0 = array;
             int arg_17C34_1 = 0;
             AnimInsCriteria arg_17C2F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17C2A_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17C34_0[arg_17C34_1] = new AnimationInstruction(arg_17C2F_0, new AnimInsEvent(arg_17C2A_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_17C74_0[arg_17C74_1] = new Animation(arg_17C6F_0, arg_17C6F_1, arg_17C6F_2, arg_17C6F_3, arg_17C6F_4, arg_17C6F_5, arg_17C6F_6, arg_17C6F_7, arg_17C6F_8, arg_17C6F_9, arg_17C6F_10, arg_17C6F_11, arg_17C6F_12, arg_17C6F_13, arg_17C6F_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeB/End/Right"), new Vector2(38f, 33f), 4, 6, 46, 34, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_IceSpikeBigF)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_17DD0_0 = xARC.dixAnimations;
             ushort arg_17DD0_1 = 1;
             ushort arg_17DCB_0 = 1;
             byte arg_17DCB_1 = 1;
             Texture2D arg_17DCB_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/Start/Right");
             Vector2 arg_17DCB_3 = new Vector2(22f, 32f);
             int arg_17DCB_4 = 4;
             int arg_17DCB_5 = 7;
             int arg_17DCB_6 = 62;
             int arg_17DCB_7 = 33;
             int arg_17DCB_8 = 0;
             int arg_17DCB_9 = 0;
             int arg_17DCB_10 = 10;
             Animation.LoopSettings arg_17DCB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17DCB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17DCB_13 = false;
             bool arg_17DCB_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17D90_0 = array;
             int arg_17D90_1 = 0;
             AnimInsCriteria arg_17D8B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17D86_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_17D90_0[arg_17D90_1] = new AnimationInstruction(arg_17D8B_0, new AnimInsEvent(arg_17D86_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_17DD0_0[arg_17DD0_1] = new Animation(arg_17DCB_0, arg_17DCB_1, arg_17DCB_2, arg_17DCB_3, arg_17DCB_4, arg_17DCB_5, arg_17DCB_6, arg_17DCB_7, arg_17DCB_8, arg_17DCB_9, arg_17DCB_10, arg_17DCB_11, arg_17DCB_12, arg_17DCB_13, arg_17DCB_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/End/Right"), new Vector2(22f, 32f), 4, 6, 62, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_17EF0_0 = xARC.dixAnimations;
             ushort arg_17EF0_1 = 3;
             ushort arg_17EEB_0 = 3;
             byte arg_17EEB_1 = 1;
             Texture2D arg_17EEB_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/Start/Right");
             Vector2 arg_17EEB_3 = new Vector2(40f, 32f);
             int arg_17EEB_4 = 4;
             int arg_17EEB_5 = 7;
             int arg_17EEB_6 = 62;
             int arg_17EEB_7 = 33;
             int arg_17EEB_8 = 0;
             int arg_17EEB_9 = 0;
             int arg_17EEB_10 = 10;
             Animation.LoopSettings arg_17EEB_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_17EEB_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_17EEB_13 = false;
             bool arg_17EEB_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_17EB0_0 = array;
             int arg_17EB0_1 = 0;
             AnimInsCriteria arg_17EAB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_17EA6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_17EB0_0[arg_17EB0_1] = new AnimationInstruction(arg_17EAB_0, new AnimInsEvent(arg_17EA6_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_17EF0_0[arg_17EF0_1] = new Animation(arg_17EEB_0, arg_17EEB_1, arg_17EEB_2, arg_17EEB_3, arg_17EEB_4, arg_17EEB_5, arg_17EEB_6, arg_17EEB_7, arg_17EEB_8, arg_17EEB_9, arg_17EEB_10, arg_17EEB_11, arg_17EEB_12, arg_17EEB_13, arg_17EEB_14, array);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Level 3/TypeC/End/Right"), new Vector2(40f, 32f), 4, 6, 62, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostPathA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_18057_0 = xARC.dixAnimations;
             ushort arg_18057_1 = 0;
             ushort arg_18052_0 = 0;
             byte arg_18052_1 = 1;
             Texture2D arg_18052_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeA/Start");
             Vector2 arg_18052_3 = new Vector2(21f, 15f);
             int arg_18052_4 = 4;
             int arg_18052_5 = 7;
             int arg_18052_6 = 38;
             int arg_18052_7 = 29;
             int arg_18052_8 = 0;
             int arg_18052_9 = 0;
             int arg_18052_10 = 10;
             Animation.LoopSettings arg_18052_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18052_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18052_13 = false;
             bool arg_18052_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_18017_0 = array;
             int arg_18017_1 = 0;
             AnimInsCriteria arg_18012_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_1800D_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_18017_0[arg_18017_1] = new AnimationInstruction(arg_18012_0, new AnimInsEvent(arg_1800D_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_18057_0[arg_18057_1] = new Animation(arg_18052_0, arg_18052_1, arg_18052_2, arg_18052_3, arg_18052_4, arg_18052_5, arg_18052_6, arg_18052_7, arg_18052_8, arg_18052_9, arg_18052_10, arg_18052_11, arg_18052_12, arg_18052_13, arg_18052_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeA/End"), new Vector2(21f, 15f), 4, 6, 38, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostPathB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1819C_0 = xARC.dixAnimations;
             ushort arg_1819C_1 = 0;
             ushort arg_18197_0 = 0;
             byte arg_18197_1 = 1;
             Texture2D arg_18197_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeB/Start");
             Vector2 arg_18197_3 = new Vector2(11f, 10f);
             int arg_18197_4 = 4;
             int arg_18197_5 = 7;
             int arg_18197_6 = 21;
             int arg_18197_7 = 20;
             int arg_18197_8 = 0;
             int arg_18197_9 = 0;
             int arg_18197_10 = 10;
             Animation.LoopSettings arg_18197_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18197_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18197_13 = false;
             bool arg_18197_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1815C_0 = array;
             int arg_1815C_1 = 0;
             AnimInsCriteria arg_18157_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_18152_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_1815C_0[arg_1815C_1] = new AnimationInstruction(arg_18157_0, new AnimInsEvent(arg_18152_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1819C_0[arg_1819C_1] = new Animation(arg_18197_0, arg_18197_1, arg_18197_2, arg_18197_3, arg_18197_4, arg_18197_5, arg_18197_6, arg_18197_7, arg_18197_8, arg_18197_9, arg_18197_10, arg_18197_11, arg_18197_12, arg_18197_13, arg_18197_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceSpikes, "Sprites/Spells/Frost Spike/Frost/TypeB/End"), new Vector2(11f, 10f), 4, 6, 21, 20, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FireballImpact)
         {
             Animation anim204 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Effects/SpellEffects/Impact"), new Vector2(14f, 12f), 4, 6, 25, 24, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Fireball;
             xARC.dixAnimations.Add(anim204.iID, anim204);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FireballTrail)
         {
             Animation anim205 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/Smoke/TrailA"), new Vector2(12f, 13f), 4, 8, 23, 22, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Fireball;
             if (CAS.RandomInVisual.Next(2) == 0)
             {
                 anim205.enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             xARC.dixAnimations.Add(anim205.iID, anim205);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FireballCastRight)
         {
             Animation anim206 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Fireball, "Sprites/Spells/Fireball/CastEffect"), new Vector2(6f, 12f), 4, 6, 18, 20, 18, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Fireball;
             xARC.dixAnimations.Add(anim206.iID, anim206);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmall)
         {
             ushort arg_18406_0 = 0;
             byte arg_18406_1 = 0;
             Texture2D arg_18406_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Meteor");
             Vector2 arg_18406_3 = new Vector2(20f, 22f);
             int arg_18406_4 = 2;
             int arg_18406_5 = 6;
             int arg_18406_6 = 30;
             int arg_18406_7 = 30;
             int arg_18406_8 = 0;
             int arg_18406_9 = 0;
             int arg_18406_10 = 6;
             Animation.LoopSettings arg_18406_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_18406_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18406_13 = false;
             bool arg_18406_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_18401_0 = array;
             int arg_18401_1 = 0;
             AnimInsCriteria.Criteria arg_183D7_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             arg_18401_0[arg_18401_1] = new AnimationInstruction(new AnimInsCriteria(arg_183D7_0, array2), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[]
             {
                 0.06f
             }));
             Animation anim207 = new Animation(arg_18406_0, arg_18406_1, arg_18406_2, arg_18406_3, arg_18406_4, arg_18406_5, arg_18406_6, arg_18406_7, arg_18406_8, arg_18406_9, arg_18406_10, arg_18406_11, arg_18406_12, arg_18406_13, arg_18406_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim207.iID, anim207);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallExplosion)
         {
             ushort arg_184B4_0 = 0;
             byte arg_184B4_1 = 0;
             Texture2D arg_184B4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Explosion");
             Vector2 arg_184B4_3 = new Vector2(24f, 28f);
             int arg_184B4_4 = 4;
             int arg_184B4_5 = 10;
             int arg_184B4_6 = 50;
             int arg_184B4_7 = 38;
             int arg_184B4_8 = 0;
             int arg_184B4_9 = 0;
             int arg_184B4_10 = 10;
             Animation.LoopSettings arg_184B4_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_184B4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_184B4_13 = false;
             bool arg_184B4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_184AF_0 = array;
             int arg_184AF_1 = 0;
             AnimInsCriteria arg_184AA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_184A5_0 = AnimInsEvent.EventType.PlaySound;
             string arg_184A5_1 = "Rock_break";
             float[] array2 = new float[1];
             arg_184AF_0[arg_184AF_1] = new AnimationInstruction(arg_184AA_0, new AnimInsEvent(arg_184A5_0, arg_184A5_1, array2));
             Animation anim208 = new Animation(arg_184B4_0, arg_184B4_1, arg_184B4_2, arg_184B4_3, arg_184B4_4, arg_184B4_5, arg_184B4_6, arg_184B4_7, arg_184B4_8, arg_184B4_9, arg_184B4_10, arg_184B4_11, arg_184B4_12, arg_184B4_13, arg_184B4_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim208.iID, anim208);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallImpact)
         {
             ushort arg_185C4_0 = 0;
             byte arg_185C4_1 = 0;
             Texture2D arg_185C4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Impact");
             Vector2 arg_185C4_3 = new Vector2(16f, 10f);
             int arg_185C4_4 = 4;
             int arg_185C4_5 = 3;
             int arg_185C4_6 = 31;
             int arg_185C4_7 = 19;
             int arg_185C4_8 = 0;
             int arg_185C4_9 = 0;
             int arg_185C4_10 = 10;
             Animation.LoopSettings arg_185C4_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_185C4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_185C4_13 = false;
             bool arg_185C4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_185BF_0 = array;
             int arg_185BF_1 = 1;
             AnimInsCriteria arg_185BA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_185B5_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 40f;
             arg_185BF_0[arg_185BF_1] = new AnimationInstruction(arg_185BA_0, new AnimInsEvent(arg_185B5_0, array2));
             Animation anim209 = new Animation(arg_185C4_0, arg_185C4_1, arg_185C4_2, arg_185C4_3, arg_185C4_4, arg_185C4_5, arg_185C4_6, arg_185C4_7, arg_185C4_8, arg_185C4_9, arg_185C4_10, arg_185C4_11, arg_185C4_12, arg_185C4_13, arg_185C4_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim209.iID, anim209);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallTargetFade)
         {
             ushort arg_1875A_0 = 0;
             byte arg_1875A_1 = 0;
             Texture2D arg_1875A_2 = Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetSmall");
             Vector2 arg_1875A_3 = new Vector2(16f, 16f);
             int arg_1875A_4 = 4;
             int arg_1875A_5 = 1;
             int arg_1875A_6 = 32;
             int arg_1875A_7 = 32;
             int arg_1875A_8 = 0;
             int arg_1875A_9 = 0;
             int arg_1875A_10 = 30;
             Animation.LoopSettings arg_1875A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1875A_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1875A_13 = true;
             bool arg_1875A_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.03f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
             {
                 -0.03f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustRotation, new float[]
             {
                 0.1f
             }));
             AnimationInstruction[] arg_18755_0 = array;
             int arg_18755_1 = 3;
             AnimInsCriteria arg_18750_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1874B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 33f;
             arg_18755_0[arg_18755_1] = new AnimationInstruction(arg_18750_0, new AnimInsEvent(arg_1874B_0, array2));
             Animation anim210 = new Animation(arg_1875A_0, arg_1875A_1, arg_1875A_2, arg_1875A_3, arg_1875A_4, arg_1875A_5, arg_1875A_6, arg_1875A_7, arg_1875A_8, arg_1875A_9, arg_1875A_10, arg_1875A_11, arg_1875A_12, arg_1875A_13, arg_1875A_14, array);
             xARC.cColor = Color.Red;
             xARC.dixAnimations.Add(anim210.iID, anim210);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMedium)
         {
             ushort arg_18815_0 = 0;
             byte arg_18815_1 = 0;
             Texture2D arg_18815_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 3/Meteor");
             Vector2 arg_18815_3 = new Vector2(26f, 25f);
             int arg_18815_4 = 4;
             int arg_18815_5 = 1;
             int arg_18815_6 = 38;
             int arg_18815_7 = 36;
             int arg_18815_8 = 0;
             int arg_18815_9 = 0;
             int arg_18815_10 = 11;
             Animation.LoopSettings arg_18815_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_18815_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_18815_13 = false;
             bool arg_18815_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_18810_0 = array;
             int arg_18810_1 = 0;
             AnimInsCriteria.Criteria arg_187E6_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             arg_18810_0[arg_18810_1] = new AnimationInstruction(new AnimInsCriteria(arg_187E6_0, array2), new AnimInsEvent(AnimInsEvent.EventType.CreateGhostImage, new float[]
             {
                 0.06f
             }));
             Animation anim211 = new Animation(arg_18815_0, arg_18815_1, arg_18815_2, arg_18815_3, arg_18815_4, arg_18815_5, arg_18815_6, arg_18815_7, arg_18815_8, arg_18815_9, arg_18815_10, arg_18815_11, arg_18815_12, arg_18815_13, arg_18815_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim211.iID, anim211);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMediumExplosion)
         {
             ushort arg_188C3_0 = 0;
             byte arg_188C3_1 = 0;
             Texture2D arg_188C3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Effects/Explosions/Mushroom/Orange");
             Vector2 arg_188C3_3 = new Vector2(36f, 73f);
             int arg_188C3_4 = 4;
             int arg_188C3_5 = 11;
             int arg_188C3_6 = 75;
             int arg_188C3_7 = 78;
             int arg_188C3_8 = 0;
             int arg_188C3_9 = 0;
             int arg_188C3_10 = 11;
             Animation.LoopSettings arg_188C3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_188C3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_188C3_13 = false;
             bool arg_188C3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_188BE_0 = array;
             int arg_188BE_1 = 0;
             AnimInsCriteria arg_188B9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_188B4_0 = AnimInsEvent.EventType.PlaySound;
             string arg_188B4_1 = "Rock_break";
             float[] array2 = new float[1];
             arg_188BE_0[arg_188BE_1] = new AnimationInstruction(arg_188B9_0, new AnimInsEvent(arg_188B4_0, arg_188B4_1, array2));
             Animation anim212 = new Animation(arg_188C3_0, arg_188C3_1, arg_188C3_2, arg_188C3_3, arg_188C3_4, arg_188C3_5, arg_188C3_6, arg_188C3_7, arg_188C3_8, arg_188C3_9, arg_188C3_10, arg_188C3_11, arg_188C3_12, arg_188C3_13, arg_188C3_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim212.iID, anim212);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMediumImpact)
         {
             ushort arg_189D3_0 = 0;
             byte arg_189D3_1 = 0;
             Texture2D arg_189D3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Meteor, "Sprites/Spells/Meteor/Level 1-2/Impact");
             Vector2 arg_189D3_3 = new Vector2(16f, 10f);
             int arg_189D3_4 = 4;
             int arg_189D3_5 = 3;
             int arg_189D3_6 = 31;
             int arg_189D3_7 = 19;
             int arg_189D3_8 = 0;
             int arg_189D3_9 = 0;
             int arg_189D3_10 = 10;
             Animation.LoopSettings arg_189D3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_189D3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_189D3_13 = false;
             bool arg_189D3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_189CE_0 = array;
             int arg_189CE_1 = 1;
             AnimInsCriteria arg_189C9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_189C4_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 40f;
             arg_189CE_0[arg_189CE_1] = new AnimationInstruction(arg_189C9_0, new AnimInsEvent(arg_189C4_0, array2));
             Animation anim213 = new Animation(arg_189D3_0, arg_189D3_1, arg_189D3_2, arg_189D3_3, arg_189D3_4, arg_189D3_5, arg_189D3_6, arg_189D3_7, arg_189D3_8, arg_189D3_9, arg_189D3_10, arg_189D3_11, arg_189D3_12, arg_189D3_13, arg_189D3_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Meteor;
             xARC.dixAnimations.Add(anim213.iID, anim213);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMediumTargetFade)
         {
             ushort arg_18B69_0 = 0;
             byte arg_18B69_1 = 0;
             Texture2D arg_18B69_2 = Content.Load<Texture2D>("Sprites/Spells/Earth Spike/TargetMedium");
             Vector2 arg_18B69_3 = new Vector2(16f, 16f);
             int arg_18B69_4 = 4;
             int arg_18B69_5 = 1;
             int arg_18B69_6 = 32;
             int arg_18B69_7 = 32;
             int arg_18B69_8 = 0;
             int arg_18B69_9 = 0;
             int arg_18B69_10 = 30;
             Animation.LoopSettings arg_18B69_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_18B69_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_18B69_13 = true;
             bool arg_18B69_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.03f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
             {
                 -0.03f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustRotation, new float[]
             {
                 0.1f
             }));
             AnimationInstruction[] arg_18B64_0 = array;
             int arg_18B64_1 = 3;
             AnimInsCriteria arg_18B5F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_18B5A_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 33f;
             arg_18B64_0[arg_18B64_1] = new AnimationInstruction(arg_18B5F_0, new AnimInsEvent(arg_18B5A_0, array2));
             Animation anim214 = new Animation(arg_18B69_0, arg_18B69_1, arg_18B69_2, arg_18B69_3, arg_18B69_4, arg_18B69_5, arg_18B69_6, arg_18B69_7, arg_18B69_8, arg_18B69_9, arg_18B69_10, arg_18B69_11, arg_18B69_12, arg_18B69_13, arg_18B69_14, array);
             xARC.cColor = Color.Red;
             xARC.dixAnimations.Add(anim214.iID, anim214);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FlamethrowerParticleSmall)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/Small"), new Vector2(6f, 6f), 4, 5, 12, 12, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     20f
                 }), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/SmallEnd"), new Vector2(6f, 6f), 4, 9, 12, 12, 0, 0, 9, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Flamethrower;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_FlamethrowerParticleMedium)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/Mid"), new Vector2(8f, 8f), 4, 5, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     20f
                 }), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Fire_Flamethrower, "Sprites/Heroes/Skills/Flame Cone/Projectile/MidEnd"), new Vector2(10f, 10f), 4, 12, 20, 20, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Fire_Flamethrower;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_EarthParticle01)
         {
             int iRand = Program.GetTheGame().randomInVisual.Next(2);
             string DEFAULT_SPELL_PATH = "Sprites/Spells/";
             if (iRand == 0)
             {
                 Dictionary<ushort, Animation> arg_18EC0_0 = xARC.dixAnimations;
                 ushort arg_18EC0_1 = 0;
                 ushort arg_18EBB_0 = 0;
                 byte arg_18EBB_1 = 1;
                 Texture2D arg_18EBB_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, DEFAULT_SPELL_PATH + "Earth Spike/Particle/Dirt1");
                 Vector2 arg_18EBB_3 = new Vector2(5f, 17f);
                 int arg_18EBB_4 = 4;
                 int arg_18EBB_5 = 8;
                 int arg_18EBB_6 = 9;
                 int arg_18EBB_7 = 19;
                 int arg_18EBB_8 = 0;
                 int arg_18EBB_9 = 0;
                 int arg_18EBB_10 = 11;
                 Animation.LoopSettings arg_18EBB_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_18EBB_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_18EBB_13 = true;
                 bool arg_18EBB_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_18E6C_0 = array;
                 int arg_18E6C_1 = 0;
                 AnimInsCriteria arg_18E67_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18E62_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_18E6C_0[arg_18E6C_1] = new AnimationInstruction(arg_18E67_0, new AnimInsEvent(arg_18E62_0, array2));
                 AnimationInstruction[] arg_18EB6_0 = array;
                 int arg_18EB6_1 = 1;
                 AnimInsCriteria arg_18EB1_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18EAC_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_18EB6_0[arg_18EB6_1] = new AnimationInstruction(arg_18EB1_0, new AnimInsEvent(arg_18EAC_0, array2));
                 arg_18EC0_0[arg_18EC0_1] = new Animation(arg_18EBB_0, arg_18EBB_1, arg_18EBB_2, arg_18EBB_3, arg_18EBB_4, arg_18EBB_5, arg_18EBB_6, arg_18EBB_7, arg_18EBB_8, arg_18EBB_9, arg_18EBB_10, arg_18EBB_11, arg_18EBB_12, arg_18EBB_13, arg_18EBB_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_18FB7_0 = xARC.dixAnimations;
                 ushort arg_18FB7_1 = 0;
                 ushort arg_18FB2_0 = 0;
                 byte arg_18FB2_1 = 1;
                 Texture2D arg_18FB2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Earth_EarthSpike, DEFAULT_SPELL_PATH + "Earth Spike/Particle/Dirt2");
                 Vector2 arg_18FB2_3 = new Vector2(5f, 17f);
                 int arg_18FB2_4 = 4;
                 int arg_18FB2_5 = 8;
                 int arg_18FB2_6 = 9;
                 int arg_18FB2_7 = 19;
                 int arg_18FB2_8 = 0;
                 int arg_18FB2_9 = 0;
                 int arg_18FB2_10 = 11;
                 Animation.LoopSettings arg_18FB2_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_18FB2_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_18FB2_13 = true;
                 bool arg_18FB2_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_18F63_0 = array;
                 int arg_18F63_1 = 0;
                 AnimInsCriteria arg_18F5E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18F59_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_18F63_0[arg_18F63_1] = new AnimationInstruction(arg_18F5E_0, new AnimInsEvent(arg_18F59_0, array2));
                 AnimationInstruction[] arg_18FAD_0 = array;
                 int arg_18FAD_1 = 1;
                 AnimInsCriteria arg_18FA8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_18FA3_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_18FAD_0[arg_18FAD_1] = new AnimationInstruction(arg_18FA8_0, new AnimInsEvent(arg_18FA3_0, array2));
                 arg_18FB7_0[arg_18FB7_1] = new Animation(arg_18FB2_0, arg_18FB2_1, arg_18FB2_2, arg_18FB2_3, arg_18FB2_4, arg_18FB2_5, arg_18FB2_6, arg_18FB2_7, arg_18FB2_8, arg_18FB2_9, arg_18FB2_10, arg_18FB2_11, arg_18FB2_12, arg_18FB2_13, arg_18FB2_14, array);
             }
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_EarthSpike;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_InsectDeathLvl1)
         {
             Dictionary<ushort, Animation> arg_19138_0 = xARC.dixAnimations;
             ushort arg_19138_1 = 0;
             ushort arg_19133_0 = 0;
             byte arg_19133_1 = 1;
             Texture2D arg_19133_2 = Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 1-2/Dead/Down");
             Vector2 arg_19133_3 = new Vector2(7f, 6f);
             int arg_19133_4 = 4;
             int arg_19133_5 = 12;
             int arg_19133_6 = 14;
             int arg_19133_7 = 10;
             int arg_19133_8 = 0;
             int arg_19133_9 = 0;
             int arg_19133_10 = 12;
             Animation.LoopSettings arg_19133_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_19133_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_19133_13 = true;
             bool arg_19133_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[4];
             AnimationInstruction[] arg_19050_0 = array;
             int arg_19050_1 = 0;
             AnimInsCriteria arg_1904B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 8f
             });
             AnimInsEvent.EventType arg_19046_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_19050_0[arg_19050_1] = new AnimationInstruction(arg_1904B_0, new AnimInsEvent(arg_19046_0, array2));
             AnimationInstruction[] arg_1909A_0 = array;
             int arg_1909A_1 = 1;
             AnimInsCriteria arg_19095_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_19090_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 7f;
             arg_1909A_0[arg_1909A_1] = new AnimationInstruction(arg_19095_0, new AnimInsEvent(arg_19090_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_1912E_0 = array;
             int arg_1912E_1 = 3;
             AnimInsCriteria arg_19129_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 12f
             });
             AnimInsEvent.EventType arg_19124_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_1912E_0[arg_1912E_1] = new AnimationInstruction(arg_19129_0, new AnimInsEvent(arg_19124_0, array2));
             arg_19138_0[arg_19138_1] = new Animation(arg_19133_0, arg_19133_1, arg_19133_2, arg_19133_3, arg_19133_4, arg_19133_5, arg_19133_6, arg_19133_7, arg_19133_8, arg_19133_9, arg_19133_10, arg_19133_11, arg_19133_12, arg_19133_13, arg_19133_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_InsectSwarm;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_InsectDeathLvl3)
         {
             Dictionary<ushort, Animation> arg_1927B_0 = xARC.dixAnimations;
             ushort arg_1927B_1 = 0;
             ushort arg_19276_0 = 0;
             byte arg_19276_1 = 1;
             Texture2D arg_19276_2 = Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Dead/Right");
             Vector2 arg_19276_3 = new Vector2(11f, 25f);
             int arg_19276_4 = 4;
             int arg_19276_5 = 12;
             int arg_19276_6 = 23;
             int arg_19276_7 = 28;
             int arg_19276_8 = 0;
             int arg_19276_9 = 0;
             int arg_19276_10 = 12;
             Animation.LoopSettings arg_19276_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_19276_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_19276_13 = false;
             bool arg_19276_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_191DD_0 = array;
             int arg_191DD_1 = 0;
             AnimInsCriteria arg_191D8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_191D3_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 7f;
             arg_191DD_0[arg_191DD_1] = new AnimationInstruction(arg_191D8_0, new AnimInsEvent(arg_191D3_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_19271_0 = array;
             int arg_19271_1 = 2;
             AnimInsCriteria arg_1926C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_19267_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_19271_0[arg_19271_1] = new AnimationInstruction(arg_1926C_0, new AnimInsEvent(arg_19267_0, array2));
             arg_1927B_0[arg_1927B_1] = new Animation(arg_19276_0, arg_19276_1, arg_19276_2, arg_19276_3, arg_19276_4, arg_19276_5, arg_19276_6, arg_19276_7, arg_19276_8, arg_19276_9, arg_19276_10, arg_19276_11, arg_19276_12, arg_19276_13, arg_19276_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_InsectSwarm;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_Electric16A)
         {
             Animation anim215 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Lightning"), new Vector2(4f, 0f), 4, 3, 8, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     20f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     40f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_SummonCloud;
             xARC.dixAnimations.Add(anim215.iID, anim215);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_ElectricImpactSmall)
         {
             ushort arg_19425_0 = 0;
             byte arg_19425_1 = 0;
             Texture2D arg_19425_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Impact");
             Vector2 arg_19425_3 = new Vector2(14f, 10f);
             int arg_19425_4 = 5;
             int arg_19425_5 = 3;
             int arg_19425_6 = 28;
             int arg_19425_7 = 10;
             int arg_19425_8 = 0;
             int arg_19425_9 = 0;
             int arg_19425_10 = 6;
             Animation.LoopSettings arg_19425_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_19425_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_19425_13 = false;
             bool arg_19425_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_19420_0 = array;
             int arg_19420_1 = 0;
             AnimInsCriteria arg_1941B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_19416_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 4f;
             arg_19420_0[arg_19420_1] = new AnimationInstruction(arg_1941B_0, new AnimInsEvent(arg_19416_0, array2));
             Animation anim216 = new Animation(arg_19425_0, arg_19425_1, arg_19425_2, arg_19425_3, arg_19425_4, arg_19425_5, arg_19425_6, arg_19425_7, arg_19425_8, arg_19425_9, arg_19425_10, arg_19425_11, arg_19425_12, arg_19425_13, arg_19425_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_SummonCloud;
             xARC.dixAnimations.Add(anim216.iID, anim216);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_SmallHole)
         {
             Animation anim217 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_SummonCloud, "Sprites/Spells/Cloud/Level 1-2/Hole"), new Vector2(3f, 3f), 4, 1, 5, 4, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     120f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     170f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_SummonCloud;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(anim217.iID, anim217);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_ElectricCurrent)
         {
             iFastForward = Program.game.randomInVisual.Next(60);
             Animation anim218 = new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Spark"), new Vector2(0f, 7f), 2, 4, 24, 12, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     (float)iFastForward
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.04f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     (float)(25 + iFastForward)
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             xARC.dixAnimations.Add(anim218.iID, anim218);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_ChainLightningCast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Up"), new Vector2(17f, 23f), 3, 6, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Right"), new Vector2(12f, 14f), 3, 6, 36, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 2, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Down"), new Vector2(8f, 4f), 3, 6, 26, 25, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_ChainLightning, "Sprites/Spells/Chain Lightning/Effect/Right"), new Vector2(24f, 14f), 3, 6, 36, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_ChainLightning;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_TargetArrow)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Arrow"), new Vector2(28f, 7f), 4, 1, 56, 15, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_198D8_0 = xARC.dixAnimations;
             ushort arg_198D8_1 = 1;
             ushort arg_198D3_0 = 1;
             byte arg_198D3_1 = 0;
             Texture2D arg_198D3_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Arrow");
             Vector2 arg_198D3_3 = new Vector2(28f, 7f);
             int arg_198D3_4 = 4;
             int arg_198D3_5 = 1;
             int arg_198D3_6 = 56;
             int arg_198D3_7 = 15;
             int arg_198D3_8 = 0;
             int arg_198D3_9 = 0;
             int arg_198D3_10 = 6;
             Animation.LoopSettings arg_198D3_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_198D3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_198D3_13 = false;
             bool arg_198D3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_19897_0 = array;
             int arg_19897_1 = 0;
             AnimInsCriteria.Criteria arg_1986D_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             arg_19897_0[arg_19897_1] = new AnimationInstruction(new AnimInsCriteria(arg_1986D_0, array2), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.1f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]));
             arg_198D8_0[arg_198D8_1] = new Animation(arg_198D3_0, arg_198D3_1, arg_198D3_2, arg_198D3_3, arg_198D3_4, arg_198D3_5, arg_198D3_6, arg_198D3_7, arg_198D3_8, arg_198D3_9, arg_198D3_10, arg_198D3_11, arg_198D3_12, arg_198D3_13, arg_198D3_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_WindSlice;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_WindSlashCastEffect)
         {
             Animation anim219 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Level 1/Effect/Down"), new Vector2(22f, 16f), 4, 6, 44, 20, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_WindSlice;
             xARC.dixAnimations.Add(anim219.iID, anim219);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_SlashCastLv1)
         {
             Animation anim220 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Wind_WindSlice, "Sprites/Spells/Wind Slash/Level 1/Slash/Start"), new Vector2(29f, 18f), 4, 6, 40, 35, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Wind_WindSlice;
             xARC.dixAnimations.Add(anim220.iID, anim220);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_HealPillarFront)
         {
             Animation anim221 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Heal/Front"), new Vector2(15f, 39f), 4, 10, 30, 45, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Light_Heal;
             xARC.dixAnimations.Add(anim221.iID, anim221);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_HealPillarBack)
         {
             Animation anim222 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Heal/Back"), new Vector2(15f, 39f), 4, 10, 30, 45, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = -1f;
             xARC.dixAnimations.Add(anim222.iID, anim222);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_HealRegenGlimmer)
         {
             Animation anim223 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Heal/Glimmer"), new Vector2(11f, 27f), 5, 13, 21, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.dixAnimations.Add(anim223.iID, anim223);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Support_HasteClockLv1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Support_Haste, "Sprites/Spells/Haste/Level 1-2/Start"), new Vector2(20f, 20f), 4, 9, 39, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Support_Haste, "Sprites/Spells/Haste/Level 1-2/Spin"), new Vector2(20f, 20f), 4, 8, 39, 39, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     40f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerOnceAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[0]))
             });
             this.fVirtualHeightMod = 1f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -10f);
             this.enSpellType = SpellCodex.SpellTypes._Magic_Support_Haste;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Test)
         {
             Animation anim224 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 1-2/Nova"), new Vector2(33f, 37f), 4, 5, 70, 60, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations.Add(anim224.iID, anim224);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Top)
         {
             Animation anim225 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 1-2/NovaTop"), new Vector2(38f, 34f), 4, 6, 76, 34, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -10f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim225.iID, anim225);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Bot)
         {
             Animation anim226 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 1-2/NovaBot"), new Vector2(38f, 0f), 4, 6, 76, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 5f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim226.iID, anim226);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl3_Top)
         {
             Animation anim227 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 3/NovaTop"), new Vector2(46f, 42f), 4, 6, 95, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = -10f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim227.iID, anim227);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl3_Bot)
         {
             Animation anim228 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 3/NovaBot"), new Vector2(46f, 0f), 4, 6, 95, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 5f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim228.iID, anim228);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl4_Top)
         {
             ushort arg_1A018_0 = 0;
             byte arg_1A018_1 = 0;
             Texture2D arg_1A018_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 4/NovaTop");
             Vector2 arg_1A018_3 = new Vector2(86f, 74f);
             int arg_1A018_4 = 4;
             int arg_1A018_5 = 6;
             int arg_1A018_6 = 172;
             int arg_1A018_7 = 74;
             int arg_1A018_8 = 0;
             int arg_1A018_9 = 0;
             int arg_1A018_10 = 10;
             Animation.LoopSettings arg_1A018_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A018_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A018_13 = false;
             bool arg_1A018_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1A013_0 = array;
             int arg_1A013_1 = 0;
             AnimInsCriteria arg_1A00E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1A009_0 = AnimInsEvent.EventType.SkipFrameFractions;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_1A013_0[arg_1A013_1] = new AnimationInstruction(arg_1A00E_0, new AnimInsEvent(arg_1A009_0, array2));
             Animation anim229 = new Animation(arg_1A018_0, arg_1A018_1, arg_1A018_2, arg_1A018_3, arg_1A018_4, arg_1A018_5, arg_1A018_6, arg_1A018_7, arg_1A018_8, arg_1A018_9, arg_1A018_10, arg_1A018_11, arg_1A018_12, arg_1A018_13, arg_1A018_14, array);
             xARC.fVirtualHeight = -10f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim229.iID, anim229);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNovaLvl4_Bot)
         {
             ushort arg_1A0FE_0 = 0;
             byte arg_1A0FE_1 = 0;
             Texture2D arg_1A0FE_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Ice Nova/Level 4/NovaBot");
             Vector2 arg_1A0FE_3 = new Vector2(86f, 0f);
             int arg_1A0FE_4 = 4;
             int arg_1A0FE_5 = 6;
             int arg_1A0FE_6 = 172;
             int arg_1A0FE_7 = 84;
             int arg_1A0FE_8 = 0;
             int arg_1A0FE_9 = 0;
             int arg_1A0FE_10 = 10;
             Animation.LoopSettings arg_1A0FE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A0FE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A0FE_13 = false;
             bool arg_1A0FE_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1A0F9_0 = array;
             int arg_1A0F9_1 = 0;
             AnimInsCriteria arg_1A0F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1A0EF_0 = AnimInsEvent.EventType.SkipFrameFractions;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_1A0F9_0[arg_1A0F9_1] = new AnimationInstruction(arg_1A0F4_0, new AnimInsEvent(arg_1A0EF_0, array2));
             Animation anim230 = new Animation(arg_1A0FE_0, arg_1A0FE_1, arg_1A0FE_2, arg_1A0FE_3, arg_1A0FE_4, arg_1A0FE_5, arg_1A0FE_6, arg_1A0FE_7, arg_1A0FE_8, arg_1A0FE_9, arg_1A0FE_10, arg_1A0FE_11, arg_1A0FE_12, arg_1A0FE_13, arg_1A0FE_14, array);
             xARC.fVirtualHeight = 5f;
             xARC.v2OffsetRenderPos.Y = -7f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim230.iID, anim230);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostNova_Hit)
         {
             Animation anim231 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Effects/SpellEffects/Ice Nova/Hit"), new Vector2(20f, 21f), 4, 5, 43, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim231.iID, anim231);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_FrostPathNova)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceNova;
             Dictionary<ushort, Animation> arg_1A2B1_0 = xARC.dixAnimations;
             ushort arg_1A2B1_1 = 0;
             ushort arg_1A2AC_0 = 0;
             byte arg_1A2AC_1 = 1;
             Texture2D arg_1A2AC_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/Frost/TypeA/Start2");
             Vector2 arg_1A2AC_3 = new Vector2(21f, 15f);
             int arg_1A2AC_4 = 4;
             int arg_1A2AC_5 = 9;
             int arg_1A2AC_6 = 38;
             int arg_1A2AC_7 = 29;
             int arg_1A2AC_8 = 0;
             int arg_1A2AC_9 = 0;
             int arg_1A2AC_10 = 10;
             Animation.LoopSettings arg_1A2AC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A2AC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A2AC_13 = false;
             bool arg_1A2AC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A271_0 = array;
             int arg_1A271_1 = 0;
             AnimInsCriteria arg_1A26C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 9f
             });
             AnimInsEvent.EventType arg_1A267_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 50f;
             arg_1A271_0[arg_1A271_1] = new AnimationInstruction(arg_1A26C_0, new AnimInsEvent(arg_1A267_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1A2B1_0[arg_1A2B1_1] = new Animation(arg_1A2AC_0, arg_1A2AC_1, arg_1A2AC_2, arg_1A2AC_3, arg_1A2AC_4, arg_1A2AC_5, arg_1A2AC_6, arg_1A2AC_7, arg_1A2AC_8, arg_1A2AC_9, arg_1A2AC_10, arg_1A2AC_11, arg_1A2AC_12, arg_1A2AC_13, arg_1A2AC_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/Frost/TypeA/End2"), new Vector2(21f, 15f), 4, 9, 38, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.65f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_NoveIceSpikeA)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1A3F7_0 = xARC.dixAnimations;
             ushort arg_1A3F7_1 = 1;
             ushort arg_1A3F2_0 = 1;
             byte arg_1A3F2_1 = 1;
             Texture2D arg_1A3F2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/Start/Right");
             Vector2 arg_1A3F2_3 = new Vector2(17f, 30f);
             int arg_1A3F2_4 = 4;
             int arg_1A3F2_5 = 6;
             int arg_1A3F2_6 = 42;
             int arg_1A3F2_7 = 31;
             int arg_1A3F2_8 = 0;
             int arg_1A3F2_9 = 0;
             int arg_1A3F2_10 = 10;
             Animation.LoopSettings arg_1A3F2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A3F2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A3F2_13 = false;
             bool arg_1A3F2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A3B7_0 = array;
             int arg_1A3B7_1 = 0;
             AnimInsCriteria arg_1A3B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A3AD_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1A3B7_0[arg_1A3B7_1] = new AnimationInstruction(arg_1A3B2_0, new AnimInsEvent(arg_1A3AD_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1A3F7_0[arg_1A3F7_1] = new Animation(arg_1A3F2_0, arg_1A3F2_1, arg_1A3F2_2, arg_1A3F2_3, arg_1A3F2_4, arg_1A3F2_5, arg_1A3F2_6, arg_1A3F2_7, arg_1A3F2_8, arg_1A3F2_9, arg_1A3F2_10, arg_1A3F2_11, arg_1A3F2_12, arg_1A3F2_13, arg_1A3F2_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/End/Right"), new Vector2(17f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1A517_0 = xARC.dixAnimations;
             ushort arg_1A517_1 = 3;
             ushort arg_1A512_0 = 3;
             byte arg_1A512_1 = 3;
             Texture2D arg_1A512_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/Start/Left");
             Vector2 arg_1A512_3 = new Vector2(25f, 30f);
             int arg_1A512_4 = 4;
             int arg_1A512_5 = 6;
             int arg_1A512_6 = 42;
             int arg_1A512_7 = 31;
             int arg_1A512_8 = 0;
             int arg_1A512_9 = 0;
             int arg_1A512_10 = 10;
             Animation.LoopSettings arg_1A512_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A512_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A512_13 = false;
             bool arg_1A512_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A4D7_0 = array;
             int arg_1A4D7_1 = 0;
             AnimInsCriteria arg_1A4D2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A4CD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1A4D7_0[arg_1A4D7_1] = new AnimationInstruction(arg_1A4D2_0, new AnimInsEvent(arg_1A4CD_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1A517_0[arg_1A517_1] = new Animation(arg_1A512_0, arg_1A512_1, arg_1A512_2, arg_1A512_3, arg_1A512_4, arg_1A512_5, arg_1A512_6, arg_1A512_7, arg_1A512_8, arg_1A512_9, arg_1A512_10, arg_1A512_11, arg_1A512_12, arg_1A512_13, arg_1A512_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeA/End/Left"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_NoveIceSpikeB)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1A64F_0 = xARC.dixAnimations;
             ushort arg_1A64F_1 = 1;
             ushort arg_1A64A_0 = 1;
             byte arg_1A64A_1 = 1;
             Texture2D arg_1A64A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/Start/Right");
             Vector2 arg_1A64A_3 = new Vector2(16f, 28f);
             int arg_1A64A_4 = 4;
             int arg_1A64A_5 = 6;
             int arg_1A64A_6 = 45;
             int arg_1A64A_7 = 29;
             int arg_1A64A_8 = 0;
             int arg_1A64A_9 = 0;
             int arg_1A64A_10 = 10;
             Animation.LoopSettings arg_1A64A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A64A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A64A_13 = false;
             bool arg_1A64A_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A60F_0 = array;
             int arg_1A60F_1 = 0;
             AnimInsCriteria arg_1A60A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A605_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1A60F_0[arg_1A60F_1] = new AnimationInstruction(arg_1A60A_0, new AnimInsEvent(arg_1A605_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1A64F_0[arg_1A64F_1] = new Animation(arg_1A64A_0, arg_1A64A_1, arg_1A64A_2, arg_1A64A_3, arg_1A64A_4, arg_1A64A_5, arg_1A64A_6, arg_1A64A_7, arg_1A64A_8, arg_1A64A_9, arg_1A64A_10, arg_1A64A_11, arg_1A64A_12, arg_1A64A_13, arg_1A64A_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/End/Right"), new Vector2(16f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1A76F_0 = xARC.dixAnimations;
             ushort arg_1A76F_1 = 3;
             ushort arg_1A76A_0 = 3;
             byte arg_1A76A_1 = 3;
             Texture2D arg_1A76A_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/Start/Left");
             Vector2 arg_1A76A_3 = new Vector2(28f, 28f);
             int arg_1A76A_4 = 4;
             int arg_1A76A_5 = 6;
             int arg_1A76A_6 = 45;
             int arg_1A76A_7 = 29;
             int arg_1A76A_8 = 0;
             int arg_1A76A_9 = 0;
             int arg_1A76A_10 = 10;
             Animation.LoopSettings arg_1A76A_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A76A_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A76A_13 = false;
             bool arg_1A76A_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A72F_0 = array;
             int arg_1A72F_1 = 0;
             AnimInsCriteria arg_1A72A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A725_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1A72F_0[arg_1A72F_1] = new AnimationInstruction(arg_1A72A_0, new AnimInsEvent(arg_1A725_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1A76F_0[arg_1A76F_1] = new Animation(arg_1A76A_0, arg_1A76A_1, arg_1A76A_2, arg_1A76A_3, arg_1A76A_4, arg_1A76A_5, arg_1A76A_6, arg_1A76A_7, arg_1A76A_8, arg_1A76A_9, arg_1A76A_10, arg_1A76A_11, arg_1A76A_12, arg_1A76A_13, arg_1A76A_14, array);
             xARC.dixAnimations[7] = new Animation(7, 3, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeB/End/Left"), new Vector2(28f, 28f), 4, 5, 45, 29, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Ice_NoveIceSpikeC)
         {
             this.enSpellType = SpellCodex.SpellTypes._Magic_Ice_IceSpikes;
             Dictionary<ushort, Animation> arg_1A8A7_0 = xARC.dixAnimations;
             ushort arg_1A8A7_1 = 1;
             ushort arg_1A8A2_0 = 1;
             byte arg_1A8A2_1 = 1;
             Texture2D arg_1A8A2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/Start/Right");
             Vector2 arg_1A8A2_3 = new Vector2(25f, 30f);
             int arg_1A8A2_4 = 4;
             int arg_1A8A2_5 = 6;
             int arg_1A8A2_6 = 42;
             int arg_1A8A2_7 = 31;
             int arg_1A8A2_8 = 0;
             int arg_1A8A2_9 = 0;
             int arg_1A8A2_10 = 10;
             Animation.LoopSettings arg_1A8A2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A8A2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A8A2_13 = false;
             bool arg_1A8A2_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A867_0 = array;
             int arg_1A867_1 = 0;
             AnimInsCriteria arg_1A862_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A85D_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 30f;
             arg_1A867_0[arg_1A867_1] = new AnimationInstruction(arg_1A862_0, new AnimInsEvent(arg_1A85D_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 5f
             }));
             arg_1A8A7_0[arg_1A8A7_1] = new Animation(arg_1A8A2_0, arg_1A8A2_1, arg_1A8A2_2, arg_1A8A2_3, arg_1A8A2_4, arg_1A8A2_5, arg_1A8A2_6, arg_1A8A2_7, arg_1A8A2_8, arg_1A8A2_9, arg_1A8A2_10, arg_1A8A2_11, arg_1A8A2_12, arg_1A8A2_13, arg_1A8A2_14, array);
             xARC.dixAnimations[5] = new Animation(5, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/End/Right"), new Vector2(25f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1A9C7_0 = xARC.dixAnimations;
             ushort arg_1A9C7_1 = 3;
             ushort arg_1A9C2_0 = 3;
             byte arg_1A9C2_1 = 1;
             Texture2D arg_1A9C2_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/Start/Left");
             Vector2 arg_1A9C2_3 = new Vector2(18f, 30f);
             int arg_1A9C2_4 = 4;
             int arg_1A9C2_5 = 6;
             int arg_1A9C2_6 = 42;
             int arg_1A9C2_7 = 31;
             int arg_1A9C2_8 = 0;
             int arg_1A9C2_9 = 0;
             int arg_1A9C2_10 = 10;
             Animation.LoopSettings arg_1A9C2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1A9C2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1A9C2_13 = false;
             bool arg_1A9C2_14 = false;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1A987_0 = array;
             int arg_1A987_1 = 0;
             AnimInsCriteria arg_1A982_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 6f
             });
             AnimInsEvent.EventType arg_1A97D_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 30f;
             arg_1A987_0[arg_1A987_1] = new AnimationInstruction(arg_1A982_0, new AnimInsEvent(arg_1A97D_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             arg_1A9C7_0[arg_1A9C7_1] = new Animation(arg_1A9C2_0, arg_1A9C2_1, arg_1A9C2_2, arg_1A9C2_3, arg_1A9C2_4, arg_1A9C2_5, arg_1A9C2_6, arg_1A9C2_7, arg_1A9C2_8, arg_1A9C2_9, arg_1A9C2_10, arg_1A9C2_11, arg_1A9C2_12, arg_1A9C2_13, arg_1A9C2_14, array);
             xARC.dixAnimations[7] = new Animation(7, 1, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Ice_IceNova, "Sprites/Spells/Frost Spike/TypeC/End/Left"), new Vector2(18f, 30f), 4, 5, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_Light_Protect)
         {
             ushort arg_1AAC4_0 = 0;
             byte arg_1AAC4_1 = 0;
             Texture2D arg_1AAC4_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Magic_Light_Protect, "Effects/SpellEffects/Protect/Shield");
             Vector2 arg_1AAC4_3 = new Vector2(17f, 29f);
             int arg_1AAC4_4 = 4;
             int arg_1AAC4_5 = 10;
             int arg_1AAC4_6 = 36;
             int arg_1AAC4_7 = 35;
             int arg_1AAC4_8 = 0;
             int arg_1AAC4_9 = 0;
             int arg_1AAC4_10 = 10;
             Animation.LoopSettings arg_1AAC4_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1AAC4_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1AAC4_13 = false;
             bool arg_1AAC4_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1AABF_0 = array;
             int arg_1AABF_1 = 0;
             AnimInsCriteria arg_1AABA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_1AAB5_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 10f;
             arg_1AABF_0[arg_1AABF_1] = new AnimationInstruction(arg_1AABA_0, new AnimInsEvent(arg_1AAB5_0, array2));
             Animation anim232 = new Animation(arg_1AAC4_0, arg_1AAC4_1, arg_1AAC4_2, arg_1AAC4_3, arg_1AAC4_4, arg_1AAC4_5, arg_1AAC4_6, arg_1AAC4_7, arg_1AAC4_8, arg_1AAC4_9, arg_1AAC4_10, arg_1AAC4_11, arg_1AAC4_12, arg_1AAC4_13, arg_1AAC4_14, array);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations.Add(anim232.iID, anim232);
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamRight)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Air_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Air/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Air_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Air/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Fire_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Fire/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Fire_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Fire/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Earth_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Earth/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Earth_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Earth/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Ice_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Ice/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Ice_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Ice/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Support_Back)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Support/Small/Back"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Support_Front)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Support/Small/Front"), new Vector2(16f, 17f), 4, 5, 33, 23, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SpellEffects_ChargeCast_Weapons)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Spells/Charge Cast/Weapons/Effect"), new Vector2(25f, 32f), 4, 3, 43, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 2f;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._StatusEffects_Freeze_Small)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamRight)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Right"), new Vector2(39f, 31f), 4, 3, 81, 60, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamLeft)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Left"), new Vector2(42f, 31f), 4, 3, 81, 60, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadSlamLv5)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Level 5/Ground"), new Vector2(41f, 44f), 4, 3, 84, 86, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadBlast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Effects/Hit Effects/Overhead/Overhead"), new Vector2(38f, 50f), 6, 4, 76, 59, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadExplosionLv4)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Level 4/Impact"), new Vector2(28f, 93f), 4, 5, 56, 99, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_OverheadExplosionLv5)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Overhead/Effect/Level 5/Impact"), new Vector2(28f, 97f), 4, 6, 56, 109, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 6f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_StraightThrow)
         {
             Animation anim233 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Projectile"), new Vector2(1f, 6f), 4, 1, 37, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim233.iID, anim233);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_SpinningThrow)
         {
             Animation anim234 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Spin"), new Vector2(20f, 20f), 2, 4, 39, 39, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim234.iID, anim234);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrowExplosion)
         {
             Animation anim235 = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Level 3/Effect"), new Vector2(53f, 43f), 4, 9, 106, 53, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim235.iID, anim235);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_BerserkDemon)
         {
             Animation anim236 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/TwoHanded/Berserk/Level 1-2/Effect"), new Vector2(38f, 70f), 4, 23, 84, 73, 0, 0, 23, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.dixAnimations.Add(anim236.iID, anim236);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrownLantern)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Weapons/Lantern"), new Vector2(6f, 25f), 4, 1, 14, 30, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_1B463_0 = xARC.dixAnimations;
             ushort arg_1B463_1 = 1;
             ushort arg_1B45E_0 = 1;
             byte arg_1B45E_1 = 0;
             Texture2D arg_1B45E_2 = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Weapons/Lantern");
             Vector2 arg_1B45E_3 = new Vector2(6f, 25f);
             int arg_1B45E_4 = 4;
             int arg_1B45E_5 = 1;
             int arg_1B45E_6 = 14;
             int arg_1B45E_7 = 30;
             int arg_1B45E_8 = 0;
             int arg_1B45E_9 = 0;
             int arg_1B45E_10 = 10;
             Animation.LoopSettings arg_1B45E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1B45E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1B45E_13 = false;
             bool arg_1B45E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_1B459_0 = array;
             int arg_1B459_1 = 1;
             AnimInsCriteria arg_1B454_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1B44F_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1B459_0[arg_1B459_1] = new AnimationInstruction(arg_1B454_0, new AnimInsEvent(arg_1B44F_0, array2));
             arg_1B463_0[arg_1B463_1] = new Animation(arg_1B45E_0, arg_1B45E_1, arg_1B45E_2, arg_1B45E_3, arg_1B45E_4, arg_1B45E_5, arg_1B45E_6, arg_1B45E_7, arg_1B45E_8, arg_1B45E_9, arg_1B45E_10, arg_1B45E_11, arg_1B45E_12, arg_1B45E_13, arg_1B45E_14, array);
             this.enSpellType = SpellCodex.SpellTypes._Skill_TwoHanded_Throw;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrowPickup)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Pickup"), new Vector2(5f, 42f), 4, 3, 11, 53, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             this.enSpellType = SpellCodex.SpellTypes._Skill_TwoHanded_Throw;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShortSwingTrail1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Up"), new Vector2(29f, 32f), 4, 7, 57, 73, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Right"), new Vector2(43f, 33f), 4, 7, 74, 51, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Down"), new Vector2(27f, 69f), 4, 7, 55, 92, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Trail/Right"), new Vector2(31f, 33f), 4, 7, 74, 51, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShortSwingPerfectDodgeOnPlayer)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Perfect/Effect"), new Vector2(23f, 37f), 4, 6, 45, 48, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShortSwingPerfectDodgeOnShadow)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/ShortSwing/Perfect/Smoke"), new Vector2(16f, 32f), 4, 7, 34, 37, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShadowClone_CloudLv1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Shadow Clone/Effect"), new Vector2(25f, 63f), 4, 9, 46, 79, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_ShadowClone_CloudLv3)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Shadow Clone/Level3/Effect"), new Vector2(33f, 63f), 4, 9, 65, 80, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_AOE_Lv1)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/aoe"), new Vector2(55f, 55f), 4, 1, 110, 110, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
                 {
                     0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     0.04f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/aoe"), new Vector2(55f, 55f), 4, 16, 110, 110, 0, 0, 30, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/aoe"), new Vector2(55f, 55f), 4, 1, 110, 110, 0, 0, 30, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
                 {
                     1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.07f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
             xARC.fAlpha = 0f;
             xARC.fScale = 0.25f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneRight)
         {
             Dictionary<ushort, Animation> arg_1BBDF_0 = xARC.dixAnimations;
             ushort arg_1BBDF_1 = 0;
             ushort arg_1BBDA_0 = 0;
             byte arg_1BBDA_1 = 0;
             Texture2D arg_1BBDA_2 = Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/Side");
             Vector2 arg_1BBDA_3 = new Vector2(30f, 53f);
             int arg_1BBDA_4 = 3;
             int arg_1BBDA_5 = 14;
             int arg_1BBDA_6 = 55;
             int arg_1BBDA_7 = 66;
             int arg_1BBDA_8 = 0;
             int arg_1BBDA_9 = 0;
             int arg_1BBDA_10 = 14;
             Animation.LoopSettings arg_1BBDA_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BBDA_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BBDA_13 = true;
             bool arg_1BBDA_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 2f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_1BBD5_0 = array;
             int arg_1BBD5_1 = 1;
             AnimInsCriteria arg_1BBD0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1BBCB_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1BBD5_0[arg_1BBD5_1] = new AnimationInstruction(arg_1BBD0_0, new AnimInsEvent(arg_1BBCB_0, array2));
             arg_1BBDF_0[arg_1BBDF_1] = new Animation(arg_1BBDA_0, arg_1BBDA_1, arg_1BBDA_2, arg_1BBDA_3, arg_1BBDA_4, arg_1BBDA_5, arg_1BBDA_6, arg_1BBDA_7, arg_1BBDA_8, arg_1BBDA_9, arg_1BBDA_10, arg_1BBDA_11, arg_1BBDA_12, arg_1BBDA_13, arg_1BBDA_14, array);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneLeft)
         {
             Dictionary<ushort, Animation> arg_1BCDE_0 = xARC.dixAnimations;
             ushort arg_1BCDE_1 = 0;
             ushort arg_1BCD9_0 = 0;
             byte arg_1BCD9_1 = 0;
             Texture2D arg_1BCD9_2 = Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/Side");
             Vector2 arg_1BCD9_3 = new Vector2(25f, 53f);
             int arg_1BCD9_4 = 3;
             int arg_1BCD9_5 = 14;
             int arg_1BCD9_6 = 55;
             int arg_1BCD9_7 = 66;
             int arg_1BCD9_8 = 0;
             int arg_1BCD9_9 = 0;
             int arg_1BCD9_10 = 14;
             Animation.LoopSettings arg_1BCD9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BCD9_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BCD9_13 = true;
             bool arg_1BCD9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 2f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_1BCD4_0 = array;
             int arg_1BCD4_1 = 1;
             AnimInsCriteria arg_1BCCF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1BCCA_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1BCD4_0[arg_1BCD4_1] = new AnimationInstruction(arg_1BCCF_0, new AnimInsEvent(arg_1BCCA_0, array2));
             arg_1BCDE_0[arg_1BCDE_1] = new Animation(arg_1BCD9_0, arg_1BCD9_1, arg_1BCD9_2, arg_1BCD9_3, arg_1BCD9_4, arg_1BCD9_5, arg_1BCD9_6, arg_1BCD9_7, arg_1BCD9_8, arg_1BCD9_9, arg_1BCD9_10, arg_1BCD9_11, arg_1BCD9_12, arg_1BCD9_13, arg_1BCD9_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneDown)
         {
             Dictionary<ushort, Animation> arg_1BE44_0 = xARC.dixAnimations;
             ushort arg_1BE44_1 = 0;
             ushort arg_1BE3F_0 = 0;
             byte arg_1BE3F_1 = 0;
             Texture2D arg_1BE3F_2 = Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/Down");
             Vector2 arg_1BE3F_3 = new Vector2(30f, 53f);
             int arg_1BE3F_4 = 4;
             int arg_1BE3F_5 = 14;
             int arg_1BE3F_6 = 52;
             int arg_1BE3F_7 = 66;
             int arg_1BE3F_8 = 0;
             int arg_1BE3F_9 = 0;
             int arg_1BE3F_10 = 14;
             Animation.LoopSettings arg_1BE3F_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1BE3F_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1BE3F_13 = true;
             bool arg_1BE3F_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 2f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFramesXtoY, new float[]
             {
                 1f,
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.SkipFrameFractions, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_1BE3A_0 = array;
             int arg_1BE3A_1 = 2;
             AnimInsCriteria arg_1BE35_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1BE30_0 = AnimInsEvent.EventType.SetMoveCancel;
             float[] array2 = new float[1];
             arg_1BE3A_0[arg_1BE3A_1] = new AnimationInstruction(arg_1BE35_0, new AnimInsEvent(arg_1BE30_0, array2));
             arg_1BE44_0[arg_1BE44_1] = new Animation(arg_1BE3F_0, arg_1BE3F_1, arg_1BE3F_2, arg_1BE3F_3, arg_1BE3F_4, arg_1BE3F_5, arg_1BE3F_6, arg_1BE3F_7, arg_1BE3F_8, arg_1BE3F_9, arg_1BE3F_10, arg_1BE3F_11, arg_1BE3F_12, arg_1BE3F_13, arg_1BE3F_14, array);
             if (CAS.RandomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
                 xARC.dixAnimations[0].v2PositionOffset = new Vector2(22f, 53f);
             }
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_SpiritSlash_CloneWat)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/Samurai Slash/Clones/NoTarget"), new Vector2(16f, 60f), 4, 28, 32, 67, 0, 0, 28, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Up)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Up"), new Vector2(19f, 54f), 4, 3, 39, 58, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_UpP2)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Up2"), new Vector2(19f, 54f), 4, 3, 39, 58, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight -= 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Right"), new Vector2(18f, 32f), 4, 3, 71, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Down)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Down"), new Vector2(20f, 30f), 4, 3, 39, 74, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_OneHand_StingerFinishA_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/OneHanded/MillionStab/Finish/Effect/Right"), new Vector2(55f, 32f), 4, 3, 71, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.fVirtualHeight += 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_Bow_ArrowBreak)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Pilpaj/TypeA"), new Vector2(9f, 4f), 2, 8, 16, 7, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Pilpaj/TypeB"), new Vector2(9f, 9f), 2, 8, 16, 16, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 1, Content.Load<Texture2D>("Sprites/Spells/Arrows/Pilpaj/TypeC"), new Vector2(4f, 9f), 2, 8, 7, 16, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.SwitchAnimation((ushort)Program.GetTheGame().randomInVisual.Next(3), Animation.CancelOptions.RestartIfPlaying);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._SkillEffects_Bow_FadingArrow)
         {
             string DEFAULT_SPELL_PATH2 = "Sprites/Spells/";
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Up"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     150f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.05f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     20f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Right"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Down"), new Vector2(4f, 8f), 4, 1, 7, 16, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(DEFAULT_SPELL_PATH2 + "Arrows/Basic/Left"), new Vector2(8f, 4f), 4, 1, 16, 7, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     10f
                 }))
             }));
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_Dig)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_Freeze_Small)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Freeze/Start"), new Vector2(21f, 23f), 4, 4, 41, 36, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Effects/Freeze/Idle"), new Vector2(21f, 23f), 4, 1, 41, 36, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[1000] = new Animation(1, 1, Content.Load<Texture2D>("Effects/Freeze/End"), new Vector2(27f, 28f), 4, 3, 53, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 0.7f;
             ShadowSlaveRenderComponent shadow = new ShadowSlaveRenderComponent(xARC);
             shadow.ditxTextures[0] = Content.Load<Texture2D>("Effects/Freeze/StartShadow");
             shadow.ditxTextures[1] = Content.Load<Texture2D>("Effects/Freeze/IdleShadow");
             shadow.ditxTextures[1000] = Content.Load<Texture2D>("Effects/Freeze/EndShadow");
             Program.GetTheGame().xRenderMaster.RegisterBelowSorted(shadow);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_Freeze_Small_Break)
         {
             xARC.dixAnimations[0] = new Animation(1, 1, Content.Load<Texture2D>("Effects/Freeze/End"), new Vector2(27f, 28f), 4, 3, 53, 42, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_VineRootEnd_Green)
         {
             xARC.dixAnimations[0] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/RootEffect/End"), new Vector2(20f, 32f), 4, 6, 41, 41, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.fAlpha = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._StatusEffects_Chilled_SnowFlake)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Effects/Freeze/Snow" + (Program.GetTheGame().randomInVisual.Next(2) + 1)), new Vector2(3f, 3f), 4, 1, 7, 7, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 25f;
         }
     }
     else if (enEffect < SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeSpawnBall)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_Dig)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/Dig/Dig"), new Vector2(11f, 6f), 4, 13, 21, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             xARC.fScale = 1f;
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_DigRoot)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Halloween Forest/Halloweed/Dig/Dig"), new Vector2(11f, 6f), 4, 13, 21, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             xARC.fScale = 0.5f;
             if (Program.GetTheGame().randomInVisual.Next(2) == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Vilya_Stars)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Vilya/Dizzy/Effect"), new Vector2(11f, 11f), 4, 8, 20, 15, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             xARC.v2OffsetRenderPos = new Vector2(0f, -26f);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Rabby_Rage)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Special/WhiteRabbi/Rage/Rage"), new Vector2(34f, 67f), 4, 23, 69, 78, 0, 0, 23, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_BallSpark_Smoke_Right)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Attack/Smoke"), new Vector2(16f, 33f), 4, 7, 32, 37, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_BallSpark_Smoke_Left)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Sphere/Attack/Smoke"), new Vector2(16f, 33f), 4, 7, 32, 37, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[0].fInnateTimeWarp = 0.9f;
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_BrawlBot_JumpEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Marauder/Jump/Effect"), new Vector2(19f, 31f), 4, 3, 37, 36, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_ChangeColor)
         {
             Dictionary<ushort, Animation> arg_1CD5C_0 = xARC.dixAnimations;
             ushort arg_1CD5C_1 = 0;
             ushort arg_1CD57_0 = 0;
             byte arg_1CD57_1 = 0;
             Texture2D arg_1CD57_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ColorChange");
             Vector2 arg_1CD57_3 = new Vector2(10f, 46f);
             int arg_1CD57_4 = 4;
             int arg_1CD57_5 = 6;
             int arg_1CD57_6 = 19;
             int arg_1CD57_7 = 50;
             int arg_1CD57_8 = 0;
             int arg_1CD57_9 = 0;
             int arg_1CD57_10 = 13;
             Animation.LoopSettings arg_1CD57_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1CD57_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1CD57_13 = true;
             bool arg_1CD57_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_1CD52_0 = array;
             int arg_1CD52_1 = 0;
             AnimInsCriteria arg_1CD4D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1CD48_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1CD48_1 = "Guardian_ColorChange";
             float[] array2 = new float[1];
             arg_1CD52_0[arg_1CD52_1] = new AnimationInstruction(arg_1CD4D_0, new AnimInsEvent(arg_1CD48_0, arg_1CD48_1, array2));
             arg_1CD5C_0[arg_1CD5C_1] = new Animation(arg_1CD57_0, arg_1CD57_1, arg_1CD57_2, arg_1CD57_3, arg_1CD57_4, arg_1CD57_5, arg_1CD57_6, arg_1CD57_7, arg_1CD57_8, arg_1CD57_9, arg_1CD57_10, arg_1CD57_11, arg_1CD57_12, arg_1CD57_13, arg_1CD57_14, array);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_SlowEffectAppearParticle)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ParticleC"), new Vector2(2f, 2f), 4, 7, 4, 4, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             this.fVirtualHeightMod = 1f;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_SlowEffectSuckParticleA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ParticleA"), new Vector2(0f, 21f), 5, 7, 1, 21, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_SlowEffectSuckParticleB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ParticleB"), new Vector2(0f, 27f), 5, 7, 1, 27, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Crystal_ShieldEffect)
         {
             Dictionary<ushort, Animation> arg_1CF33_0 = xARC.dixAnimations;
             ushort arg_1CF33_1 = 0;
             ushort arg_1CF2E_0 = 0;
             byte arg_1CF2E_1 = 0;
             Texture2D arg_1CF2E_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/ShieldStart");
             Vector2 arg_1CF2E_3 = new Vector2(23f, 42f);
             int arg_1CF2E_4 = 4;
             int arg_1CF2E_5 = 3;
             int arg_1CF2E_6 = 43;
             int arg_1CF2E_7 = 43;
             int arg_1CF2E_8 = 0;
             int arg_1CF2E_9 = 0;
             int arg_1CF2E_10 = 13;
             Animation.LoopSettings arg_1CF2E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1CF2E_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1CF2E_13 = true;
             bool arg_1CF2E_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1CEF3_0 = array;
             int arg_1CEF3_1 = 0;
             AnimInsCriteria arg_1CEEE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_1CEE9_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1CEE9_1 = "Guardian_ShieldActive";
             float[] array2 = new float[1];
             arg_1CEF3_0[arg_1CEF3_1] = new AnimationInstruction(arg_1CEEE_0, new AnimInsEvent(arg_1CEE9_0, arg_1CEE9_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1CF33_0[arg_1CF33_1] = new Animation(arg_1CF2E_0, arg_1CF2E_1, arg_1CF2E_2, arg_1CF2E_3, arg_1CF2E_4, arg_1CF2E_5, arg_1CF2E_6, arg_1CF2E_7, arg_1CF2E_8, arg_1CF2E_9, arg_1CF2E_10, arg_1CF2E_11, arg_1CF2E_12, arg_1CF2E_13, arg_1CF2E_14, array);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/ShieldIdle"), new Vector2(23f, 42f), 4, 7, 43, 43, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/Shield/ShieldStart"), new Vector2(23f, 42f), 4, 3, 43, 43, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[2].bReversePlayback = true;
             xARC.fVirtualHeight = 10f;
             AnimatedRenderComponent expr_1CFDD_cp_0 = xARC;
             expr_1CFDD_cp_0.v2OffsetRenderPos.Y = expr_1CFDD_cp_0.v2OffsetRenderPos.Y - 5f;
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Pecko_Peck)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Goose/Attack/GroundEffect"), new Vector2(13f, 22f), 4, 3, 25, 23, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Pecko_Hole)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Temple/Goose/Attack/Hole"), new Vector2(2f, 3f), 4, 1, 4, 4, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             });
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_GroundFrostAbove)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Above"), new Vector2(21f, 15f), 4, 4, 28, 21, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Above"), new Vector2(21f, 15f), 4, 1, 28, 21, 112, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Above"), new Vector2(21f, 15f), 4, 8, 28, 21, 140, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.ShadowLayer;
             iShadowLayerLayer = 50;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_GroundFrostBelow)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Lower"), new Vector2(21f, 15f), 4, 4, 28, 21, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Lower"), new Vector2(21f, 15f), 4, 1, 28, 21, 112, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations[2] = new Animation(2, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Ice/Lower"), new Vector2(21f, 15f), 4, 8, 28, 21, 140, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.ShadowLayer;
             iShadowLayerLayer = 5;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_SnowFlakeA)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Freeze/SnowA"), new Vector2(5f, 5f), 4, 1, 11, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 25f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Winter_SnowFlakeB)
         {
             xARC.dixAnimations[0] = new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Yeti/Freeze/SnowB"), new Vector2(5f, 5f), 4, 1, 11, 11, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 25f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_DebuffEffect)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Debuffs/Illusion/Illusion"), new Vector2(11f, 30f), 4, 7, 22, 38, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_Root)
         {
             Dictionary<ushort, Animation> arg_1D523_0 = xARC.dixAnimations;
             ushort arg_1D523_1 = 0;
             ushort arg_1D51E_0 = 0;
             byte arg_1D51E_1 = 0;
             Texture2D arg_1D51E_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear");
             Vector2 arg_1D51E_3 = new Vector2(16f, 29f);
             int arg_1D51E_4 = 4;
             int arg_1D51E_5 = 13;
             int arg_1D51E_6 = 30;
             int arg_1D51E_7 = 35;
             int arg_1D51E_8 = 0;
             int arg_1D51E_9 = 0;
             int arg_1D51E_10 = 20;
             Animation.LoopSettings arg_1D51E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D51E_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1D51E_13 = true;
             bool arg_1D51E_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_1D4E3_0 = array;
             int arg_1D4E3_1 = 0;
             AnimInsCriteria arg_1D4DE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1D4D9_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1D4D9_1 = "Halloweed_Appear";
             float[] array2 = new float[1];
             arg_1D4E3_0[arg_1D4E3_1] = new AnimationInstruction(arg_1D4DE_0, new AnimInsEvent(arg_1D4D9_0, arg_1D4D9_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_1D523_0.Add(arg_1D523_1, new Animation(arg_1D51E_0, arg_1D51E_1, arg_1D51E_2, arg_1D51E_3, arg_1D51E_4, arg_1D51E_5, arg_1D51E_6, arg_1D51E_7, arg_1D51E_8, arg_1D51E_9, arg_1D51E_10, arg_1D51E_11, arg_1D51E_12, arg_1D51E_13, arg_1D51E_14, array));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_Halloweed)
         {
             xARC.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Idle/Right"), new Vector2(47f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Idle/Right"), new Vector2(39f, 52f), 4, 10, 83, 63, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
             Dictionary<ushort, Animation> arg_1D8AE_0 = xARC.dixAnimations;
             ushort arg_1D8AE_1 = 0;
             ushort arg_1D8A9_0 = 0;
             byte arg_1D8A9_1 = 1;
             Texture2D arg_1D8A9_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Appear/Right");
             Vector2 arg_1D8A9_3 = new Vector2(44f, 51f);
             int arg_1D8A9_4 = 4;
             int arg_1D8A9_5 = 11;
             int arg_1D8A9_6 = 82;
             int arg_1D8A9_7 = 64;
             int arg_1D8A9_8 = 0;
             int arg_1D8A9_9 = 0;
             int arg_1D8A9_10 = 19;
             Animation.LoopSettings arg_1D8A9_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D8A9_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1D8A9_13 = false;
             bool arg_1D8A9_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 6f
             }));
             AnimationInstruction[] arg_1D8A4_0 = array;
             int arg_1D8A4_1 = 1;
             AnimInsCriteria arg_1D89F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1D89A_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1D89A_1 = "Halloweed_Appear";
             float[] array2 = new float[1];
             arg_1D8A4_0[arg_1D8A4_1] = new AnimationInstruction(arg_1D89F_0, new AnimInsEvent(arg_1D89A_0, arg_1D89A_1, array2));
             arg_1D8AE_0.Add(arg_1D8AE_1, new Animation(arg_1D8A9_0, arg_1D8A9_1, arg_1D8A9_2, arg_1D8A9_3, arg_1D8A9_4, arg_1D8A9_5, arg_1D8A9_6, arg_1D8A9_7, arg_1D8A9_8, arg_1D8A9_9, arg_1D8A9_10, arg_1D8A9_11, arg_1D8A9_12, arg_1D8A9_13, arg_1D8A9_14, array));
             Dictionary<ushort, Animation> arg_1D966_0 = xARC.dixAnimations;
             ushort arg_1D966_1 = 1;
             ushort arg_1D961_0 = 1;
             byte arg_1D961_1 = 3;
             Texture2D arg_1D961_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Halloweed/Appear/Right");
             Vector2 arg_1D961_3 = new Vector2(41f, 51f);
             int arg_1D961_4 = 4;
             int arg_1D961_5 = 11;
             int arg_1D961_6 = 82;
             int arg_1D961_7 = 64;
             int arg_1D961_8 = 0;
             int arg_1D961_9 = 0;
             int arg_1D961_10 = 19;
             Animation.LoopSettings arg_1D961_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1D961_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1D961_13 = false;
             bool arg_1D961_14 = false;
             array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 7f
             }));
             AnimationInstruction[] arg_1D95C_0 = array;
             int arg_1D95C_1 = 1;
             AnimInsCriteria arg_1D957_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_1D952_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1D952_1 = "Halloweed_Appear";
             array2 = new float[1];
             arg_1D95C_0[arg_1D95C_1] = new AnimationInstruction(arg_1D957_0, new AnimInsEvent(arg_1D952_0, arg_1D952_1, array2));
             arg_1D966_0.Add(arg_1D966_1, new Animation(arg_1D961_0, arg_1D961_1, arg_1D961_2, arg_1D961_3, arg_1D961_4, arg_1D961_5, arg_1D961_6, arg_1D961_7, arg_1D961_8, arg_1D961_9, arg_1D961_10, arg_1D961_11, arg_1D961_12, arg_1D961_13, arg_1D961_14, array));
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_Jumpkin)
         {
             Dictionary<ushort, Animation> arg_1DAAF_0 = xARC.dixAnimations;
             ushort arg_1DAAF_1 = 0;
             ushort arg_1DAAA_0 = 0;
             byte arg_1DAAA_1 = 0;
             Texture2D arg_1DAAA_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Up");
             Vector2 arg_1DAAA_3 = new Vector2(13f, 28f);
             int arg_1DAAA_4 = 5;
             int arg_1DAAA_5 = 8;
             int arg_1DAAA_6 = 27;
             int arg_1DAAA_7 = 32;
             int arg_1DAAA_8 = 0;
             int arg_1DAAA_9 = 0;
             int arg_1DAAA_10 = 8;
             Animation.LoopSettings arg_1DAAA_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DAAA_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DAAA_13 = true;
             bool arg_1DAAA_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DA11_0 = array;
             int arg_1DA11_1 = 0;
             AnimInsCriteria arg_1DA0C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DA07_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DA07_1 = "Pumpkin_Jump";
             float[] array2 = new float[1];
             arg_1DA11_0[arg_1DA11_1] = new AnimationInstruction(arg_1DA0C_0, new AnimInsEvent(arg_1DA07_0, arg_1DA07_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DAAF_0.Add(arg_1DAAF_1, new Animation(arg_1DAAA_0, arg_1DAAA_1, arg_1DAAA_2, arg_1DAAA_3, arg_1DAAA_4, arg_1DAAA_5, arg_1DAAA_6, arg_1DAAA_7, arg_1DAAA_8, arg_1DAAA_9, arg_1DAAA_10, arg_1DAAA_11, arg_1DAAA_12, arg_1DAAA_13, arg_1DAAA_14, array));
             Dictionary<ushort, Animation> arg_1DBD6_0 = xARC.dixAnimations;
             ushort arg_1DBD6_1 = 1;
             ushort arg_1DBD1_0 = 1;
             byte arg_1DBD1_1 = 1;
             Texture2D arg_1DBD1_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right");
             Vector2 arg_1DBD1_3 = new Vector2(13f, 30f);
             int arg_1DBD1_4 = 5;
             int arg_1DBD1_5 = 8;
             int arg_1DBD1_6 = 27;
             int arg_1DBD1_7 = 34;
             int arg_1DBD1_8 = 0;
             int arg_1DBD1_9 = 0;
             int arg_1DBD1_10 = 8;
             Animation.LoopSettings arg_1DBD1_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DBD1_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DBD1_13 = true;
             bool arg_1DBD1_14 = true;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DB38_0 = array;
             int arg_1DB38_1 = 0;
             AnimInsCriteria arg_1DB33_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DB2E_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DB2E_1 = "Pumpkin_Jump";
             array2 = new float[1];
             arg_1DB38_0[arg_1DB38_1] = new AnimationInstruction(arg_1DB33_0, new AnimInsEvent(arg_1DB2E_0, arg_1DB2E_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DBD6_0.Add(arg_1DBD6_1, new Animation(arg_1DBD1_0, arg_1DBD1_1, arg_1DBD1_2, arg_1DBD1_3, arg_1DBD1_4, arg_1DBD1_5, arg_1DBD1_6, arg_1DBD1_7, arg_1DBD1_8, arg_1DBD1_9, arg_1DBD1_10, arg_1DBD1_11, arg_1DBD1_12, arg_1DBD1_13, arg_1DBD1_14, array));
             Dictionary<ushort, Animation> arg_1DCFD_0 = xARC.dixAnimations;
             ushort arg_1DCFD_1 = 2;
             ushort arg_1DCF8_0 = 2;
             byte arg_1DCF8_1 = 2;
             Texture2D arg_1DCF8_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Down");
             Vector2 arg_1DCF8_3 = new Vector2(13f, 28f);
             int arg_1DCF8_4 = 5;
             int arg_1DCF8_5 = 8;
             int arg_1DCF8_6 = 27;
             int arg_1DCF8_7 = 32;
             int arg_1DCF8_8 = 0;
             int arg_1DCF8_9 = 0;
             int arg_1DCF8_10 = 8;
             Animation.LoopSettings arg_1DCF8_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DCF8_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DCF8_13 = true;
             bool arg_1DCF8_14 = true;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DC5F_0 = array;
             int arg_1DC5F_1 = 0;
             AnimInsCriteria arg_1DC5A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DC55_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DC55_1 = "Pumpkin_Jump";
             array2 = new float[1];
             arg_1DC5F_0[arg_1DC5F_1] = new AnimationInstruction(arg_1DC5A_0, new AnimInsEvent(arg_1DC55_0, arg_1DC55_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DCFD_0.Add(arg_1DCFD_1, new Animation(arg_1DCF8_0, arg_1DCF8_1, arg_1DCF8_2, arg_1DCF8_3, arg_1DCF8_4, arg_1DCF8_5, arg_1DCF8_6, arg_1DCF8_7, arg_1DCF8_8, arg_1DCF8_9, arg_1DCF8_10, arg_1DCF8_11, arg_1DCF8_12, arg_1DCF8_13, arg_1DCF8_14, array));
             Dictionary<ushort, Animation> arg_1DE24_0 = xARC.dixAnimations;
             ushort arg_1DE24_1 = 3;
             ushort arg_1DE1F_0 = 3;
             byte arg_1DE1F_1 = 3;
             Texture2D arg_1DE1F_2 = Content.Load<Texture2D>(MONSTER_PATH + "Halloween Forest/Pumpkin/Move/Right");
             Vector2 arg_1DE1F_3 = new Vector2(14f, 30f);
             int arg_1DE1F_4 = 5;
             int arg_1DE1F_5 = 8;
             int arg_1DE1F_6 = 27;
             int arg_1DE1F_7 = 34;
             int arg_1DE1F_8 = 0;
             int arg_1DE1F_9 = 0;
             int arg_1DE1F_10 = 8;
             Animation.LoopSettings arg_1DE1F_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_1DE1F_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_1DE1F_13 = true;
             bool arg_1DE1F_14 = true;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1DD86_0 = array;
             int arg_1DD86_1 = 0;
             AnimInsCriteria arg_1DD81_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 2f
             });
             AnimInsEvent.EventType arg_1DD7C_0 = AnimInsEvent.EventType.PlaySound;
             string arg_1DD7C_1 = "Pumpkin_Jump";
             array2 = new float[1];
             arg_1DD86_0[arg_1DD86_1] = new AnimationInstruction(arg_1DD81_0, new AnimInsEvent(arg_1DD7C_0, arg_1DD7C_1, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 60f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.02f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 110f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_1DE24_0.Add(arg_1DE24_1, new Animation(arg_1DE1F_0, arg_1DE1F_1, arg_1DE1F_2, arg_1DE1F_3, arg_1DE1F_4, arg_1DE1F_5, arg_1DE1F_6, arg_1DE1F_7, arg_1DE1F_8, arg_1DE1F_9, arg_1DE1F_10, arg_1DE1F_11, arg_1DE1F_12, arg_1DE1F_13, arg_1DE1F_14, array));
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_LaughingDad)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(NPC_PATH + "StartingTon/Papa/Laugh/Down"), new Vector2(9f, 32f), 8, 17, 18, 34, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     60f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     110f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Hallucination_FakeHealthOrb)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, GlobalContent.Load<Texture2D>("Items/Orbs/Health/Idle"), new Vector2(7f, 19f), 4, 20, 14, 20, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     120f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.02f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
                 {
                     170f
                 }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
                 {
                     1f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_LivingPuzzleBlock_ShockwaveBlast)
         {
             xARC.dixAnimations.Add(0, new Animation(0, 0, GlobalContent.Load<Texture2D>("Sprites/Monster/Special/Block/Blast"), new Vector2(10f, 39f), 4, 4, 21, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathBody)
         {
             Animation anim237 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Body"), new Vector2(9f, 26f), 5, 7, 19, 32, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim237.iID, anim237);
             ushort arg_1E224_0 = 1;
             byte arg_1E224_1 = 0;
             Texture2D arg_1E224_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Body");
             Vector2 arg_1E224_3 = new Vector2(9f, 26f);
             int arg_1E224_4 = 5;
             int arg_1E224_5 = 3;
             int arg_1E224_6 = 19;
             int arg_1E224_7 = 32;
             int arg_1E224_8 = 95;
             int arg_1E224_9 = 0;
             int arg_1E224_10 = 22;
             Animation.LoopSettings arg_1E224_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E224_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E224_13 = false;
             bool arg_1E224_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E18B_0 = array;
             int arg_1E18B_1 = 0;
             AnimInsCriteria arg_1E186_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E181_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E18B_0[arg_1E18B_1] = new AnimationInstruction(arg_1E186_0, new AnimInsEvent(arg_1E181_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E21F_0 = array;
             int arg_1E21F_1 = 2;
             AnimInsCriteria arg_1E21A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E215_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E21F_0[arg_1E21F_1] = new AnimationInstruction(arg_1E21A_0, new AnimInsEvent(arg_1E215_0, array2));
             anim237 = new Animation(arg_1E224_0, arg_1E224_1, arg_1E224_2, arg_1E224_3, arg_1E224_4, arg_1E224_5, arg_1E224_6, arg_1E224_7, arg_1E224_8, arg_1E224_9, arg_1E224_10, arg_1E224_11, arg_1E224_12, arg_1E224_13, arg_1E224_14, array);
             xARC.dixAnimations.Add(anim237.iID, anim237);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathHead)
         {
             Animation anim238 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Head"), new Vector2(11f, 47f), 5, 8, 23, 52, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim238.iID, anim238);
             ushort arg_1E3FE_0 = 1;
             byte arg_1E3FE_1 = 0;
             Texture2D arg_1E3FE_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Head");
             Vector2 arg_1E3FE_3 = new Vector2(11f, 47f);
             int arg_1E3FE_4 = 4;
             int arg_1E3FE_5 = 4;
             int arg_1E3FE_6 = 23;
             int arg_1E3FE_7 = 52;
             int arg_1E3FE_8 = 184;
             int arg_1E3FE_9 = 0;
             int arg_1E3FE_10 = 22;
             Animation.LoopSettings arg_1E3FE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E3FE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E3FE_13 = false;
             bool arg_1E3FE_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E365_0 = array;
             int arg_1E365_1 = 0;
             AnimInsCriteria arg_1E360_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1E35B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E365_0[arg_1E365_1] = new AnimationInstruction(arg_1E360_0, new AnimInsEvent(arg_1E35B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E3F9_0 = array;
             int arg_1E3F9_1 = 2;
             AnimInsCriteria arg_1E3F4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1E3EF_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E3F9_0[arg_1E3F9_1] = new AnimationInstruction(arg_1E3F4_0, new AnimInsEvent(arg_1E3EF_0, array2));
             anim238 = new Animation(arg_1E3FE_0, arg_1E3FE_1, arg_1E3FE_2, arg_1E3FE_3, arg_1E3FE_4, arg_1E3FE_5, arg_1E3FE_6, arg_1E3FE_7, arg_1E3FE_8, arg_1E3FE_9, arg_1E3FE_10, arg_1E3FE_11, arg_1E3FE_12, arg_1E3FE_13, arg_1E3FE_14, array);
             xARC.dixAnimations.Add(anim238.iID, anim238);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathLeftPad)
         {
             Animation anim239 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/LeftPad"), new Vector2(7f, 26f), 4, 6, 14, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim239.iID, anim239);
             ushort arg_1E5D5_0 = 1;
             byte arg_1E5D5_1 = 0;
             Texture2D arg_1E5D5_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/LeftPad");
             Vector2 arg_1E5D5_3 = new Vector2(7f, 26f);
             int arg_1E5D5_4 = 5;
             int arg_1E5D5_5 = 3;
             int arg_1E5D5_6 = 14;
             int arg_1E5D5_7 = 29;
             int arg_1E5D5_8 = 84;
             int arg_1E5D5_9 = 0;
             int arg_1E5D5_10 = 22;
             Animation.LoopSettings arg_1E5D5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E5D5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E5D5_13 = false;
             bool arg_1E5D5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E53C_0 = array;
             int arg_1E53C_1 = 0;
             AnimInsCriteria arg_1E537_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E532_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E53C_0[arg_1E53C_1] = new AnimationInstruction(arg_1E537_0, new AnimInsEvent(arg_1E532_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E5D0_0 = array;
             int arg_1E5D0_1 = 2;
             AnimInsCriteria arg_1E5CB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E5C6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E5D0_0[arg_1E5D0_1] = new AnimationInstruction(arg_1E5CB_0, new AnimInsEvent(arg_1E5C6_0, array2));
             anim239 = new Animation(arg_1E5D5_0, arg_1E5D5_1, arg_1E5D5_2, arg_1E5D5_3, arg_1E5D5_4, arg_1E5D5_5, arg_1E5D5_6, arg_1E5D5_7, arg_1E5D5_8, arg_1E5D5_9, arg_1E5D5_10, arg_1E5D5_11, arg_1E5D5_12, arg_1E5D5_13, arg_1E5D5_14, array);
             xARC.dixAnimations.Add(anim239.iID, anim239);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathRightPad)
         {
             Animation anim240 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/RightPad"), new Vector2(7f, 23f), 4, 5, 14, 26, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim240.iID, anim240);
             ushort arg_1E7AC_0 = 1;
             byte arg_1E7AC_1 = 0;
             Texture2D arg_1E7AC_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/RightPad");
             Vector2 arg_1E7AC_3 = new Vector2(7f, 23f);
             int arg_1E7AC_4 = 5;
             int arg_1E7AC_5 = 3;
             int arg_1E7AC_6 = 14;
             int arg_1E7AC_7 = 26;
             int arg_1E7AC_8 = 70;
             int arg_1E7AC_9 = 0;
             int arg_1E7AC_10 = 22;
             Animation.LoopSettings arg_1E7AC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E7AC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E7AC_13 = false;
             bool arg_1E7AC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E713_0 = array;
             int arg_1E713_1 = 0;
             AnimInsCriteria arg_1E70E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E709_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E713_0[arg_1E713_1] = new AnimationInstruction(arg_1E70E_0, new AnimInsEvent(arg_1E709_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E7A7_0 = array;
             int arg_1E7A7_1 = 2;
             AnimInsCriteria arg_1E7A2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E79D_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E7A7_0[arg_1E7A7_1] = new AnimationInstruction(arg_1E7A2_0, new AnimInsEvent(arg_1E79D_0, array2));
             anim240 = new Animation(arg_1E7AC_0, arg_1E7AC_1, arg_1E7AC_2, arg_1E7AC_3, arg_1E7AC_4, arg_1E7AC_5, arg_1E7AC_6, arg_1E7AC_7, arg_1E7AC_8, arg_1E7AC_9, arg_1E7AC_10, arg_1E7AC_11, arg_1E7AC_12, arg_1E7AC_13, arg_1E7AC_14, array);
             xARC.dixAnimations.Add(anim240.iID, anim240);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathShield)
         {
             Animation anim241 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Shield"), new Vector2(11f, 26f), 4, 6, 21, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim241.iID, anim241);
             ushort arg_1E983_0 = 1;
             byte arg_1E983_1 = 0;
             Texture2D arg_1E983_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Shield");
             Vector2 arg_1E983_3 = new Vector2(11f, 26f);
             int arg_1E983_4 = 5;
             int arg_1E983_5 = 3;
             int arg_1E983_6 = 21;
             int arg_1E983_7 = 29;
             int arg_1E983_8 = 126;
             int arg_1E983_9 = 0;
             int arg_1E983_10 = 22;
             Animation.LoopSettings arg_1E983_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1E983_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1E983_13 = false;
             bool arg_1E983_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1E8EA_0 = array;
             int arg_1E8EA_1 = 0;
             AnimInsCriteria arg_1E8E5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E8E0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1E8EA_0[arg_1E8EA_1] = new AnimationInstruction(arg_1E8E5_0, new AnimInsEvent(arg_1E8E0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1E97E_0 = array;
             int arg_1E97E_1 = 2;
             AnimInsCriteria arg_1E979_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1E974_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1E97E_0[arg_1E97E_1] = new AnimationInstruction(arg_1E979_0, new AnimInsEvent(arg_1E974_0, array2));
             anim241 = new Animation(arg_1E983_0, arg_1E983_1, arg_1E983_2, arg_1E983_3, arg_1E983_4, arg_1E983_5, arg_1E983_6, arg_1E983_7, arg_1E983_8, arg_1E983_9, arg_1E983_10, arg_1E983_11, arg_1E983_12, arg_1E983_13, arg_1E983_14, array);
             xARC.dixAnimations.Add(anim241.iID, anim241);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerKnight_DeathWeapon)
         {
             Animation anim242 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Weapon"), new Vector2(14f, 41f), 4, 6, 27, 47, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim242.iID, anim242);
             ushort arg_1EB5D_0 = 1;
             byte arg_1EB5D_1 = 0;
             Texture2D arg_1EB5D_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/Dead/Weapon");
             Vector2 arg_1EB5D_3 = new Vector2(14f, 41f);
             int arg_1EB5D_4 = 5;
             int arg_1EB5D_5 = 3;
             int arg_1EB5D_6 = 27;
             int arg_1EB5D_7 = 47;
             int arg_1EB5D_8 = 162;
             int arg_1EB5D_9 = 0;
             int arg_1EB5D_10 = 22;
             Animation.LoopSettings arg_1EB5D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1EB5D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1EB5D_13 = false;
             bool arg_1EB5D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1EAC4_0 = array;
             int arg_1EAC4_1 = 0;
             AnimInsCriteria arg_1EABF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1EABA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1EAC4_0[arg_1EAC4_1] = new AnimationInstruction(arg_1EABF_0, new AnimInsEvent(arg_1EABA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1EB58_0 = array;
             int arg_1EB58_1 = 2;
             AnimInsCriteria arg_1EB53_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1EB4E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1EB58_0[arg_1EB58_1] = new AnimationInstruction(arg_1EB53_0, new AnimInsEvent(arg_1EB4E_0, array2));
             anim242 = new Animation(arg_1EB5D_0, arg_1EB5D_1, arg_1EB5D_2, arg_1EB5D_3, arg_1EB5D_4, arg_1EB5D_5, arg_1EB5D_6, arg_1EB5D_7, arg_1EB5D_8, arg_1EB5D_9, arg_1EB5D_10, arg_1EB5D_11, arg_1EB5D_12, arg_1EB5D_13, arg_1EB5D_14, array);
             xARC.dixAnimations.Add(anim242.iID, anim242);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathBody)
         {
             Animation anim243 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Body"), new Vector2(9f, 26f), 5, 7, 19, 32, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim243.iID, anim243);
             ushort arg_1ED34_0 = 1;
             byte arg_1ED34_1 = 0;
             Texture2D arg_1ED34_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Body");
             Vector2 arg_1ED34_3 = new Vector2(9f, 26f);
             int arg_1ED34_4 = 5;
             int arg_1ED34_5 = 3;
             int arg_1ED34_6 = 19;
             int arg_1ED34_7 = 32;
             int arg_1ED34_8 = 95;
             int arg_1ED34_9 = 0;
             int arg_1ED34_10 = 22;
             Animation.LoopSettings arg_1ED34_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1ED34_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1ED34_13 = false;
             bool arg_1ED34_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1EC9B_0 = array;
             int arg_1EC9B_1 = 0;
             AnimInsCriteria arg_1EC96_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1EC91_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1EC9B_0[arg_1EC9B_1] = new AnimationInstruction(arg_1EC96_0, new AnimInsEvent(arg_1EC91_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1ED2F_0 = array;
             int arg_1ED2F_1 = 2;
             AnimInsCriteria arg_1ED2A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1ED25_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1ED2F_0[arg_1ED2F_1] = new AnimationInstruction(arg_1ED2A_0, new AnimInsEvent(arg_1ED25_0, array2));
             anim243 = new Animation(arg_1ED34_0, arg_1ED34_1, arg_1ED34_2, arg_1ED34_3, arg_1ED34_4, arg_1ED34_5, arg_1ED34_6, arg_1ED34_7, arg_1ED34_8, arg_1ED34_9, arg_1ED34_10, arg_1ED34_11, arg_1ED34_12, arg_1ED34_13, arg_1ED34_14, array);
             xARC.dixAnimations.Add(anim243.iID, anim243);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathHead)
         {
             Animation anim244 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Head"), new Vector2(11f, 47f), 5, 8, 23, 52, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim244.iID, anim244);
             ushort arg_1EF0E_0 = 1;
             byte arg_1EF0E_1 = 0;
             Texture2D arg_1EF0E_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Head");
             Vector2 arg_1EF0E_3 = new Vector2(11f, 47f);
             int arg_1EF0E_4 = 4;
             int arg_1EF0E_5 = 4;
             int arg_1EF0E_6 = 23;
             int arg_1EF0E_7 = 52;
             int arg_1EF0E_8 = 184;
             int arg_1EF0E_9 = 0;
             int arg_1EF0E_10 = 22;
             Animation.LoopSettings arg_1EF0E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1EF0E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1EF0E_13 = false;
             bool arg_1EF0E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1EE75_0 = array;
             int arg_1EE75_1 = 0;
             AnimInsCriteria arg_1EE70_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1EE6B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1EE75_0[arg_1EE75_1] = new AnimationInstruction(arg_1EE70_0, new AnimInsEvent(arg_1EE6B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1EF09_0 = array;
             int arg_1EF09_1 = 2;
             AnimInsCriteria arg_1EF04_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1EEFF_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1EF09_0[arg_1EF09_1] = new AnimationInstruction(arg_1EF04_0, new AnimInsEvent(arg_1EEFF_0, array2));
             anim244 = new Animation(arg_1EF0E_0, arg_1EF0E_1, arg_1EF0E_2, arg_1EF0E_3, arg_1EF0E_4, arg_1EF0E_5, arg_1EF0E_6, arg_1EF0E_7, arg_1EF0E_8, arg_1EF0E_9, arg_1EF0E_10, arg_1EF0E_11, arg_1EF0E_12, arg_1EF0E_13, arg_1EF0E_14, array);
             xARC.dixAnimations.Add(anim244.iID, anim244);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathLeftPad)
         {
             Animation anim245 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/LeftPad"), new Vector2(7f, 26f), 4, 6, 14, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim245.iID, anim245);
             ushort arg_1F0E5_0 = 1;
             byte arg_1F0E5_1 = 0;
             Texture2D arg_1F0E5_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/LeftPad");
             Vector2 arg_1F0E5_3 = new Vector2(7f, 26f);
             int arg_1F0E5_4 = 5;
             int arg_1F0E5_5 = 3;
             int arg_1F0E5_6 = 14;
             int arg_1F0E5_7 = 29;
             int arg_1F0E5_8 = 84;
             int arg_1F0E5_9 = 0;
             int arg_1F0E5_10 = 22;
             Animation.LoopSettings arg_1F0E5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F0E5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F0E5_13 = false;
             bool arg_1F0E5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F04C_0 = array;
             int arg_1F04C_1 = 0;
             AnimInsCriteria arg_1F047_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F042_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F04C_0[arg_1F04C_1] = new AnimationInstruction(arg_1F047_0, new AnimInsEvent(arg_1F042_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F0E0_0 = array;
             int arg_1F0E0_1 = 2;
             AnimInsCriteria arg_1F0DB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F0D6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F0E0_0[arg_1F0E0_1] = new AnimationInstruction(arg_1F0DB_0, new AnimInsEvent(arg_1F0D6_0, array2));
             anim245 = new Animation(arg_1F0E5_0, arg_1F0E5_1, arg_1F0E5_2, arg_1F0E5_3, arg_1F0E5_4, arg_1F0E5_5, arg_1F0E5_6, arg_1F0E5_7, arg_1F0E5_8, arg_1F0E5_9, arg_1F0E5_10, arg_1F0E5_11, arg_1F0E5_12, arg_1F0E5_13, arg_1F0E5_14, array);
             xARC.dixAnimations.Add(anim245.iID, anim245);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathRightPad)
         {
             Animation anim246 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/RightPad"), new Vector2(7f, 23f), 4, 5, 14, 26, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim246.iID, anim246);
             ushort arg_1F2BC_0 = 1;
             byte arg_1F2BC_1 = 0;
             Texture2D arg_1F2BC_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/RightPad");
             Vector2 arg_1F2BC_3 = new Vector2(7f, 23f);
             int arg_1F2BC_4 = 5;
             int arg_1F2BC_5 = 3;
             int arg_1F2BC_6 = 14;
             int arg_1F2BC_7 = 26;
             int arg_1F2BC_8 = 70;
             int arg_1F2BC_9 = 0;
             int arg_1F2BC_10 = 22;
             Animation.LoopSettings arg_1F2BC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F2BC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F2BC_13 = false;
             bool arg_1F2BC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F223_0 = array;
             int arg_1F223_1 = 0;
             AnimInsCriteria arg_1F21E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F219_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F223_0[arg_1F223_1] = new AnimationInstruction(arg_1F21E_0, new AnimInsEvent(arg_1F219_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F2B7_0 = array;
             int arg_1F2B7_1 = 2;
             AnimInsCriteria arg_1F2B2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F2AD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F2B7_0[arg_1F2B7_1] = new AnimationInstruction(arg_1F2B2_0, new AnimInsEvent(arg_1F2AD_0, array2));
             anim246 = new Animation(arg_1F2BC_0, arg_1F2BC_1, arg_1F2BC_2, arg_1F2BC_3, arg_1F2BC_4, arg_1F2BC_5, arg_1F2BC_6, arg_1F2BC_7, arg_1F2BC_8, arg_1F2BC_9, arg_1F2BC_10, arg_1F2BC_11, arg_1F2BC_12, arg_1F2BC_13, arg_1F2BC_14, array);
             xARC.dixAnimations.Add(anim246.iID, anim246);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathShield)
         {
             Animation anim247 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Shield"), new Vector2(11f, 26f), 4, 6, 21, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim247.iID, anim247);
             ushort arg_1F493_0 = 1;
             byte arg_1F493_1 = 0;
             Texture2D arg_1F493_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Shield");
             Vector2 arg_1F493_3 = new Vector2(11f, 26f);
             int arg_1F493_4 = 5;
             int arg_1F493_5 = 3;
             int arg_1F493_6 = 21;
             int arg_1F493_7 = 29;
             int arg_1F493_8 = 126;
             int arg_1F493_9 = 0;
             int arg_1F493_10 = 22;
             Animation.LoopSettings arg_1F493_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F493_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F493_13 = false;
             bool arg_1F493_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F3FA_0 = array;
             int arg_1F3FA_1 = 0;
             AnimInsCriteria arg_1F3F5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F3F0_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F3FA_0[arg_1F3FA_1] = new AnimationInstruction(arg_1F3F5_0, new AnimInsEvent(arg_1F3F0_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F48E_0 = array;
             int arg_1F48E_1 = 2;
             AnimInsCriteria arg_1F489_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F484_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F48E_0[arg_1F48E_1] = new AnimationInstruction(arg_1F489_0, new AnimInsEvent(arg_1F484_0, array2));
             anim247 = new Animation(arg_1F493_0, arg_1F493_1, arg_1F493_2, arg_1F493_3, arg_1F493_4, arg_1F493_5, arg_1F493_6, arg_1F493_7, arg_1F493_8, arg_1F493_9, arg_1F493_10, arg_1F493_11, arg_1F493_12, arg_1F493_13, arg_1F493_14, array);
             xARC.dixAnimations.Add(anim247.iID, anim247);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterKnight_DeathWeapon)
         {
             Animation anim248 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Weapon"), new Vector2(24f, 52f), 4, 7, 41, 61, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim248.iID, anim248);
             ushort arg_1F66D_0 = 1;
             byte arg_1F66D_1 = 0;
             Texture2D arg_1F66D_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Knight/Dead/Weapon");
             Vector2 arg_1F66D_3 = new Vector2(24f, 52f);
             int arg_1F66D_4 = 5;
             int arg_1F66D_5 = 3;
             int arg_1F66D_6 = 41;
             int arg_1F66D_7 = 61;
             int arg_1F66D_8 = 287;
             int arg_1F66D_9 = 0;
             int arg_1F66D_10 = 22;
             Animation.LoopSettings arg_1F66D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F66D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F66D_13 = false;
             bool arg_1F66D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F5D4_0 = array;
             int arg_1F5D4_1 = 0;
             AnimInsCriteria arg_1F5CF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F5CA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F5D4_0[arg_1F5D4_1] = new AnimationInstruction(arg_1F5CF_0, new AnimInsEvent(arg_1F5CA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F668_0 = array;
             int arg_1F668_1 = 2;
             AnimInsCriteria arg_1F663_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F65E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F668_0[arg_1F668_1] = new AnimationInstruction(arg_1F663_0, new AnimInsEvent(arg_1F65E_0, array2));
             anim248 = new Animation(arg_1F66D_0, arg_1F66D_1, arg_1F66D_2, arg_1F66D_3, arg_1F66D_4, arg_1F66D_5, arg_1F66D_6, arg_1F66D_7, arg_1F66D_8, arg_1F66D_9, arg_1F66D_10, arg_1F66D_11, arg_1F66D_12, arg_1F66D_13, arg_1F66D_14, array);
             xARC.dixAnimations.Add(anim248.iID, anim248);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathBody)
         {
             Animation anim249 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Body"), new Vector2(9f, 26f), 5, 7, 19, 32, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim249.iID, anim249);
             ushort arg_1F844_0 = 1;
             byte arg_1F844_1 = 0;
             Texture2D arg_1F844_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Body");
             Vector2 arg_1F844_3 = new Vector2(9f, 26f);
             int arg_1F844_4 = 5;
             int arg_1F844_5 = 3;
             int arg_1F844_6 = 19;
             int arg_1F844_7 = 32;
             int arg_1F844_8 = 95;
             int arg_1F844_9 = 0;
             int arg_1F844_10 = 22;
             Animation.LoopSettings arg_1F844_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1F844_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1F844_13 = false;
             bool arg_1F844_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F7AB_0 = array;
             int arg_1F7AB_1 = 0;
             AnimInsCriteria arg_1F7A6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F7A1_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F7AB_0[arg_1F7AB_1] = new AnimationInstruction(arg_1F7A6_0, new AnimInsEvent(arg_1F7A1_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1F83F_0 = array;
             int arg_1F83F_1 = 2;
             AnimInsCriteria arg_1F83A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1F835_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1F83F_0[arg_1F83F_1] = new AnimationInstruction(arg_1F83A_0, new AnimInsEvent(arg_1F835_0, array2));
             anim249 = new Animation(arg_1F844_0, arg_1F844_1, arg_1F844_2, arg_1F844_3, arg_1F844_4, arg_1F844_5, arg_1F844_6, arg_1F844_7, arg_1F844_8, arg_1F844_9, arg_1F844_10, arg_1F844_11, arg_1F844_12, arg_1F844_13, arg_1F844_14, array);
             xARC.dixAnimations.Add(anim249.iID, anim249);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathHead)
         {
             Animation anim250 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Head"), new Vector2(11f, 47f), 5, 8, 23, 52, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim250.iID, anim250);
             ushort arg_1FA1E_0 = 1;
             byte arg_1FA1E_1 = 0;
             Texture2D arg_1FA1E_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Head");
             Vector2 arg_1FA1E_3 = new Vector2(11f, 47f);
             int arg_1FA1E_4 = 4;
             int arg_1FA1E_5 = 4;
             int arg_1FA1E_6 = 23;
             int arg_1FA1E_7 = 52;
             int arg_1FA1E_8 = 184;
             int arg_1FA1E_9 = 0;
             int arg_1FA1E_10 = 22;
             Animation.LoopSettings arg_1FA1E_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FA1E_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FA1E_13 = false;
             bool arg_1FA1E_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1F985_0 = array;
             int arg_1F985_1 = 0;
             AnimInsCriteria arg_1F980_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1F97B_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1F985_0[arg_1F985_1] = new AnimationInstruction(arg_1F980_0, new AnimInsEvent(arg_1F97B_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FA19_0 = array;
             int arg_1FA19_1 = 2;
             AnimInsCriteria arg_1FA14_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 4f
             });
             AnimInsEvent.EventType arg_1FA0F_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FA19_0[arg_1FA19_1] = new AnimationInstruction(arg_1FA14_0, new AnimInsEvent(arg_1FA0F_0, array2));
             anim250 = new Animation(arg_1FA1E_0, arg_1FA1E_1, arg_1FA1E_2, arg_1FA1E_3, arg_1FA1E_4, arg_1FA1E_5, arg_1FA1E_6, arg_1FA1E_7, arg_1FA1E_8, arg_1FA1E_9, arg_1FA1E_10, arg_1FA1E_11, arg_1FA1E_12, arg_1FA1E_13, arg_1FA1E_14, array);
             xARC.dixAnimations.Add(anim250.iID, anim250);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathLeftPad)
         {
             Animation anim251 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/LeftPad"), new Vector2(7f, 26f), 4, 6, 14, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim251.iID, anim251);
             ushort arg_1FBF5_0 = 1;
             byte arg_1FBF5_1 = 0;
             Texture2D arg_1FBF5_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/LeftPad");
             Vector2 arg_1FBF5_3 = new Vector2(7f, 26f);
             int arg_1FBF5_4 = 5;
             int arg_1FBF5_5 = 3;
             int arg_1FBF5_6 = 14;
             int arg_1FBF5_7 = 29;
             int arg_1FBF5_8 = 84;
             int arg_1FBF5_9 = 0;
             int arg_1FBF5_10 = 22;
             Animation.LoopSettings arg_1FBF5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FBF5_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FBF5_13 = false;
             bool arg_1FBF5_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1FB5C_0 = array;
             int arg_1FB5C_1 = 0;
             AnimInsCriteria arg_1FB57_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FB52_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1FB5C_0[arg_1FB5C_1] = new AnimationInstruction(arg_1FB57_0, new AnimInsEvent(arg_1FB52_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FBF0_0 = array;
             int arg_1FBF0_1 = 2;
             AnimInsCriteria arg_1FBEB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FBE6_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FBF0_0[arg_1FBF0_1] = new AnimationInstruction(arg_1FBEB_0, new AnimInsEvent(arg_1FBE6_0, array2));
             anim251 = new Animation(arg_1FBF5_0, arg_1FBF5_1, arg_1FBF5_2, arg_1FBF5_3, arg_1FBF5_4, arg_1FBF5_5, arg_1FBF5_6, arg_1FBF5_7, arg_1FBF5_8, arg_1FBF5_9, arg_1FBF5_10, arg_1FBF5_11, arg_1FBF5_12, arg_1FBF5_13, arg_1FBF5_14, array);
             xARC.dixAnimations.Add(anim251.iID, anim251);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathRightPad)
         {
             Animation anim252 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/RightPad"), new Vector2(7f, 23f), 4, 5, 14, 26, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim252.iID, anim252);
             ushort arg_1FDCC_0 = 1;
             byte arg_1FDCC_1 = 0;
             Texture2D arg_1FDCC_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/RightPad");
             Vector2 arg_1FDCC_3 = new Vector2(7f, 23f);
             int arg_1FDCC_4 = 5;
             int arg_1FDCC_5 = 3;
             int arg_1FDCC_6 = 14;
             int arg_1FDCC_7 = 26;
             int arg_1FDCC_8 = 70;
             int arg_1FDCC_9 = 0;
             int arg_1FDCC_10 = 22;
             Animation.LoopSettings arg_1FDCC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FDCC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FDCC_13 = false;
             bool arg_1FDCC_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1FD33_0 = array;
             int arg_1FD33_1 = 0;
             AnimInsCriteria arg_1FD2E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FD29_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1FD33_0[arg_1FD33_1] = new AnimationInstruction(arg_1FD2E_0, new AnimInsEvent(arg_1FD29_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FDC7_0 = array;
             int arg_1FDC7_1 = 2;
             AnimInsCriteria arg_1FDC2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FDBD_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FDC7_0[arg_1FDC7_1] = new AnimationInstruction(arg_1FDC2_0, new AnimInsEvent(arg_1FDBD_0, array2));
             anim252 = new Animation(arg_1FDCC_0, arg_1FDCC_1, arg_1FDCC_2, arg_1FDCC_3, arg_1FDCC_4, arg_1FDCC_5, arg_1FDCC_6, arg_1FDCC_7, arg_1FDCC_8, arg_1FDCC_9, arg_1FDCC_10, arg_1FDCC_11, arg_1FDCC_12, arg_1FDCC_13, arg_1FDCC_14, array);
             xARC.dixAnimations.Add(anim252.iID, anim252);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathShield)
         {
             Animation anim253 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Shield"), new Vector2(11f, 26f), 4, 6, 21, 29, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim253.iID, anim253);
             ushort arg_1FFA3_0 = 1;
             byte arg_1FFA3_1 = 0;
             Texture2D arg_1FFA3_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Shield");
             Vector2 arg_1FFA3_3 = new Vector2(11f, 26f);
             int arg_1FFA3_4 = 5;
             int arg_1FFA3_5 = 3;
             int arg_1FFA3_6 = 21;
             int arg_1FFA3_7 = 29;
             int arg_1FFA3_8 = 126;
             int arg_1FFA3_9 = 0;
             int arg_1FFA3_10 = 22;
             Animation.LoopSettings arg_1FFA3_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_1FFA3_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_1FFA3_13 = false;
             bool arg_1FFA3_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_1FF0A_0 = array;
             int arg_1FF0A_1 = 0;
             AnimInsCriteria arg_1FF05_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FF00_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_1FF0A_0[arg_1FF0A_1] = new AnimationInstruction(arg_1FF05_0, new AnimInsEvent(arg_1FF00_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_1FF9E_0 = array;
             int arg_1FF9E_1 = 2;
             AnimInsCriteria arg_1FF99_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_1FF94_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_1FF9E_0[arg_1FF9E_1] = new AnimationInstruction(arg_1FF99_0, new AnimInsEvent(arg_1FF94_0, array2));
             anim253 = new Animation(arg_1FFA3_0, arg_1FFA3_1, arg_1FFA3_2, arg_1FFA3_3, arg_1FFA3_4, arg_1FFA3_5, arg_1FFA3_6, arg_1FFA3_7, arg_1FFA3_8, arg_1FFA3_9, arg_1FFA3_10, arg_1FFA3_11, arg_1FFA3_12, arg_1FFA3_13, arg_1FFA3_14, array);
             xARC.dixAnimations.Add(anim253.iID, anim253);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnKnight_DeathWeapon)
         {
             Animation anim254 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Weapon"), new Vector2(14f, 41f), 4, 6, 27, 47, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             });
             xARC.dixAnimations.Add(anim254.iID, anim254);
             ushort arg_2017D_0 = 1;
             byte arg_2017D_1 = 0;
             Texture2D arg_2017D_2 = Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Knight/Dead/Weapon");
             Vector2 arg_2017D_3 = new Vector2(14f, 41f);
             int arg_2017D_4 = 5;
             int arg_2017D_5 = 3;
             int arg_2017D_6 = 27;
             int arg_2017D_7 = 47;
             int arg_2017D_8 = 162;
             int arg_2017D_9 = 0;
             int arg_2017D_10 = 22;
             Animation.LoopSettings arg_2017D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2017D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2017D_13 = false;
             bool arg_2017D_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_200E4_0 = array;
             int arg_200E4_1 = 0;
             AnimInsCriteria arg_200DF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_200DA_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 20f;
             arg_200E4_0[arg_200E4_1] = new AnimationInstruction(arg_200DF_0, new AnimInsEvent(arg_200DA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.025f
             }));
             AnimationInstruction[] arg_20178_0 = array;
             int arg_20178_1 = 2;
             AnimInsCriteria arg_20173_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_2016E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 40f;
             arg_20178_0[arg_20178_1] = new AnimationInstruction(arg_20173_0, new AnimInsEvent(arg_2016E_0, array2));
             anim254 = new Animation(arg_2017D_0, arg_2017D_1, arg_2017D_2, arg_2017D_3, arg_2017D_4, arg_2017D_5, arg_2017D_6, arg_2017D_7, arg_2017D_8, arg_2017D_9, arg_2017D_10, arg_2017D_11, arg_2017D_12, arg_2017D_13, arg_2017D_14, array);
             xARC.dixAnimations.Add(anim254.iID, anim254);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_BigParticle)
         {
             Animation anim255 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/SmallCube"), new Vector2(6f, 7f), 3, 12, 14, 15, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim255.iID, anim255);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_SmallParticle)
         {
             Animation anim256 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/Particle"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim256.iID, anim256);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_AutumnProjectile_Destroyed)
         {
             Animation anim257 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Fall Wizard/Attack/Projectile/Explosion"), new Vector2(19f, 21f), 4, 6, 39, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim257.iID, anim257);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_BigParticle)
         {
             Animation anim258 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Wizard/Attack/Projectile/SmallCube"), new Vector2(6f, 7f), 3, 12, 14, 15, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim258.iID, anim258);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_SmallParticle)
         {
             Animation anim259 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Wizard/Attack/Projectile/Particle"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim259.iID, anim259);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SummerProjectile_Destroyed)
         {
             Animation anim260 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Wizard/Attack/Projectile/Explosion"), new Vector2(19f, 21f), 4, 6, 39, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim260.iID, anim260);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_BigParticle)
         {
             Animation anim261 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/SmallCube"), new Vector2(6f, 7f), 3, 12, 14, 15, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim261.iID, anim261);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_SmallParticle)
         {
             Animation anim262 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/Particle"), new Vector2(5f, 5f), 4, 7, 10, 10, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim262.iID, anim262);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_WinterProjectile_Destroyed)
         {
             Animation anim263 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Winter Wizard/Attack/Projectile/Explosion"), new Vector2(19f, 21f), 4, 6, 39, 43, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim263.iID, anim263);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_SeasonKnight_ShieldBreak)
         {
             Animation anim264 = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Season Change/Summer Knight/ShieldBreak/Effect"), new Vector2(18f, 31f), 4, 6, 36, 38, 0, 0, 22, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim264.iID, anim264);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Halloweed_UnburrowParticle)
         {
             int iRand2 = Program.GetTheGame().randomInVisual.Next(2);
             string DEFAULT_SPELL_PATH3 = "Sprites/Spells/";
             if (iRand2 == 0)
             {
                 Dictionary<ushort, Animation> arg_20664_0 = xARC.dixAnimations;
                 ushort arg_20664_1 = 0;
                 ushort arg_2065F_0 = 0;
                 byte arg_2065F_1 = 1;
                 Texture2D arg_2065F_2 = Content.Load<Texture2D>(DEFAULT_SPELL_PATH3 + "Earth Spike/Particle/Dirt1");
                 Vector2 arg_2065F_3 = new Vector2(5f, 17f);
                 int arg_2065F_4 = 4;
                 int arg_2065F_5 = 8;
                 int arg_2065F_6 = 9;
                 int arg_2065F_7 = 19;
                 int arg_2065F_8 = 0;
                 int arg_2065F_9 = 0;
                 int arg_2065F_10 = 11;
                 Animation.LoopSettings arg_2065F_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_2065F_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_2065F_13 = true;
                 bool arg_2065F_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_20610_0 = array;
                 int arg_20610_1 = 0;
                 AnimInsCriteria arg_2060B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_20606_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_20610_0[arg_20610_1] = new AnimationInstruction(arg_2060B_0, new AnimInsEvent(arg_20606_0, array2));
                 AnimationInstruction[] arg_2065A_0 = array;
                 int arg_2065A_1 = 1;
                 AnimInsCriteria arg_20655_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_20650_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_2065A_0[arg_2065A_1] = new AnimationInstruction(arg_20655_0, new AnimInsEvent(arg_20650_0, array2));
                 arg_20664_0[arg_20664_1] = new Animation(arg_2065F_0, arg_2065F_1, arg_2065F_2, arg_2065F_3, arg_2065F_4, arg_2065F_5, arg_2065F_6, arg_2065F_7, arg_2065F_8, arg_2065F_9, arg_2065F_10, arg_2065F_11, arg_2065F_12, arg_2065F_13, arg_2065F_14, array);
             }
             else
             {
                 Dictionary<ushort, Animation> arg_2074F_0 = xARC.dixAnimations;
                 ushort arg_2074F_1 = 0;
                 ushort arg_2074A_0 = 0;
                 byte arg_2074A_1 = 1;
                 Texture2D arg_2074A_2 = Content.Load<Texture2D>(DEFAULT_SPELL_PATH3 + "Earth Spike/Particle/Dirt2");
                 Vector2 arg_2074A_3 = new Vector2(5f, 17f);
                 int arg_2074A_4 = 4;
                 int arg_2074A_5 = 8;
                 int arg_2074A_6 = 9;
                 int arg_2074A_7 = 19;
                 int arg_2074A_8 = 0;
                 int arg_2074A_9 = 0;
                 int arg_2074A_10 = 11;
                 Animation.LoopSettings arg_2074A_11 = Animation.LoopSettings.Clamp;
                 Animation.CancelOptions arg_2074A_12 = Animation.CancelOptions.UseAnimationDefault;
                 bool arg_2074A_13 = true;
                 bool arg_2074A_14 = false;
                 AnimationInstruction[] array = new AnimationInstruction[2];
                 AnimationInstruction[] arg_206FB_0 = array;
                 int arg_206FB_1 = 0;
                 AnimInsCriteria arg_206F6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_206F1_0 = AnimInsEvent.EventType.FreezeFrame;
                 float[] array2 = new float[2];
                 array2[0] = 5f;
                 arg_206FB_0[arg_206FB_1] = new AnimationInstruction(arg_206F6_0, new AnimInsEvent(arg_206F1_0, array2));
                 AnimationInstruction[] arg_20745_0 = array;
                 int arg_20745_1 = 1;
                 AnimInsCriteria arg_20740_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     8f
                 });
                 AnimInsEvent.EventType arg_2073B_0 = AnimInsEvent.EventType.FreezeFrame;
                 array2 = new float[2];
                 array2[0] = 20f;
                 arg_20745_0[arg_20745_1] = new AnimationInstruction(arg_20740_0, new AnimInsEvent(arg_2073B_0, array2));
                 arg_2074F_0[arg_2074F_1] = new Animation(arg_2074A_0, arg_2074A_1, arg_2074A_2, arg_2074A_3, arg_2074A_4, arg_2074A_5, arg_2074A_6, arg_2074A_7, arg_2074A_8, arg_2074A_9, arg_2074A_10, arg_2074A_11, arg_2074A_12, arg_2074A_13, arg_2074A_14, array);
             }
             this.enSpellType = SpellCodex.SpellTypes._Magic_Earth_EarthSpike;
         }
     }
     else if (enEffect < (SortedAnimated.SortedAnimatedEffects)17000)
     {
         if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeSpawnBall)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Spawn/Ball"), new Vector2(15f, 13f), 4, 4, 31, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeSpawnBall_Red)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Spawn/Ball"), new Vector2(15f, 13f), 4, 4, 31, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeDeathEffectLights)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(15f, 13f), 4, 1, 1, 1, 0, 0, 25, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Death/Light"), new Vector2(127f, 148f), 4, 25, 257, 220, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     30f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     6f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     23f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     9f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     16f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     12f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     9f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     15f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     2f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     25f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     50f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     25f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.01f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     25f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     100f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PapaSlimeDeathExplosion)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(15f, 13f), 4, 1, 1, 1, 0, 0, 25, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_20CF7_0 = xARC.dixAnimations;
             ushort arg_20CF7_1 = 1;
             ushort arg_20CF2_0 = 0;
             byte arg_20CF2_1 = 0;
             Texture2D arg_20CF2_2 = RenderMaster.txCircleRad75;
             Vector2 arg_20CF2_3 = new Vector2(75f, 75f);
             int arg_20CF2_4 = 4;
             int arg_20CF2_5 = 1;
             int arg_20CF2_6 = 150;
             int arg_20CF2_7 = 150;
             int arg_20CF2_8 = 0;
             int arg_20CF2_9 = 0;
             int arg_20CF2_10 = 5;
             Animation.LoopSettings arg_20CF2_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_20CF2_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_20CF2_13 = true;
             bool arg_20CF2_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[6];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
             {
                 0.7f
             }));
             AnimationInstruction[] arg_20BD9_0 = array;
             int arg_20BD9_1 = 1;
             AnimInsCriteria arg_20BD4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_20BCF_0 = AnimInsEvent.EventType.SetScale;
             float[] array2 = new float[1];
             arg_20BD9_0[arg_20BD9_1] = new AnimationInstruction(arg_20BD4_0, new AnimInsEvent(arg_20BCF_0, array2));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 0.015f
             }));
             array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
             {
                 0.12f
             }));
             array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 80f
             }));
             array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }));
             arg_20CF7_0[arg_20CF7_1] = new Animation(arg_20CF2_0, arg_20CF2_1, arg_20CF2_2, arg_20CF2_3, arg_20CF2_4, arg_20CF2_5, arg_20CF2_6, arg_20CF2_7, arg_20CF2_8, arg_20CF2_9, arg_20CF2_10, arg_20CF2_11, arg_20CF2_12, arg_20CF2_13, arg_20CF2_14, array);
             xARC.dixAnimations[2] = new Animation(0, 0, RenderMaster.txCircleRad75, new Vector2(75f, 75f), 4, 1, 150, 150, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     20f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     3f
                 }))
             });
             xARC.dixAnimations[3] = new Animation(0, 0, RenderMaster.txCircleRad75, new Vector2(75f, 75f), 4, 1, 150, 150, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
                 {
                     -0.01f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     1f
                 }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
                 {
                     100f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveAll;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanGreenShotCharge)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Makaronis/Charge"), new Vector2(11f, 13f), 4, 7, 23, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanGreenShotImpact)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/GreenImpact"), new Vector2(13f, 13f), 4, 3, 26, 26, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanGreenShotExplode)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionC"), new Vector2(47f, 40f), 4, 9, 95, 84, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPurpleShotExplodeA)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionA"), new Vector2(29f, 18f), 4, 8, 56, 37, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPurpleShotExplodeB)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionF"), new Vector2(23f, 20f), 4, 9, 48, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPurpleShotExplodeC)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/ExplosionE"), new Vector2(35f, 30f), 4, 8, 71, 63, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanPhaseTarget)
         {
             Dictionary<ushort, Animation> arg_2111D_0 = xARC.dixAnimations;
             ushort arg_2111D_1 = 0;
             ushort arg_21118_0 = 0;
             byte arg_21118_1 = 0;
             Texture2D arg_21118_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Phase/Target");
             Vector2 arg_21118_3 = new Vector2(12f, 12f);
             int arg_21118_4 = 4;
             int arg_21118_5 = 9;
             int arg_21118_6 = 25;
             int arg_21118_7 = 23;
             int arg_21118_8 = 0;
             int arg_21118_9 = 0;
             int arg_21118_10 = 10;
             Animation.LoopSettings arg_21118_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21118_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21118_13 = true;
             bool arg_21118_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21113_0 = array;
             int arg_21113_1 = 0;
             AnimInsCriteria arg_2110E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_21109_0 = AnimInsEvent.EventType.PlaySound;
             string arg_21109_1 = "Phaseman_TargetAppear";
             float[] array2 = new float[1];
             arg_21113_0[arg_21113_1] = new AnimationInstruction(arg_2110E_0, new AnimInsEvent(arg_21109_0, arg_21109_1, array2));
             arg_2111D_0[arg_2111D_1] = new Animation(arg_21118_0, arg_21118_1, arg_21118_2, arg_21118_3, arg_21118_4, arg_21118_5, arg_21118_6, arg_21118_7, arg_21118_8, arg_21118_9, arg_21118_10, arg_21118_11, arg_21118_12, arg_21118_13, arg_21118_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_PhasemanOrbGetEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/OrbGetEffect"), new Vector2(12f, 12f), 4, 5, 24, 24, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherA)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 1, 24, 39, 96, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_21340_0 = xARC.dixAnimations;
             ushort arg_21340_1 = 3;
             ushort arg_2133B_0 = 3;
             byte arg_2133B_1 = 0;
             Texture2D arg_2133B_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Shoot");
             Vector2 arg_2133B_3 = new Vector2(12f, 39f);
             int arg_2133B_4 = 4;
             int arg_2133B_5 = 5;
             int arg_2133B_6 = 24;
             int arg_2133B_7 = 39;
             int arg_2133B_8 = 0;
             int arg_2133B_9 = 0;
             int arg_2133B_10 = 10;
             Animation.LoopSettings arg_2133B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2133B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2133B_13 = true;
             bool arg_2133B_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_21300_0 = array;
             int arg_21300_1 = 0;
             AnimInsCriteria arg_212FB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 3f
             });
             AnimInsEvent.EventType arg_212F6_0 = AnimInsEvent.EventType.CallBackAnimation;
             float[] array2 = new float[2];
             arg_21300_0[arg_21300_1] = new AnimationInstruction(arg_212FB_0, new AnimInsEvent(arg_212F6_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }));
             arg_21340_0[arg_21340_1] = new Animation(arg_2133B_0, arg_2133B_1, arg_2133B_2, arg_2133B_3, arg_2133B_4, arg_2133B_5, arg_2133B_6, arg_2133B_7, arg_2133B_8, arg_2133B_9, arg_2133B_10, arg_2133B_11, arg_2133B_12, arg_2133B_13, arg_2133B_14, array);
             Dictionary<ushort, Animation> arg_213B4_0 = xARC.dixAnimations;
             ushort arg_213B4_1 = 4;
             ushort arg_213AF_0 = 4;
             byte arg_213AF_1 = 0;
             Texture2D arg_213AF_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/End");
             Vector2 arg_213AF_3 = new Vector2(12f, 39f);
             int arg_213AF_4 = 4;
             int arg_213AF_5 = 5;
             int arg_213AF_6 = 24;
             int arg_213AF_7 = 39;
             int arg_213AF_8 = 0;
             int arg_213AF_9 = 0;
             int arg_213AF_10 = 10;
             Animation.LoopSettings arg_213AF_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_213AF_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_213AF_13 = true;
             bool arg_213AF_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_213AA_0 = array;
             int arg_213AA_1 = 0;
             AnimInsCriteria arg_213A5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_213A0_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_213AA_0[arg_213AA_1] = new AnimationInstruction(arg_213A5_0, new AnimInsEvent(arg_213A0_0, array2));
             arg_213B4_0[arg_213B4_1] = new Animation(arg_213AF_0, arg_213AF_1, arg_213AF_2, arg_213AF_3, arg_213AF_4, arg_213AF_5, arg_213AF_6, arg_213AF_7, arg_213AF_8, arg_213AF_9, arg_213AF_10, arg_213AF_11, arg_213AF_12, arg_213AF_13, arg_213AF_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherB)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(12f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(12f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(12f, 31f), 4, 1, 26, 31, 104, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Shoot"), new Vector2(12f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     1f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_21606_0 = xARC.dixAnimations;
             ushort arg_21606_1 = 4;
             ushort arg_21601_0 = 4;
             byte arg_21601_1 = 0;
             Texture2D arg_21601_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/End");
             Vector2 arg_21601_3 = new Vector2(12f, 31f);
             int arg_21601_4 = 4;
             int arg_21601_5 = 5;
             int arg_21601_6 = 26;
             int arg_21601_7 = 31;
             int arg_21601_8 = 0;
             int arg_21601_9 = 0;
             int arg_21601_10 = 10;
             Animation.LoopSettings arg_21601_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21601_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21601_13 = true;
             bool arg_21601_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_215FC_0 = array;
             int arg_215FC_1 = 0;
             AnimInsCriteria arg_215F7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_215F2_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_215FC_0[arg_215FC_1] = new AnimationInstruction(arg_215F7_0, new AnimInsEvent(arg_215F2_0, array2));
             arg_21606_0[arg_21606_1] = new Animation(arg_21601_0, arg_21601_1, arg_21601_2, arg_21601_3, arg_21601_4, arg_21601_5, arg_21601_6, arg_21601_7, arg_21601_8, arg_21601_9, arg_21601_10, arg_21601_11, arg_21601_12, arg_21601_13, arg_21601_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherC)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(20f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(20f, 43f), 4, 1, 36, 43, 144, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Shoot"), new Vector2(20f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     2f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_2185B_0 = xARC.dixAnimations;
             ushort arg_2185B_1 = 4;
             ushort arg_21856_0 = 4;
             byte arg_21856_1 = 0;
             Texture2D arg_21856_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/End");
             Vector2 arg_21856_3 = new Vector2(20f, 43f);
             int arg_21856_4 = 4;
             int arg_21856_5 = 5;
             int arg_21856_6 = 36;
             int arg_21856_7 = 43;
             int arg_21856_8 = 0;
             int arg_21856_9 = 0;
             int arg_21856_10 = 10;
             Animation.LoopSettings arg_21856_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21856_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21856_13 = true;
             bool arg_21856_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21851_0 = array;
             int arg_21851_1 = 0;
             AnimInsCriteria arg_2184C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21847_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21851_0[arg_21851_1] = new AnimationInstruction(arg_2184C_0, new AnimInsEvent(arg_21847_0, array2));
             arg_2185B_0[arg_2185B_1] = new Animation(arg_21856_0, arg_21856_1, arg_21856_2, arg_21856_3, arg_21856_4, arg_21856_5, arg_21856_6, arg_21856_7, arg_21856_8, arg_21856_9, arg_21856_10, arg_21856_11, arg_21856_12, arg_21856_13, arg_21856_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherD)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Start"), new Vector2(12f, 39f), 4, 1, 24, 39, 96, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/Shoot"), new Vector2(12f, 39f), 4, 5, 24, 39, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     3f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_21AAD_0 = xARC.dixAnimations;
             ushort arg_21AAD_1 = 4;
             ushort arg_21AA8_0 = 4;
             byte arg_21AA8_1 = 0;
             Texture2D arg_21AA8_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeA/End");
             Vector2 arg_21AA8_3 = new Vector2(12f, 39f);
             int arg_21AA8_4 = 4;
             int arg_21AA8_5 = 5;
             int arg_21AA8_6 = 24;
             int arg_21AA8_7 = 39;
             int arg_21AA8_8 = 0;
             int arg_21AA8_9 = 0;
             int arg_21AA8_10 = 10;
             Animation.LoopSettings arg_21AA8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21AA8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21AA8_13 = true;
             bool arg_21AA8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21AA3_0 = array;
             int arg_21AA3_1 = 0;
             AnimInsCriteria arg_21A9E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21A99_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21AA3_0[arg_21AA3_1] = new AnimationInstruction(arg_21A9E_0, new AnimInsEvent(arg_21A99_0, array2));
             arg_21AAD_0[arg_21AAD_1] = new Animation(arg_21AA8_0, arg_21AA8_1, arg_21AA8_2, arg_21AA8_3, arg_21AA8_4, arg_21AA8_5, arg_21AA8_6, arg_21AA8_7, arg_21AA8_8, arg_21AA8_9, arg_21AA8_10, arg_21AA8_11, arg_21AA8_12, arg_21AA8_13, arg_21AA8_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[4].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherE)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(14f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(14f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Start"), new Vector2(14f, 31f), 4, 1, 26, 31, 104, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/Shoot"), new Vector2(14f, 31f), 4, 5, 26, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     4f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             Dictionary<ushort, Animation> arg_21D59_0 = xARC.dixAnimations;
             ushort arg_21D59_1 = 4;
             ushort arg_21D54_0 = 4;
             byte arg_21D54_1 = 0;
             Texture2D arg_21D54_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeB/End");
             Vector2 arg_21D54_3 = new Vector2(14f, 31f);
             int arg_21D54_4 = 4;
             int arg_21D54_5 = 5;
             int arg_21D54_6 = 26;
             int arg_21D54_7 = 31;
             int arg_21D54_8 = 0;
             int arg_21D54_9 = 0;
             int arg_21D54_10 = 10;
             Animation.LoopSettings arg_21D54_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_21D54_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_21D54_13 = true;
             bool arg_21D54_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21D4F_0 = array;
             int arg_21D4F_1 = 0;
             AnimInsCriteria arg_21D4A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21D45_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21D4F_0[arg_21D4F_1] = new AnimationInstruction(arg_21D4A_0, new AnimInsEvent(arg_21D45_0, array2));
             arg_21D59_0[arg_21D59_1] = new Animation(arg_21D54_0, arg_21D54_1, arg_21D54_2, arg_21D54_3, arg_21D54_4, arg_21D54_5, arg_21D54_6, arg_21D54_7, arg_21D54_8, arg_21D54_9, arg_21D54_10, arg_21D54_11, arg_21D54_12, arg_21D54_13, arg_21D54_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[4].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketLauncherF)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(16f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(16f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             });
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Start"), new Vector2(16f, 43f), 4, 1, 36, 43, 144, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[3] = new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/Shoot"), new Vector2(16f, 43f), 4, 5, 36, 43, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 })),
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
                 {
                     3f
                 }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
                 {
                     0f,
                     5f
                 }))
             });
             Dictionary<ushort, Animation> arg_22008_0 = xARC.dixAnimations;
             ushort arg_22008_1 = 4;
             ushort arg_22003_0 = 4;
             byte arg_22003_1 = 0;
             Texture2D arg_22003_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/PipeC/End");
             Vector2 arg_22003_3 = new Vector2(16f, 43f);
             int arg_22003_4 = 4;
             int arg_22003_5 = 5;
             int arg_22003_6 = 36;
             int arg_22003_7 = 43;
             int arg_22003_8 = 0;
             int arg_22003_9 = 0;
             int arg_22003_10 = 10;
             Animation.LoopSettings arg_22003_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22003_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_22003_13 = true;
             bool arg_22003_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_21FFE_0 = array;
             int arg_21FFE_1 = 0;
             AnimInsCriteria arg_21FF9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_21FF4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_21FFE_0[arg_21FFE_1] = new AnimationInstruction(arg_21FF9_0, new AnimInsEvent(arg_21FF4_0, array2));
             arg_22008_0[arg_22008_1] = new Animation(arg_22003_0, arg_22003_1, arg_22003_2, arg_22003_3, arg_22003_4, arg_22003_5, arg_22003_6, arg_22003_7, arg_22003_8, arg_22003_9, arg_22003_10, arg_22003_11, arg_22003_12, arg_22003_13, arg_22003_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[2].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[4].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketTarget)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/Target"), new Vector2(20f, 20f), 4, 6, 40, 40, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketTrackingTarget)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, RenderMaster.txNullTex, new Vector2(20f, 46f), 4, 6, 40, 40, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Targeting"), new Vector2(20f, 46f), 4, 2, 40, 54, 0, 0, 19, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_221B1_0 = xARC.dixAnimations;
             ushort arg_221B1_1 = 2;
             ushort arg_221AC_0 = 2;
             byte arg_221AC_1 = 0;
             Texture2D arg_221AC_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Targeting");
             Vector2 arg_221AC_3 = new Vector2(20f, 46f);
             int arg_221AC_4 = 4;
             int arg_221AC_5 = 19;
             int arg_221AC_6 = 40;
             int arg_221AC_7 = 54;
             int arg_221AC_8 = 0;
             int arg_221AC_9 = 0;
             int arg_221AC_10 = 19;
             Animation.LoopSettings arg_221AC_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_221AC_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_221AC_13 = true;
             bool arg_221AC_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_221A7_0 = array;
             int arg_221A7_1 = 0;
             AnimInsCriteria arg_221A2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_2219D_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_221A7_0[arg_221A7_1] = new AnimationInstruction(arg_221A2_0, new AnimInsEvent(arg_2219D_0, array2));
             arg_221B1_0[arg_221B1_1] = new Animation(arg_221AC_0, arg_221AC_1, arg_221AC_2, arg_221AC_3, arg_221AC_4, arg_221AC_5, arg_221AC_6, arg_221AC_7, arg_221AC_8, arg_221AC_9, arg_221AC_10, arg_221AC_11, arg_221AC_12, arg_221AC_13, arg_221AC_14, array);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamRocketSmoke)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Rockets/Smoke"), new Vector2(21f, 14f), 4, 8, 42, 31, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBody)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Body"), new Vector2(108f, 30f), 4, 1, 217, 123, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_222D5_0 = xARC.dixAnimations;
             ushort arg_222D5_1 = 1;
             ushort arg_222D0_0 = 1;
             byte arg_222D0_1 = 0;
             Texture2D arg_222D0_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Smash/Smash");
             Vector2 arg_222D0_3 = new Vector2(108f, 33f);
             int arg_222D0_4 = 4;
             int arg_222D0_5 = 4;
             int arg_222D0_6 = 217;
             int arg_222D0_7 = 126;
             int arg_222D0_8 = 0;
             int arg_222D0_9 = 0;
             int arg_222D0_10 = 20;
             Animation.LoopSettings arg_222D0_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_222D0_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_222D0_13 = true;
             bool arg_222D0_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_222CB_0 = array;
             int arg_222CB_1 = 0;
             AnimInsCriteria arg_222C6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_222C1_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_222CB_0[arg_222CB_1] = new AnimationInstruction(arg_222C6_0, new AnimInsEvent(arg_222C1_0, array2));
             arg_222D5_0.Add(arg_222D5_1, new Animation(arg_222D0_0, arg_222D0_1, arg_222D0_2, arg_222D0_3, arg_222D0_4, arg_222D0_5, arg_222D0_6, arg_222D0_7, arg_222D0_8, arg_222D0_9, arg_222D0_10, arg_222D0_11, arg_222D0_12, arg_222D0_13, arg_222D0_14, array));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityA"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityB"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityC"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/Mid"), new Vector2(125f, 95f), 4, 24, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/Idle"), new Vector2(125f, 95f), 4, 6, 248, 187, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_225A6_0 = xARC.dixAnimations;
             ushort arg_225A6_1 = 7;
             ushort arg_225A1_0 = 7;
             byte arg_225A1_1 = 0;
             Texture2D arg_225A1_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/End");
             Vector2 arg_225A1_3 = new Vector2(125f, 95f);
             int arg_225A1_4 = 4;
             int arg_225A1_5 = 5;
             int arg_225A1_6 = 248;
             int arg_225A1_7 = 187;
             int arg_225A1_8 = 0;
             int arg_225A1_9 = 0;
             int arg_225A1_10 = 25;
             Animation.LoopSettings arg_225A1_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_225A1_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_225A1_13 = true;
             bool arg_225A1_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_2259C_0 = array;
             int arg_2259C_1 = 0;
             AnimInsCriteria arg_22597_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_22592_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_2259C_0[arg_2259C_1] = new AnimationInstruction(arg_22597_0, new AnimInsEvent(arg_22592_0, array2));
             arg_225A6_0.Add(arg_225A6_1, new Animation(arg_225A1_0, arg_225A1_1, arg_225A1_2, arg_225A1_3, arg_225A1_4, arg_225A1_5, arg_225A1_6, arg_225A1_7, arg_225A1_8, arg_225A1_9, arg_225A1_10, arg_225A1_11, arg_225A1_12, arg_225A1_13, arg_225A1_14, array));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Electricity/ElectricityC"), new Vector2(125f, 95f), 4, 1, 248, 187, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(9, new Animation(9, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Overheat/Start"), new Vector2(108f, 30f), 4, 1, 217, 123, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Dead/Start"), new Vector2(108f, 82f), 4, 37, 217, 174, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(11, new Animation(11, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Dead/Idle"), new Vector2(108f, 31f), 4, 1, 217, 123, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(12, new Animation(12, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/StartUp/Start"), new Vector2(108f, 84f), 4, 1, 217, 176, 0, 0, 7, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_227BC_0 = xARC.dixAnimations;
             ushort arg_227BC_1 = 13;
             ushort arg_227B7_0 = 13;
             byte arg_227B7_1 = 0;
             Texture2D arg_227B7_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/StartUp/Start");
             Vector2 arg_227B7_3 = new Vector2(108f, 84f);
             int arg_227B7_4 = 4;
             int arg_227B7_5 = 37;
             int arg_227B7_6 = 217;
             int arg_227B7_7 = 176;
             int arg_227B7_8 = 0;
             int arg_227B7_9 = 0;
             int arg_227B7_10 = 7;
             Animation.LoopSettings arg_227B7_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_227B7_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_227B7_13 = true;
             bool arg_227B7_14 = true;
             array = new AnimationInstruction[2];
             array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
             {
                 1f
             }));
             AnimationInstruction[] arg_227B2_0 = array;
             int arg_227B2_1 = 1;
             AnimInsCriteria arg_227AD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_227A8_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_227B2_0[arg_227B2_1] = new AnimationInstruction(arg_227AD_0, new AnimInsEvent(arg_227A8_0, array2));
             arg_227BC_0.Add(arg_227BC_1, new Animation(arg_227B7_0, arg_227B7_1, arg_227B7_2, arg_227B7_3, arg_227B7_4, arg_227B7_5, arg_227B7_6, arg_227B7_7, arg_227B7_8, arg_227B7_9, arg_227B7_10, arg_227B7_11, arg_227B7_12, arg_227B7_13, arg_227B7_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamStomach)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             xARC.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 1, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Start"), Vector2.Zero, 4, 38, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     4f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Idle"), Vector2.Zero, 4, 4, 47, 81, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_2291E_0 = xARC.dixAnimations;
             ushort arg_2291E_1 = 3;
             ushort arg_22919_0 = 3;
             byte arg_22919_1 = 0;
             Texture2D arg_22919_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/End");
             Vector2 arg_22919_3 = Vector2.Zero;
             int arg_22919_4 = 4;
             int arg_22919_5 = 17;
             int arg_22919_6 = 47;
             int arg_22919_7 = 81;
             int arg_22919_8 = 0;
             int arg_22919_9 = 0;
             int arg_22919_10 = 18;
             Animation.LoopSettings arg_22919_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22919_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_22919_13 = true;
             bool arg_22919_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_22914_0 = array;
             int arg_22914_1 = 0;
             AnimInsCriteria arg_2290F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_2290A_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_22914_0[arg_22914_1] = new AnimationInstruction(arg_2290F_0, new AnimInsEvent(arg_2290A_0, array2));
             arg_2291E_0.Add(arg_2291E_1, new Animation(arg_22919_0, arg_22919_1, arg_22919_2, arg_22919_3, arg_22919_4, arg_22919_5, arg_22919_6, arg_22919_7, arg_22919_8, arg_22919_9, arg_22919_10, arg_22919_11, arg_22919_12, arg_22919_13, arg_22919_14, array));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Attack"), Vector2.Zero, 4, 2, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Start"), Vector2.Zero, 4, 38, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     8f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Idle"), Vector2.Zero, 4, 4, 47, 81, 0, 0, 13, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_22AAB_0 = xARC.dixAnimations;
             ushort arg_22AAB_1 = 7;
             ushort arg_22AA6_0 = 7;
             byte arg_22AA6_1 = 0;
             Texture2D arg_22AA6_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/End");
             Vector2 arg_22AA6_3 = Vector2.Zero;
             int arg_22AA6_4 = 4;
             int arg_22AA6_5 = 17;
             int arg_22AA6_6 = 47;
             int arg_22AA6_7 = 81;
             int arg_22AA6_8 = 0;
             int arg_22AA6_9 = 0;
             int arg_22AA6_10 = 18;
             Animation.LoopSettings arg_22AA6_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22AA6_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_22AA6_13 = true;
             bool arg_22AA6_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_22AA1_0 = array;
             int arg_22AA1_1 = 0;
             AnimInsCriteria arg_22A9C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_22A97_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[1];
             arg_22AA1_0[arg_22AA1_1] = new AnimationInstruction(arg_22A9C_0, new AnimInsEvent(arg_22A97_0, array2));
             arg_22AAB_0.Add(arg_22AAB_1, new Animation(arg_22AA6_0, arg_22AA6_1, arg_22AA6_2, arg_22AA6_3, arg_22AA6_4, arg_22AA6_5, arg_22AA6_6, arg_22AA6_7, arg_22AA6_8, arg_22AA6_9, arg_22AA6_10, arg_22AA6_11, arg_22AA6_12, arg_22AA6_13, arg_22AA6_14, array));
             xARC.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Attack"), Vector2.Zero, 4, 2, 47, 81, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamStomach_Laser)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/ChargeEffect"), new Vector2(13f, 13f), 4, 20, 27, 27, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Beam/Start"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     2f
                 }))
             }));
             xARC.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Beam/Idle"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Beam/End"), new Vector2(11f, 5f), 4, 6, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/ChargeEffect"), new Vector2(13f, 13f), 4, 20, 27, 27, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     5f
                 }))
             }));
             xARC.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Beam/Start"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     6f
                 }))
             }));
             xARC.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Beam/Idle"), new Vector2(11f, 5f), 4, 3, 23, 192, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xARC.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Laser/Overheat/Beam/End"), new Vector2(11f, 5f), 4, 6, 23, 192, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamSmash_FadingHole)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             Dictionary<ushort, Animation> arg_22F75_0 = xARC.dixAnimations;
             ushort arg_22F75_1 = 0;
             ushort arg_22F70_0 = 0;
             byte arg_22F70_1 = 0;
             Texture2D arg_22F70_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/GroundEffect");
             Vector2 arg_22F70_3 = Vector2.Zero;
             int arg_22F70_4 = 4;
             int arg_22F70_5 = 1;
             int arg_22F70_6 = 106;
             int arg_22F70_7 = 83;
             int arg_22F70_8 = 0;
             int arg_22F70_9 = 0;
             int arg_22F70_10 = 22;
             Animation.LoopSettings arg_22F70_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_22F70_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_22F70_13 = false;
             bool arg_22F70_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_22ED7_0 = array;
             int arg_22ED7_1 = 0;
             AnimInsCriteria arg_22ED2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_22ECD_0 = AnimInsEvent.EventType.FreezeFrame;
             float[] array2 = new float[2];
             array2[0] = 5f;
             arg_22ED7_0[arg_22ED7_1] = new AnimationInstruction(arg_22ED2_0, new AnimInsEvent(arg_22ECD_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_22F6B_0 = array;
             int arg_22F6B_1 = 2;
             AnimInsCriteria arg_22F66_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_22F61_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_22F6B_0[arg_22F6B_1] = new AnimationInstruction(arg_22F66_0, new AnimInsEvent(arg_22F61_0, array2));
             arg_22F75_0.Add(arg_22F75_1, new Animation(arg_22F70_0, arg_22F70_1, arg_22F70_2, arg_22F70_3, arg_22F70_4, arg_22F70_5, arg_22F70_6, arg_22F70_7, arg_22F70_8, arg_22F70_9, arg_22F70_10, arg_22F70_11, arg_22F70_12, arg_22F70_13, arg_22F70_14, array));
             Dictionary<ushort, Animation> arg_23092_0 = xARC.dixAnimations;
             ushort arg_23092_1 = 1;
             ushort arg_2308D_0 = 1;
             byte arg_2308D_1 = 0;
             Texture2D arg_2308D_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/GroundEffect");
             Vector2 arg_2308D_3 = Vector2.Zero;
             int arg_2308D_4 = 4;
             int arg_2308D_5 = 1;
             int arg_2308D_6 = 106;
             int arg_2308D_7 = 83;
             int arg_2308D_8 = 0;
             int arg_2308D_9 = 0;
             int arg_2308D_10 = 22;
             Animation.LoopSettings arg_2308D_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2308D_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2308D_13 = false;
             bool arg_2308D_14 = false;
             array = new AnimationInstruction[3];
             AnimationInstruction[] arg_22FF4_0 = array;
             int arg_22FF4_1 = 0;
             AnimInsCriteria arg_22FEF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_22FEA_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 5f;
             arg_22FF4_0[arg_22FF4_1] = new AnimationInstruction(arg_22FEF_0, new AnimInsEvent(arg_22FEA_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
             {
                 -0.05f
             }));
             AnimationInstruction[] arg_23088_0 = array;
             int arg_23088_1 = 2;
             AnimInsCriteria arg_23083_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             });
             AnimInsEvent.EventType arg_2307E_0 = AnimInsEvent.EventType.FreezeFrame;
             array2 = new float[2];
             array2[0] = 20f;
             arg_23088_0[arg_23088_1] = new AnimationInstruction(arg_23083_0, new AnimInsEvent(arg_2307E_0, array2));
             arg_23092_0.Add(arg_23092_1, new Animation(arg_2308D_0, arg_2308D_1, arg_2308D_2, arg_2308D_3, arg_2308D_4, arg_2308D_5, arg_2308D_6, arg_2308D_7, arg_2308D_8, arg_2308D_9, arg_2308D_10, arg_2308D_11, arg_2308D_12, arg_2308D_13, arg_2308D_14, array));
             xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBulletHell_FarmahmeraIcon)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.Sorted;
             xARC.fAlpha = 0.95f;
             xARC.v2Scale.X = 0.1f;
             Dictionary<ushort, Animation> arg_231EC_0 = xARC.dixAnimations;
             ushort arg_231EC_1 = 0;
             ushort arg_231E7_0 = 0;
             byte arg_231E7_1 = 0;
             Texture2D arg_231E7_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Head/BulletHell/powertest");
             Vector2 arg_231E7_3 = new Vector2(30f, 16f);
             int arg_231E7_4 = 3;
             int arg_231E7_5 = 3;
             int arg_231E7_6 = 59;
             int arg_231E7_7 = 33;
             int arg_231E7_8 = 0;
             int arg_231E7_9 = 0;
             int arg_231E7_10 = 20;
             Animation.LoopSettings arg_231E7_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_231E7_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_231E7_13 = true;
             bool arg_231E7_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[3];
             AnimationInstruction[] arg_2314F_0 = array;
             int arg_2314F_1 = 0;
             AnimInsCriteria.Criteria arg_23125_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             float[] array2 = new float[1];
             AnimInsCriteria arg_2314A_0 = new AnimInsCriteria(arg_23125_0, array2);
             AnimInsEvent.EventType arg_23145_0 = AnimInsEvent.EventType.AdjustScale;
             array2 = new float[2];
             array2[0] = 0.1f;
             arg_2314F_0[arg_2314F_1] = new AnimationInstruction(arg_2314A_0, new AnimInsEvent(arg_23145_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
             {
                 1f
             }));
             array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 9f
             }), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }));
             arg_231EC_0.Add(arg_231EC_1, new Animation(arg_231E7_0, arg_231E7_1, arg_231E7_2, arg_231E7_3, arg_231E7_4, arg_231E7_5, arg_231E7_6, arg_231E7_7, arg_231E7_8, arg_231E7_9, arg_231E7_10, arg_231E7_11, arg_231E7_12, arg_231E7_13, arg_231E7_14, array));
             xARC.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Head/BulletHell/powertest"), new Vector2(30f, 16f), 3, 3, 59, 33, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             Dictionary<ushort, Animation> arg_232FF_0 = xARC.dixAnimations;
             ushort arg_232FF_1 = 2;
             ushort arg_232FA_0 = 2;
             byte arg_232FA_1 = 0;
             Texture2D arg_232FA_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Head/BulletHell/powertest");
             Vector2 arg_232FA_3 = new Vector2(30f, 16f);
             int arg_232FA_4 = 3;
             int arg_232FA_5 = 3;
             int arg_232FA_6 = 59;
             int arg_232FA_7 = 33;
             int arg_232FA_8 = 0;
             int arg_232FA_9 = 0;
             int arg_232FA_10 = 20;
             Animation.LoopSettings arg_232FA_11 = Animation.LoopSettings.Looping;
             Animation.CancelOptions arg_232FA_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_232FA_13 = true;
             bool arg_232FA_14 = true;
             array = new AnimationInstruction[2];
             AnimationInstruction[] arg_232AB_0 = array;
             int arg_232AB_1 = 0;
             AnimInsCriteria.Criteria arg_23281_0 = AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks;
             array2 = new float[1];
             AnimInsCriteria arg_232A6_0 = new AnimInsCriteria(arg_23281_0, array2);
             AnimInsEvent.EventType arg_232A1_0 = AnimInsEvent.EventType.AdjustScale;
             array2 = new float[2];
             array2[0] = -0.1f;
             arg_232AB_0[arg_232AB_1] = new AnimationInstruction(arg_232A6_0, new AnimInsEvent(arg_232A1_0, array2));
             array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAlwaysAfterXTicks, new float[]
             {
                 10f
             }), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
             {
                 1f
             }));
             arg_232FF_0.Add(arg_232FF_1, new Animation(arg_232FA_0, arg_232FA_1, arg_232FA_2, arg_232FA_3, arg_232FA_4, arg_232FA_5, arg_232FA_6, arg_232FA_7, arg_232FA_8, arg_232FA_9, arg_232FA_10, arg_232FA_11, arg_232FA_12, arg_232FA_13, arg_232FA_14, array));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBulletHell_ChargeBall)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.fAlpha = 1f;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Red"), new Vector2(8f, 8f), 4, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamBulletHell_ChargeBallGreen)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.fAlpha = 1f;
             xARC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/Projectiles/Green"), new Vector2(8f, 8f), 4, 1, 16, 16, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamSmash_StoneA)
         {
             int iRand3 = Program.GetTheGame().randomInVisual.Next(2);
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_23470_0 = xARC.dixAnimations;
             ushort arg_23470_1 = 0;
             ushort arg_2346B_0 = 0;
             byte arg_2346B_1 = 1;
             Texture2D arg_2346B_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneA");
             Vector2 arg_2346B_3 = new Vector2(7f, 33f);
             int arg_2346B_4 = 4;
             int arg_2346B_5 = 7;
             int arg_2346B_6 = 14;
             int arg_2346B_7 = 37;
             int arg_2346B_8 = 0;
             int arg_2346B_9 = 0;
             int arg_2346B_10 = 11;
             Animation.LoopSettings arg_2346B_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_2346B_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_2346B_13 = true;
             bool arg_2346B_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_23466_0 = array;
             int arg_23466_1 = 0;
             AnimInsCriteria arg_23461_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             });
             AnimInsEvent.EventType arg_2345C_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_23466_0[arg_23466_1] = new AnimationInstruction(arg_23461_0, new AnimInsEvent(arg_2345C_0, array2));
             arg_23470_0[arg_23470_1] = new Animation(arg_2346B_0, arg_2346B_1, arg_2346B_2, arg_2346B_3, arg_2346B_4, arg_2346B_5, arg_2346B_6, arg_2346B_7, arg_2346B_8, arg_2346B_9, arg_2346B_10, arg_2346B_11, arg_2346B_12, arg_2346B_13, arg_2346B_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneA"), new Vector2(7f, 33f), 4, 1, 14, 37, 84, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             if (iRand3 == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
                 xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamSmash_StoneB)
         {
             int iRand4 = Program.GetTheGame().randomInVisual.Next(2);
             this.bDestroyAtEnd = false;
             Dictionary<ushort, Animation> arg_2359D_0 = xARC.dixAnimations;
             ushort arg_2359D_1 = 0;
             ushort arg_23598_0 = 0;
             byte arg_23598_1 = 1;
             Texture2D arg_23598_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneB");
             Vector2 arg_23598_3 = new Vector2(9f, 37f);
             int arg_23598_4 = 4;
             int arg_23598_5 = 10;
             int arg_23598_6 = 17;
             int arg_23598_7 = 43;
             int arg_23598_8 = 0;
             int arg_23598_9 = 0;
             int arg_23598_10 = 11;
             Animation.LoopSettings arg_23598_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_23598_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_23598_13 = true;
             bool arg_23598_14 = false;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_23593_0 = array;
             int arg_23593_1 = 0;
             AnimInsCriteria arg_2358E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 10f
             });
             AnimInsEvent.EventType arg_23589_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_23593_0[arg_23593_1] = new AnimationInstruction(arg_2358E_0, new AnimInsEvent(arg_23589_0, array2));
             arg_2359D_0[arg_2359D_1] = new Animation(arg_23598_0, arg_23598_1, arg_23598_2, arg_23598_3, arg_23598_4, arg_23598_5, arg_23598_6, arg_23598_7, arg_23598_8, arg_23598_9, arg_23598_10, arg_23598_11, arg_23598_12, arg_23598_13, arg_23598_14, array);
             xARC.dixAnimations[1] = new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Smash/StoneB"), new Vector2(9f, 37f), 4, 1, 17, 43, 153, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             if (iRand4 == 0)
             {
                 xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
                 xARC.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             }
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamPunch_HitEffect)
         {
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Hands/Punch/HitEffect"), new Vector2(51f, 51f), 4, 5, 104, 77, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamVentilLeft)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             Dictionary<ushort, Animation> arg_2371E_0 = xARC.dixAnimations;
             ushort arg_2371E_1 = 0;
             ushort arg_23719_0 = 0;
             byte arg_23719_1 = 0;
             Texture2D arg_23719_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Ventil");
             Vector2 arg_23719_3 = Vector2.Zero;
             int arg_23719_4 = 4;
             int arg_23719_5 = 6;
             int arg_23719_6 = 36;
             int arg_23719_7 = 17;
             int arg_23719_8 = 0;
             int arg_23719_9 = 0;
             int arg_23719_10 = 10;
             Animation.LoopSettings arg_23719_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_23719_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_23719_13 = true;
             bool arg_23719_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[2];
             AnimationInstruction[] arg_236DE_0 = array;
             int arg_236DE_1 = 0;
             AnimInsCriteria arg_236D9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
             AnimInsEvent.EventType arg_236D4_0 = AnimInsEvent.EventType.PlaySound;
             string arg_236D4_1 = "Gund4m_Flaps_A";
             float[] array2 = new float[1];
             arg_236DE_0[arg_236DE_1] = new AnimationInstruction(arg_236D9_0, new AnimInsEvent(arg_236D4_0, arg_236D4_1, array2));
             AnimationInstruction[] arg_23714_0 = array;
             int arg_23714_1 = 1;
             AnimInsCriteria arg_2370F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_2370A_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[2];
             array2[0] = 1f;
             arg_23714_0[arg_23714_1] = new AnimationInstruction(arg_2370F_0, new AnimInsEvent(arg_2370A_0, array2));
             arg_2371E_0[arg_2371E_1] = new Animation(arg_23719_0, arg_23719_1, arg_23719_2, arg_23719_3, arg_23719_4, arg_23719_5, arg_23719_6, arg_23719_7, arg_23719_8, arg_23719_9, arg_23719_10, arg_23719_11, arg_23719_12, arg_23719_13, arg_23719_14, array);
             xARC.dixAnimations[1] = new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 6, 36, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamVentilRight)
         {
             this.bDestroyAtEnd = false;
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
             Dictionary<ushort, Animation> arg_237DD_0 = xARC.dixAnimations;
             ushort arg_237DD_1 = 0;
             ushort arg_237D8_0 = 0;
             byte arg_237D8_1 = 0;
             Texture2D arg_237D8_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Body/Ventil");
             Vector2 arg_237D8_3 = Vector2.Zero;
             int arg_237D8_4 = 4;
             int arg_237D8_5 = 6;
             int arg_237D8_6 = 36;
             int arg_237D8_7 = 17;
             int arg_237D8_8 = 0;
             int arg_237D8_9 = 0;
             int arg_237D8_10 = 10;
             Animation.LoopSettings arg_237D8_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_237D8_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_237D8_13 = true;
             bool arg_237D8_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_237D3_0 = array;
             int arg_237D3_1 = 0;
             AnimInsCriteria arg_237CE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_237C9_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             array2[0] = 1f;
             arg_237D3_0[arg_237D3_1] = new AnimationInstruction(arg_237CE_0, new AnimInsEvent(arg_237C9_0, array2));
             arg_237DD_0[arg_237DD_1] = new Animation(arg_237D8_0, arg_237D8_1, arg_237D8_2, arg_237D8_3, arg_237D8_4, arg_237D8_5, arg_237D8_6, arg_237D8_7, arg_237D8_8, arg_237D8_9, arg_237D8_10, arg_237D8_11, arg_237D8_12, arg_237D8_13, arg_237D8_14, array);
             xARC.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xARC.dixAnimations[1] = new Animation(1, 0, RenderMaster.txNullTex, Vector2.Zero, 4, 6, 36, 17, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_GundamAmuletFlash)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Gundam/Flash"), new Vector2(29f, 21f), 4, 4, 57, 41, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_ToyFactoryFunnel)
         {
             this.bDestroyAtEnd = false;
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Idle"), new Vector2(25f, 46f), 4, 1, 51, 61, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_2393A_0 = xARC.dixAnimations;
             ushort arg_2393A_1 = 1;
             ushort arg_23935_0 = 1;
             byte arg_23935_1 = 0;
             Texture2D arg_23935_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Spawn");
             Vector2 arg_23935_3 = new Vector2(25f, 46f);
             int arg_23935_4 = 4;
             int arg_23935_5 = 8;
             int arg_23935_6 = 51;
             int arg_23935_7 = 61;
             int arg_23935_8 = 0;
             int arg_23935_9 = 0;
             int arg_23935_10 = 10;
             Animation.LoopSettings arg_23935_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_23935_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_23935_13 = true;
             bool arg_23935_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_23930_0 = array;
             int arg_23930_1 = 0;
             AnimInsCriteria arg_2392B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_23926_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[2];
             arg_23930_0[arg_23930_1] = new AnimationInstruction(arg_2392B_0, new AnimInsEvent(arg_23926_0, array2));
             arg_2393A_0[arg_2393A_1] = new Animation(arg_23935_0, arg_23935_1, arg_23935_2, arg_23935_3, arg_23935_4, arg_23935_5, arg_23935_6, arg_23935_7, arg_23935_8, arg_23935_9, arg_23935_10, arg_23935_11, arg_23935_12, arg_23935_13, arg_23935_14, array);
             xARC.dixAnimations[2] = new Animation(2, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Spawn"), new Vector2(25f, 46f), 4, 6, 51, 61, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             Dictionary<ushort, Animation> arg_239F3_0 = xARC.dixAnimations;
             ushort arg_239F3_1 = 3;
             ushort arg_239EE_0 = 3;
             byte arg_239EE_1 = 0;
             Texture2D arg_239EE_2 = Content.Load<Texture2D>("Sprites/Monster/Bosses/Enraged Toy Machine/Funnel/Spawn");
             Vector2 arg_239EE_3 = new Vector2(25f, 46f);
             int arg_239EE_4 = 4;
             int arg_239EE_5 = 2;
             int arg_239EE_6 = 51;
             int arg_239EE_7 = 61;
             int arg_239EE_8 = 306;
             int arg_239EE_9 = 0;
             int arg_239EE_10 = 10;
             Animation.LoopSettings arg_239EE_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_239EE_12 = Animation.CancelOptions.UseAnimationDefault;
             bool arg_239EE_13 = true;
             bool arg_239EE_14 = true;
             array = new AnimationInstruction[1];
             AnimationInstruction[] arg_239E9_0 = array;
             int arg_239E9_1 = 0;
             AnimInsCriteria arg_239E4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_239DF_0 = AnimInsEvent.EventType.PlayAnimation;
             array2 = new float[2];
             arg_239E9_0[arg_239E9_1] = new AnimationInstruction(arg_239E4_0, new AnimInsEvent(arg_239DF_0, array2));
             arg_239F3_0[arg_239F3_1] = new Animation(arg_239EE_0, arg_239EE_1, arg_239EE_2, arg_239EE_3, arg_239EE_4, arg_239EE_5, arg_239EE_6, arg_239EE_7, arg_239EE_8, arg_239EE_9, arg_239EE_10, arg_239EE_11, arg_239EE_12, arg_239EE_13, arg_239EE_14, array);
             xARC.fVirtualHeight = 59f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_ToyFactoryBombAway)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Bomb"), new Vector2(15f, 18f), 4, 3, 31, 22, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             xARC.fVirtualHeight = 100f;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_AutumnFaeTornadoCast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Projectile/CastEffect"), new Vector2(17f, 17f), 4, 4, 34, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SummerFaeThornCast)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Summer/PlantSummon/CastEffect"), new Vector2(17f, 17f), 4, 4, 33, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_AutumnFaeBlowParticle)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Fall/Wind/Particle"), new Vector2(8f, 8f), 4, 10, 16, 16, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_SummerFlameBreath)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>("Sprites/Heroes/Skills/Flame Cone/Projectile/Small"), new Vector2(6f, 6f), 4, 5, 12, 12, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_SummerFlameBreath_Impact01)
         {
             Animation anim265 = new Animation(0, 0, Content.Load<Texture2D>("Effects/SpellEffects/Impact"), new Vector2(14f, 12f), 4, 6, 25, 24, 0, 0, 6, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim265.iID, anim265);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_SummerFlameBreath_FloorFire01)
         {
             Animation anim266 = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Summer/Face/Breath/Floor"), new Vector2(7f, 24f), 4, 16, 15, 26, 0, 0, 16, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, false, false, new AnimationInstruction[0]);
             xARC.dixAnimations.Add(anim266.iID, anim266);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_WinterFrostBreath_BeamFloorEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Winter/Beam/Floor"), new Vector2(17f, 15f), 4, 3, 34, 25, 0, 0, 6, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnSmallSpore_Looping)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/Small"), new Vector2(5f, 5f), 4, 10, 11, 11, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/SmallDisappear"), new Vector2(5f, 5f), 4, 7, 11, 11, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnBigSpore_Looping)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/Big"), new Vector2(6f, 6f), 4, 10, 13, 13, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
             xARC.dixAnimations[1] = new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Spore/BigDisappear"), new Vector2(6f, 6f), 4, 7, 13, 13, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]);
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_AutumnMushroom_Explosion)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Explosion/Big"), new Vector2(22f, 26f), 4, 9, 44, 43, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_EvolveEffect)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Evolve"), new Vector2(55f, 55f), 4, 5, 109, 109, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_HeadAppearWaterFront)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SplashFront"), new Vector2(45f, 40f), 4, 26, 91, 61, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_HeadAppearWaterBack)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SplashBack"), new Vector2(45f, 40f), 4, 11, 91, 61, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_WaterRingBeneath)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/Ring"), new Vector2(20f, 15f), 4, 10, 40, 29, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.BelowSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_PreAppearBubbleBig)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/BigBubble"), new Vector2(12f, 11f), 4, 13, 24, 14, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_PreAppearBubbleSmall)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SmallBubble"), new Vector2(9f, 9f), 4, 13, 18, 12, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]);
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
         else if (enEffect == SortedAnimated.SortedAnimatedEffects._EnemyEffects_Boss_SeasonHydra_BallAppearWaterFront)
         {
             xARC.dixAnimations[0] = new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Water Effects/SplashFront"), new Vector2(45f, 40f), 4, 26, 91, 61, 0, 0, 13, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.GoToFrame, new float[]
                 {
                     21f
                 }))
             });
             enRegisterLayer = RenderMaster.SubRenderLayer.AboveSorted;
         }
     }
     if (xARC.GetCurrentAnimation() != null)
     {
         xARC.SwitchAnimation(xARC.iActiveAnimation, Animation.CancelOptions.RestartIfPlaying);
         xARC.fPassedTicks = (float)iFastForward;
     }
     xARC.xOwnerObject = this;
     if (enRegisterLayer == RenderMaster.SubRenderLayer.Sorted)
     {
         Program.GetTheGame().xRenderMaster.RegisterSortedRenderComponent(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.BelowSorted)
     {
         Program.GetTheGame().xRenderMaster.RegisterBelowSorted(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.AboveSorted)
     {
         Program.GetTheGame().xRenderMaster.RegisterAboveSorted(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.GUI)
     {
         Program.GetTheGame().xRenderMaster.RegisterGUIRenderComponent(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.AboveAll)
     {
         Program.GetTheGame().xRenderMaster.RegisterAboveAllRenderComponent(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.Background)
     {
         Program.GetTheGame().xRenderMaster.RegisterBackground(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.Parallax)
     {
         Program.GetTheGame().xRenderMaster.RegisterParallax(this.xRenderComponent);
         return;
     }
     if (enRegisterLayer == RenderMaster.SubRenderLayer.ShadowLayer)
     {
         Program.GetTheGame().xRenderMaster.RegisterShadowLayer(this.xRenderComponent, iShadowLayerLayer);
     }
 }
Beispiel #22
0
 public SortedAnimated(SortedAnimated.SortedAnimatedEffects enEffect)
 {
     this.enEffectType = enEffect;
     this.xTransform = new TransformComponent(Vector2.Zero);
 }
 public static DynamicEnvironment GetObjectInstance(DynamicEnvironmentCodex.ObjectTypes enType)
 {
     DynamicEnvironment xEn = new DynamicEnvironment();
     ContentManager Content = Program.GetTheGame().xLevelMaster.contRegionContent;
     string ENVIRON_PATH = "Sprites/Environment/";
     string MONSTER_PATH = "Sprites/Monster/";
     if (enType == DynamicEnvironmentCodex.ObjectTypes.Bush)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate = xEn as CrateArchetype;
         crate.sOnDestroySound = "Bush_break";
         xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 10);
         xEn.xBaseStats.fMovementSpeed = 1.5f;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Forest/Bush"), new Vector2(10f, 12f), 4, 1, 19, 18, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Forest/BushWhacked2"), new Vector2(3f, 2f), 4, 1, 6, 5, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.xMovementCollider.bIgnoreHeavyColliders = true;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Consumable_Berries));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_Stick));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Bush_Orange)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate2 = xEn as CrateArchetype;
         crate2.sOnDestroySound = "Bush_break";
         xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 10);
         xEn.xBaseStats.fMovementSpeed = 1.5f;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhackOrange;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Forest/Bush_orange"), new Vector2(10f, 12f), 4, 1, 19, 18, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Forest/BushWhacked2"), new Vector2(3f, 2f), 4, 1, 6, 5, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Consumable_Berries));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_Stick));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Bush_Autumn)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate3 = xEn as CrateArchetype;
         crate3.sOnDestroySound = "Bush_break";
         xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 10);
         xEn.xBaseStats.fMovementSpeed = 1.5f;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhackAutumn;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Evergrind Fields/west_bush"), new Vector2(10f, 12f), 4, 1, 19, 18, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Forest/BushWhacked2"), new Vector2(3f, 2f), 4, 1, 6, 5, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Consumable_Berries));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_Stick));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Bush_Winter)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate4 = xEn as CrateArchetype;
         crate4.sOnDestroySound = "Bush_break";
         xEn.xBaseStats.iBaseMaxHP = (xEn.xBaseStats.iHP = 10);
         xEn.xBaseStats.fMovementSpeed = 1.5f;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhackWinter;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Winterland/bush"), new Vector2(10f, 12f), 4, 1, 19, 18, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Forest/BushWhacked2"), new Vector2(3f, 2f), 4, 1, 6, 5, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Consumable_Berries));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_Stick));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Jar)
     {
         xEn = new CrateArchetype(1);
         xEn = (xEn as CrateArchetype);
         CrateArchetype crate5 = xEn as CrateArchetype;
         crate5.sOnDestroySound = "Jar_break";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.JarBreak;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Jar"), new Vector2(8f, 15f), 4, 1, 17, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(30000, ItemCodex.ItemTypes._Misc_BasicJarShard));
         xEn.lxLootTable.Add(new DropChance(30000, ItemCodex.ItemTypes._Misc_BasicJarShard));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes.Apple));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CyberJar)
     {
         xEn = new CrateArchetype(1);
         xEn = (xEn as CrateArchetype);
         CrateArchetype crate6 = xEn as CrateArchetype;
         crate6.sOnDestroySound = "Jar_break";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.JarFlyingBreak;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Jar_flying"), new Vector2(12f, 21f), 4, 12, 23, 26, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[0].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(30000, ItemCodex.ItemTypes._Misc_CrystalCrumbs));
         xEn.lxLootTable.Add(new DropChance(20000, ItemCodex.ItemTypes._Misc_CyberJarShard));
         xEn.lxLootTable.Add(new DropChance(30000, ItemCodex.ItemTypes._Misc_CyberJarShard));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Jar_Winter)
     {
         xEn = new CrateArchetype(1);
         xEn = (xEn as CrateArchetype);
         CrateArchetype crate7 = xEn as CrateArchetype;
         crate7.sOnDestroySound = "Jar_break";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.JarBreak_Snowland;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Jar_snowland"), new Vector2(8f, 15f), 4, 1, 17, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(30000, ItemCodex.ItemTypes._Misc_BasicJarShard));
         xEn.lxLootTable.Add(new DropChance(30000, ItemCodex.ItemTypes._Misc_BasicJarShard));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes.Apple));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Crate)
     {
         xEn = new CrateArchetype(2);
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         CrateArchetype crate8 = xEn as CrateArchetype;
         crate8.sOnHitSound = "Hit_Punchy";
         crate8.sOnDestroySound = "Destroy_Crate";
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.CrateBreak;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Crate/Crate"), new Vector2(13f, 19f), 4, 1, 26, 26, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_BFA_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_BFA_1 = 1;
         ushort arg_BF5_0 = 1;
         byte arg_BF5_1 = 0;
         Texture2D arg_BF5_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Crate/CrateDamage");
         Vector2 arg_BF5_3 = new Vector2(18f, 24f);
         int arg_BF5_4 = 3;
         int arg_BF5_5 = 2;
         int arg_BF5_6 = 37;
         int arg_BF5_7 = 35;
         int arg_BF5_8 = 0;
         int arg_BF5_9 = 0;
         int arg_BF5_10 = 2;
         Animation.LoopSettings arg_BF5_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_BF5_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_BF5_13 = true;
         bool arg_BF5_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_BF2_0 = array;
         int arg_BF2_1 = 0;
         AnimInsCriteria arg_BED_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_BE8_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_BF2_0[arg_BF2_1] = new AnimationInstruction(arg_BED_0, new AnimInsEvent(arg_BE8_0, array2));
         arg_BFA_0.Add(arg_BFA_1, new Animation(arg_BF5_0, arg_BF5_1, arg_BF5_2, arg_BF5_3, arg_BF5_4, arg_BF5_5, arg_BF5_6, arg_BF5_7, arg_BF5_8, arg_BF5_9, arg_BF5_10, arg_BF5_11, arg_BF5_12, arg_BF5_13, arg_BF5_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes.Apple));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes.Carrot));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Crate_Winter)
     {
         xEn = new CrateArchetype(2);
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         CrateArchetype crate9 = xEn as CrateArchetype;
         crate9.sOnHitSound = "Hit_Punchy";
         crate9.sOnDestroySound = "Destroy_Crate";
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.CrateBreak_Snowland;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Crate/Crate_snowland"), new Vector2(13f, 19f), 4, 1, 26, 26, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_DC6_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_DC6_1 = 1;
         ushort arg_DC1_0 = 1;
         byte arg_DC1_1 = 0;
         Texture2D arg_DC1_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Crate/CrateDamage_snowland");
         Vector2 arg_DC1_3 = new Vector2(18f, 24f);
         int arg_DC1_4 = 3;
         int arg_DC1_5 = 2;
         int arg_DC1_6 = 37;
         int arg_DC1_7 = 35;
         int arg_DC1_8 = 0;
         int arg_DC1_9 = 0;
         int arg_DC1_10 = 2;
         Animation.LoopSettings arg_DC1_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_DC1_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_DC1_13 = true;
         bool arg_DC1_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_DBE_0 = array;
         int arg_DBE_1 = 0;
         AnimInsCriteria arg_DB9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_DB4_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_DBE_0[arg_DBE_1] = new AnimationInstruction(arg_DB9_0, new AnimInsEvent(arg_DB4_0, array2));
         arg_DC6_0.Add(arg_DC6_1, new Animation(arg_DC1_0, arg_DC1_1, arg_DC1_2, arg_DC1_3, arg_DC1_4, arg_DC1_5, arg_DC1_6, arg_DC1_7, arg_DC1_8, arg_DC1_9, arg_DC1_10, arg_DC1_11, arg_DC1_12, arg_DC1_13, arg_DC1_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes.Apple));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes.Carrot));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Barrel)
     {
         xEn = new CrateArchetype(2);
         CrateArchetype crate10 = xEn as CrateArchetype;
         crate10.sOnHitSound = "Hit_Punchy";
         crate10.sOnDestroySound = "Destroy_Crate";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BarrelBreak;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Barrel/Barrel"), new Vector2(11f, 22f), 4, 1, 21, 27, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_F92_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_F92_1 = 1;
         ushort arg_F8D_0 = 1;
         byte arg_F8D_1 = 0;
         Texture2D arg_F8D_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Barrel/BarrelDamage");
         Vector2 arg_F8D_3 = new Vector2(27f, 32f);
         int arg_F8D_4 = 3;
         int arg_F8D_5 = 2;
         int arg_F8D_6 = 52;
         int arg_F8D_7 = 51;
         int arg_F8D_8 = 0;
         int arg_F8D_9 = 0;
         int arg_F8D_10 = 2;
         Animation.LoopSettings arg_F8D_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_F8D_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_F8D_13 = true;
         bool arg_F8D_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_F8A_0 = array;
         int arg_F8A_1 = 0;
         AnimInsCriteria arg_F85_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_F80_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_F8A_0[arg_F8A_1] = new AnimationInstruction(arg_F85_0, new AnimInsEvent(arg_F80_0, array2));
         arg_F92_0.Add(arg_F92_1, new Animation(arg_F8D_0, arg_F8D_1, arg_F8D_2, arg_F8D_3, arg_F8D_4, arg_F8D_5, arg_F8D_6, arg_F8D_7, arg_F8D_8, arg_F8D_9, arg_F8D_10, arg_F8D_11, arg_F8D_12, arg_F8D_13, arg_F8D_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes.Apple));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes.Carrot));
         if (Program.game.xGameSessionData.henActiveFlags.Contains(FlagCodex.FlagID._MainStory_FirstVillage_GrampaMoved))
         {
             xEn.lxLootTable.Add(new DropChance(500, ItemCodex.ItemTypes._Shield_Barrel));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Barrel_Winter)
     {
         xEn = new CrateArchetype(2);
         CrateArchetype crate11 = xEn as CrateArchetype;
         crate11.sOnHitSound = "Hit_Punchy";
         crate11.sOnDestroySound = "Destroy_Crate";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BarrelBreak_Snowland;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Barrel/Barrel_snowland"), new Vector2(11f, 22f), 4, 1, 21, 27, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_1192_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_1192_1 = 1;
         ushort arg_118D_0 = 1;
         byte arg_118D_1 = 0;
         Texture2D arg_118D_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Barrel/BarrelDamage_snowland");
         Vector2 arg_118D_3 = new Vector2(27f, 32f);
         int arg_118D_4 = 3;
         int arg_118D_5 = 2;
         int arg_118D_6 = 52;
         int arg_118D_7 = 51;
         int arg_118D_8 = 0;
         int arg_118D_9 = 0;
         int arg_118D_10 = 2;
         Animation.LoopSettings arg_118D_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_118D_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_118D_13 = true;
         bool arg_118D_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_118A_0 = array;
         int arg_118A_1 = 0;
         AnimInsCriteria arg_1185_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_1180_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_118A_0[arg_118A_1] = new AnimationInstruction(arg_1185_0, new AnimInsEvent(arg_1180_0, array2));
         arg_1192_0.Add(arg_1192_1, new Animation(arg_118D_0, arg_118D_1, arg_118D_2, arg_118D_3, arg_118D_4, arg_118D_5, arg_118D_6, arg_118D_7, arg_118D_8, arg_118D_9, arg_118D_10, arg_118D_11, arg_118D_12, arg_118D_13, arg_118D_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes.Apple));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes.Carrot));
         xEn.lxLootTable.Add(new DropChance(500, ItemCodex.ItemTypes._Shield_Barrel));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.TriggerJar)
     {
         xEn = new TriggerCrateArchetype(3);
         xEn = (xEn as TriggerCrateArchetype);
         TriggerCrateArchetype crate12 = xEn as TriggerCrateArchetype;
         crate12.sOnDestroySound = "Jar_break";
         crate12.sOnHitSound = "Hit_Punchy";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.FlyingTempleCrystalBreak;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Crystal/Idle"), new Vector2(11f, 26f), 4, 12, 22, 35, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_1376_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_1376_1 = 1;
         ushort arg_1371_0 = 1;
         byte arg_1371_1 = 0;
         Texture2D arg_1371_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Bullethell/Crystal/Damage");
         Vector2 arg_1371_3 = new Vector2(11f, 26f);
         int arg_1371_4 = 4;
         int arg_1371_5 = 3;
         int arg_1371_6 = 22;
         int arg_1371_7 = 35;
         int arg_1371_8 = 0;
         int arg_1371_9 = 0;
         int arg_1371_10 = 14;
         Animation.LoopSettings arg_1371_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_1371_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_1371_13 = true;
         bool arg_1371_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_136E_0 = array;
         int arg_136E_1 = 0;
         AnimInsCriteria arg_1369_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_1364_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_136E_0[arg_136E_1] = new AnimationInstruction(arg_1369_0, new AnimInsEvent(arg_1364_0, array2));
         arg_1376_0.Add(arg_1376_1, new Animation(arg_1371_0, arg_1371_1, arg_1371_2, arg_1371_3, arg_1371_4, arg_1371_5, arg_1371_6, arg_1371_7, arg_1371_8, arg_1371_9, arg_1371_10, arg_1371_11, arg_1371_12, arg_1371_13, arg_1371_14, array));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PumpkinA)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate13 = xEn as CrateArchetype;
         crate13.sOnHitSound = "Hit_Punchy";
         crate13.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/PumpkinA"), new Vector2(12f, 13f), 4, 1, 23, 19, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(100, ItemCodex.ItemTypes._Hat_PumpkinMask));
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Misc_PumpkinMeat));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_PumpkinSeeds));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PumpkinB)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate14 = xEn as CrateArchetype;
         crate14.sOnHitSound = "Hit_Punchy";
         crate14.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/PumpkinB"), new Vector2(13f, 12f), 4, 1, 25, 20, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(24, 11, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(100, ItemCodex.ItemTypes._Hat_PumpkinMask));
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Misc_PumpkinMeat));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_PumpkinSeeds));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PumpkinC)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate15 = xEn as CrateArchetype;
         crate15.sOnHitSound = "Hit_Punchy";
         crate15.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/PumpkinC"), new Vector2(11f, 15f), 4, 1, 22, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(24, 11, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(100, ItemCodex.ItemTypes._Hat_PumpkinMask));
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Misc_PumpkinMeat));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_PumpkinSeeds));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PumpkinD)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate16 = xEn as CrateArchetype;
         crate16.sOnHitSound = "Hit_Punchy";
         crate16.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/PumpkinD"), new Vector2(8f, 12f), 4, 1, 16, 17, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 10, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(21, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(100, ItemCodex.ItemTypes._Hat_PumpkinMask));
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Misc_PumpkinMeat));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_PumpkinSeeds));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PumpkinE)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate17 = xEn as CrateArchetype;
         crate17.sOnHitSound = "Hit_Punchy";
         crate17.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/PumpkinE"), new Vector2(11f, 11f), 4, 1, 23, 16, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 9, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(20, 9, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(100, ItemCodex.ItemTypes._Hat_PumpkinMask));
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Misc_PumpkinMeat));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_PumpkinSeeds));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PumpkinBig)
     {
         xEn = new CrateArchetype(1);
         CrateArchetype crate18 = xEn as CrateArchetype;
         crate18.sOnHitSound = "Hit_Punchy";
         crate18.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnivronPumpkinDeath01;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/PumpkinBig"), new Vector2(15f, 19f), 4, 1, 30, 25, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.lxLootTable.Add(new DropChance(100, ItemCodex.ItemTypes._Hat_PumpkinMask));
         xEn.lxLootTable.Add(new DropChance(5000, ItemCodex.ItemTypes._Misc_PumpkinMeat));
         xEn.lxLootTable.Add(new DropChance(10000, ItemCodex.ItemTypes._Misc_PumpkinSeeds));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.ABCBlock01)
     {
         xEn = new CrateArchetype(2);
         CrateArchetype crate19 = xEn as CrateArchetype;
         crate19.sOnHitSound = "Hit_Punchy";
         crate19.sOnDestroySound = "Destroy_Crate";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnvironABCDeath01;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Special/ABC"), new Vector2(14f, 26f), 4, 1, 28, 33, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_1DC4_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_1DC4_1 = 1;
         ushort arg_1DBF_0 = 1;
         byte arg_1DBF_1 = 0;
         Texture2D arg_1DBF_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Special/ABCDamage");
         Vector2 arg_1DBF_3 = new Vector2(15f, 27f);
         int arg_1DBF_4 = 3;
         int arg_1DBF_5 = 2;
         int arg_1DBF_6 = 30;
         int arg_1DBF_7 = 34;
         int arg_1DBF_8 = 0;
         int arg_1DBF_9 = 0;
         int arg_1DBF_10 = 2;
         Animation.LoopSettings arg_1DBF_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_1DBF_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_1DBF_13 = true;
         bool arg_1DBF_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_1DBC_0 = array;
         int arg_1DBC_1 = 0;
         AnimInsCriteria arg_1DB7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_1DB2_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_1DBC_0[arg_1DBC_1] = new AnimationInstruction(arg_1DB7_0, new AnimInsEvent(arg_1DB2_0, array2));
         arg_1DC4_0.Add(arg_1DC4_1, new Animation(arg_1DBF_0, arg_1DBF_1, arg_1DBF_2, arg_1DBF_3, arg_1DBF_4, arg_1DBF_5, arg_1DBF_6, arg_1DBF_7, arg_1DBF_8, arg_1DBF_9, arg_1DBF_10, arg_1DBF_11, arg_1DBF_12, arg_1DBF_13, arg_1DBF_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.ABCBlock02)
     {
         xEn = new CrateArchetype(2);
         CrateArchetype crate20 = xEn as CrateArchetype;
         crate20.sOnHitSound = "Hit_Punchy";
         crate20.sOnDestroySound = "Destroy_Crate";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnvironABCDeath02;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Special/ABC2"), new Vector2(14f, 26f), 4, 1, 28, 33, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_1F64_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_1F64_1 = 1;
         ushort arg_1F5F_0 = 1;
         byte arg_1F5F_1 = 0;
         Texture2D arg_1F5F_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Special/ABC2Damage");
         Vector2 arg_1F5F_3 = new Vector2(15f, 27f);
         int arg_1F5F_4 = 3;
         int arg_1F5F_5 = 2;
         int arg_1F5F_6 = 30;
         int arg_1F5F_7 = 34;
         int arg_1F5F_8 = 0;
         int arg_1F5F_9 = 0;
         int arg_1F5F_10 = 2;
         Animation.LoopSettings arg_1F5F_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_1F5F_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_1F5F_13 = true;
         bool arg_1F5F_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_1F5C_0 = array;
         int arg_1F5C_1 = 0;
         AnimInsCriteria arg_1F57_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_1F52_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_1F5C_0[arg_1F5C_1] = new AnimationInstruction(arg_1F57_0, new AnimInsEvent(arg_1F52_0, array2));
         arg_1F64_0.Add(arg_1F64_1, new Animation(arg_1F5F_0, arg_1F5F_1, arg_1F5F_2, arg_1F5F_3, arg_1F5F_4, arg_1F5F_5, arg_1F5F_6, arg_1F5F_7, arg_1F5F_8, arg_1F5F_9, arg_1F5F_10, arg_1F5F_11, arg_1F5F_12, arg_1F5F_13, arg_1F5F_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.ABCBlock03)
     {
         xEn = new CrateArchetype(2);
         CrateArchetype crate21 = xEn as CrateArchetype;
         crate21.sOnHitSound = "Hit_Punchy";
         crate21.sOnDestroySound = "Destroy_Crate";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnvironABCDeath02;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Special/ABC3"), new Vector2(14f, 26f), 4, 1, 28, 33, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_2104_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_2104_1 = 1;
         ushort arg_20FF_0 = 1;
         byte arg_20FF_1 = 0;
         Texture2D arg_20FF_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Special/ABC3Damage");
         Vector2 arg_20FF_3 = new Vector2(15f, 27f);
         int arg_20FF_4 = 3;
         int arg_20FF_5 = 2;
         int arg_20FF_6 = 30;
         int arg_20FF_7 = 34;
         int arg_20FF_8 = 0;
         int arg_20FF_9 = 0;
         int arg_20FF_10 = 2;
         Animation.LoopSettings arg_20FF_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_20FF_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_20FF_13 = true;
         bool arg_20FF_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_20FC_0 = array;
         int arg_20FC_1 = 0;
         AnimInsCriteria arg_20F7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_20F2_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_20FC_0[arg_20FC_1] = new AnimationInstruction(arg_20F7_0, new AnimInsEvent(arg_20F2_0, array2));
         arg_2104_0.Add(arg_2104_1, new Animation(arg_20FF_0, arg_20FF_1, arg_20FF_2, arg_20FF_3, arg_20FF_4, arg_20FF_5, arg_20FF_6, arg_20FF_7, arg_20FF_8, arg_20FF_9, arg_20FF_10, arg_20FF_11, arg_20FF_12, arg_20FF_13, arg_20FF_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(26, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.HalloweenDamagedGrave)
     {
         xEn = new DynamicEnvironment();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/specialgrave_whole"), new Vector2(16f, 24f), 4, 1, 31, 35, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(28, 10, 0f, new Vector2(0f, 2f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn)
     {
         xEn = new DamagingCrateArchetype(3);
         DamagingCrateArchetype crate22 = xEn as DamagingCrateArchetype;
         crate22.sOnHitSound = "Hit_Punchy";
         crate22.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 13, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Bud"), new Vector2(16f, 29f), 4, 5, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 12, 30, 35, 30, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot = xEn as DamagingCrateArchetype;
         xRoot.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot.xTransform, 0f, xRoot), 5);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn_Delayed)
     {
         xEn = new DamagingCrateArchetype(3);
         DamagingCrateArchetype crate23 = xEn as DamagingCrateArchetype;
         crate23.sOnHitSound = "Hit_Punchy";
         crate23.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 13, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Bud"), new Vector2(16f, 29f), 4, 5, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 12, 30, 35, 30, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.SwitchAnimation(4);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot2 = xEn as DamagingCrateArchetype;
         xRoot2.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot2.xTransform, 0f, xRoot2), DamagingCrateArchetype.ThornDamage);
         xRoot2.SetDelay(60);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn_AutoDelayed)
     {
         xEn = new DamagingCrateArchetype(3);
         DamagingCrateArchetype crate24 = xEn as DamagingCrateArchetype;
         crate24.sOnHitSound = "Hit_Punchy";
         crate24.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 13, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Bud"), new Vector2(16f, 29f), 4, 5, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 12, 30, 35, 30, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.SwitchAnimation(4);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot3 = xEn as DamagingCrateArchetype;
         xRoot3.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot3.xTransform, 0f, xRoot3), DamagingCrateArchetype.ThornDamage);
         xRoot3.SetDelay(40 + Program.game.xEntityMaster.dixDynamicEnvironment.Count * 5);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn_Halloween)
     {
         xEn = new DamagingCrateArchetype(3);
         DamagingCrateArchetype crate25 = xEn as DamagingCrateArchetype;
         crate25.sOnHitSound = "Hit_Punchy";
         crate25.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear_Halloween;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 13, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Bud"), new Vector2(16f, 29f), 4, 5, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 12, 30, 35, 30, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot4 = xEn as DamagingCrateArchetype;
         xRoot4.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot4.xTransform, 0f, xRoot4), DamagingCrateArchetype.ThornDamage);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn_Halloween_Delayed)
     {
         xEn = new DamagingCrateArchetype(3);
         DamagingCrateArchetype crate26 = xEn as DamagingCrateArchetype;
         crate26.sOnHitSound = "Hit_Punchy";
         crate26.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear_Halloween;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 13, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Bud"), new Vector2(16f, 29f), 4, 5, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 12, 30, 35, 30, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.SwitchAnimation(4);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot5 = xEn as DamagingCrateArchetype;
         xRoot5.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot5.xTransform, 0f, xRoot5), DamagingCrateArchetype.ThornDamage);
         xRoot5.SetDelay(60);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn_Halloween_AutoDelayed)
     {
         xEn = new DamagingCrateArchetype(3);
         DamagingCrateArchetype crate27 = xEn as DamagingCrateArchetype;
         crate27.sOnHitSound = "Hit_Punchy";
         crate27.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear_Halloween;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 13, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Damage"), new Vector2(16f, 29f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Bud"), new Vector2(16f, 29f), 4, 5, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 12, 30, 35, 30, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.SwitchAnimation(4);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot6 = xEn as DamagingCrateArchetype;
         xRoot6.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot6.xTransform, 0f, xRoot6), DamagingCrateArchetype.ThornDamage);
         xRoot6.SetDelay(40 + Program.game.xEntityMaster.dixDynamicEnvironment.Count * 5);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn_Spawner)
     {
         xEn = new ReplicatingThorn(3);
         ReplicatingThorn crate28 = xEn as ReplicatingThorn;
         crate28.sOnHitSound = "Hit_Punchy";
         crate28.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear_Summer;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Appear"), new Vector2(17f, 32f), 4, 12, 34, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Appear"), new Vector2(17f, 32f), 4, 1, 34, 33, 374, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Damage"), new Vector2(15f, 32f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Damage"), new Vector2(15f, 32f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Bud"), new Vector2(17f, 32f), 4, 5, 34, 33, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Appear"), new Vector2(17f, 32f), 4, 11, 34, 33, 34, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Wither"), new Vector2(15f, 32f), 4, 9, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/Wither"), new Vector2(15f, 32f), 4, 1, 30, 35, 240, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Summer/WitherDamage"), new Vector2(15f, 32f), 4, 3, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         foreach (Animation x in xEn.xRenderComponent.dixAnimations.Values)
         {
             x.v2PositionOffset += new Vector2(2f, -3f);
         }
         xEn.xRenderComponent.SwitchAnimation(4);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot7 = xEn as DamagingCrateArchetype;
         xRoot7.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot7.xTransform, 0f, xRoot7), DamagingCrateArchetype.ThornDamage);
         xRoot7.SetDelay(60);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DamagingThorn_IceMice)
     {
         xEn = new DamagingCrateArchetype(3);
         DamagingCrateArchetype crate29 = xEn as DamagingCrateArchetype;
         crate29.sOnHitSound = "Hit_Punchy";
         crate29.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.ThornDisappear;
         xEn.bDestroyOnHit = true;
         int iVariant = CAS.RandomInVisual.Next(4);
         if (iVariant == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/A"), new Vector2(12f, 34f), 4, 11, 28, 38, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/A"), new Vector2(12f, 34f), 4, 1, 28, 38, 280, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (iVariant == 1)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/B"), new Vector2(16f, 34f), 4, 11, 28, 38, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/B"), new Vector2(16f, 34f), 4, 1, 28, 38, 280, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (iVariant == 2)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/C"), new Vector2(12f, 32f), 4, 11, 29, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/C"), new Vector2(12f, 32f), 4, 1, 29, 37, 290, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (iVariant == 3)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/D"), new Vector2(16f, 32f), 4, 10, 29, 37, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Elder Faes/Winter/Spikes/D"), new Vector2(16f, 32f), 4, 1, 29, 37, 261, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(18, 6, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(19, 7, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         DamagingCrateArchetype xRoot8 = xEn as DamagingCrateArchetype;
         xRoot8.SetAttackPhase(new BoxCollider(20, 10, 0f, Vector2.Zero, xRoot8.xTransform, 0f, xRoot8), 5);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.BeeHive)
     {
         xEn = new BeeHive(5);
         BeeHive crate30 = xEn as BeeHive;
         crate30.sOnHitSound = "Hit_Punchy";
         crate30.sOnDestroySound = "Pumpkin_Death";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.EnivronBeehiveDeath;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Beehive/Idle"), new Vector2(16f, 27f), 4, 1, 32, 34, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_43D7_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_43D7_1 = 1;
         ushort arg_43D2_0 = 1;
         byte arg_43D2_1 = 0;
         Texture2D arg_43D2_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Beehive/Damage");
         Vector2 arg_43D2_3 = new Vector2(16f, 27f);
         int arg_43D2_4 = 3;
         int arg_43D2_5 = 2;
         int arg_43D2_6 = 32;
         int arg_43D2_7 = 34;
         int arg_43D2_8 = 0;
         int arg_43D2_9 = 0;
         int arg_43D2_10 = 2;
         Animation.LoopSettings arg_43D2_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_43D2_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_43D2_13 = true;
         bool arg_43D2_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_43CF_0 = array;
         int arg_43CF_1 = 0;
         AnimInsCriteria arg_43CA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_43C5_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_43CF_0[arg_43CF_1] = new AnimationInstruction(arg_43CA_0, new AnimInsEvent(arg_43C5_0, array2));
         arg_43D7_0.Add(arg_43D7_1, new Animation(arg_43D2_0, arg_43D2_1, arg_43D2_2, arg_43D2_3, arg_43D2_4, arg_43D2_5, arg_43D2_6, arg_43D2_7, arg_43D2_8, arg_43D2_9, arg_43D2_10, arg_43D2_11, arg_43D2_12, arg_43D2_13, arg_43D2_14, array));
         Dictionary<ushort, Animation> arg_444B_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_444B_1 = 2;
         ushort arg_4446_0 = 2;
         byte arg_4446_1 = 0;
         Texture2D arg_4446_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Beehive/Spawn");
         Vector2 arg_4446_3 = new Vector2(17f, 30f);
         int arg_4446_4 = 3;
         int arg_4446_5 = 2;
         int arg_4446_6 = 34;
         int arg_4446_7 = 37;
         int arg_4446_8 = 0;
         int arg_4446_9 = 0;
         int arg_4446_10 = 2;
         Animation.LoopSettings arg_4446_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_4446_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_4446_13 = true;
         bool arg_4446_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_4443_0 = array;
         int arg_4443_1 = 0;
         AnimInsCriteria arg_443E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_4439_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_4443_0[arg_4443_1] = new AnimationInstruction(arg_443E_0, new AnimInsEvent(arg_4439_0, array2));
         arg_444B_0.Add(arg_444B_1, new Animation(arg_4446_0, arg_4446_1, arg_4446_2, arg_4446_3, arg_4446_4, arg_4446_5, arg_4446_6, arg_4446_7, arg_4446_8, arg_4446_9, arg_4446_10, arg_4446_11, arg_4446_12, arg_4446_13, arg_4446_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(36, 14, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.BombA)
     {
         xEn = new Bomb(1);
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Roll"), new Vector2(15f, 31f), 4, 17, 31, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Roll"), new Vector2(16f, 31f), 4, 17, 31, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 3f
             }))
         }));
         xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Bomb"), new Vector2(15f, 18f), 4, 3, 31, 22, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Bomb"), new Vector2(16f, 18f), 4, 3, 31, 22, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Ticking"), new Vector2(15f, 18f), 4, 3, 31, 22, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Bomb/Ticking"), new Vector2(16f, 18f), 4, 3, 31, 22, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(15, 6, 0f, new Vector2(0f, 0f), xEn.xTransform, 10f + 5f * (float)CAS.RandomInLogic.NextDouble(), xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         Program.game.xCollisionMaster.RegisterMovementCollider(xEn.xCollisionComponent.xMovementCollider);
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(15, 6, 0f, new Vector2(0f, 0f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType >= DynamicEnvironmentCodex.ObjectTypes.BlindingMushroom_VariantBig && enType <= DynamicEnvironmentCodex.ObjectTypes.BlindingMushroom_VariantYellow)
     {
         xEn = new BlindingMushroom();
         xEn.bInstantiateInNetwork = true;
         xEn.bNetworkSynchEnabled = true;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         if (enType == DynamicEnvironmentCodex.ObjectTypes.BlindingMushroom_VariantBig)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Appear/Big"), new Vector2(8f, 14f), 4, 4, 17, 18, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.BlindingMushroom_VariantLong)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Appear/Long"), new Vector2(6f, 17f), 4, 4, 13, 20, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.BlindingMushroom_VariantMid)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Appear/Mid"), new Vector2(7f, 13f), 4, 4, 14, 16, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.BlindingMushroom_VariantRed)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Appear/Red"), new Vector2(5f, 11f), 4, 4, 11, 14, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.BlindingMushroom_VariantYellow)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(MONSTER_PATH + "Bosses/Season Hydra/Fall/Mushroom/Appear/Yellow"), new Vector2(7f, 15f), 4, 4, 15, 19, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.JackInBox)
     {
         xEn = new JackInBox(1);
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Bud"), new Vector2(16f, 29f), 4, 1, 30, 35, 120, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 13, 30, 35, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Halloween/Appear"), new Vector2(16f, 29f), 4, 1, 30, 35, 360, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_4C54_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_4C54_1 = 4;
         ushort arg_4C4F_0 = 4;
         byte arg_4C4F_1 = 0;
         Texture2D arg_4C4F_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Thorn/Appear");
         Vector2 arg_4C4F_3 = new Vector2(16f, 29f);
         int arg_4C4F_4 = 4;
         int arg_4C4F_5 = 12;
         int arg_4C4F_6 = 30;
         int arg_4C4F_7 = 35;
         int arg_4C4F_8 = 30;
         int arg_4C4F_9 = 0;
         int arg_4C4F_10 = 20;
         Animation.LoopSettings arg_4C4F_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_4C4F_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_4C4F_13 = true;
         bool arg_4C4F_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_4C4C_0 = array;
         int arg_4C4C_1 = 0;
         AnimInsCriteria arg_4C47_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_4C42_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_4C4C_0[arg_4C4C_1] = new AnimationInstruction(arg_4C47_0, new AnimInsEvent(arg_4C42_0, array2));
         arg_4C54_0.Add(arg_4C54_1, new Animation(arg_4C4F_0, arg_4C4F_1, arg_4C4F_2, arg_4C4F_3, arg_4C4F_4, arg_4C4F_5, arg_4C4F_6, arg_4C4F_7, arg_4C4F_8, arg_4C4F_9, arg_4C4F_10, arg_4C4F_11, arg_4C4F_12, arg_4C4F_13, arg_4C4F_14, array));
         xEn.xRenderComponent.dixAnimations[4].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(15, 6, 0f, new Vector2(0f, 0f), xEn.xTransform, 10000f + 5f * (float)CAS.RandomInLogic.NextDouble(), xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         Program.game.xCollisionMaster.RegisterStaticCollider(xEn.xCollisionComponent.xMovementCollider);
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(15, 6, 0f, new Vector2(0f, 0f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.RailRoadSwitchLever)
     {
         xEn = new TrainSwitchLever(1);
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 3, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/GreenRed"), new Vector2(11f, 16f), 4, 1, 23, 24, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/GreenRed"), new Vector2(11f, 16f), 4, 5, 23, 24, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/RedGreen"), new Vector2(11f, 16f), 4, 1, 23, 24, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_4ED6_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_4ED6_1 = 3;
         ushort arg_4ED1_0 = 3;
         byte arg_4ED1_1 = 3;
         Texture2D arg_4ED1_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/RedGreen");
         Vector2 arg_4ED1_3 = new Vector2(11f, 16f);
         int arg_4ED1_4 = 4;
         int arg_4ED1_5 = 5;
         int arg_4ED1_6 = 23;
         int arg_4ED1_7 = 24;
         int arg_4ED1_8 = 0;
         int arg_4ED1_9 = 0;
         int arg_4ED1_10 = 20;
         Animation.LoopSettings arg_4ED1_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_4ED1_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_4ED1_13 = true;
         bool arg_4ED1_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_4ECE_0 = array;
         int arg_4ECE_1 = 0;
         AnimInsCriteria arg_4EC9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_4EC4_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_4ECE_0[arg_4ECE_1] = new AnimationInstruction(arg_4EC9_0, new AnimInsEvent(arg_4EC4_0, array2));
         arg_4ED6_0.Add(arg_4ED6_1, new Animation(arg_4ED1_0, arg_4ED1_1, arg_4ED1_2, arg_4ED1_3, arg_4ED1_4, arg_4ED1_5, arg_4ED1_6, arg_4ED1_7, arg_4ED1_8, arg_4ED1_9, arg_4ED1_10, arg_4ED1_11, arg_4ED1_12, arg_4ED1_13, arg_4ED1_14, array));
         Dictionary<ushort, Animation> arg_4F46_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_4F46_1 = 4;
         ushort arg_4F41_0 = 4;
         byte arg_4F41_1 = 3;
         Texture2D arg_4F41_2 = Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/GreenAppear");
         Vector2 arg_4F41_3 = new Vector2(11f, 15f);
         int arg_4F41_4 = 4;
         int arg_4F41_5 = 10;
         int arg_4F41_6 = 23;
         int arg_4F41_7 = 23;
         int arg_4F41_8 = 0;
         int arg_4F41_9 = 0;
         int arg_4F41_10 = 20;
         Animation.LoopSettings arg_4F41_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_4F41_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_4F41_13 = true;
         bool arg_4F41_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_4F3E_0 = array;
         int arg_4F3E_1 = 0;
         AnimInsCriteria arg_4F39_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_4F34_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_4F3E_0[arg_4F3E_1] = new AnimationInstruction(arg_4F39_0, new AnimInsEvent(arg_4F34_0, array2));
         arg_4F46_0.Add(arg_4F46_1, new Animation(arg_4F41_0, arg_4F41_1, arg_4F41_2, arg_4F41_3, arg_4F41_4, arg_4F41_5, arg_4F41_6, arg_4F41_7, arg_4F41_8, arg_4F41_9, arg_4F41_10, arg_4F41_11, arg_4F41_12, arg_4F41_13, arg_4F41_14, array));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/RedAppear"), new Vector2(11f, 15f), 4, 10, 23, 23, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 3, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/GreenDisappear"), new Vector2(11f, 15f), 4, 6, 23, 23, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/RedDisappear"), new Vector2(11f, 15f), 4, 6, 23, 23, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 3, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/GreenAppear"), new Vector2(11f, 15f), 4, 1, 23, 23, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(9, new Animation(9, 1, Content.Load<Texture2D>("Sprites/Monster/Winterland/Toy Machine/Vaexel/GreenAppear"), new Vector2(11f, 15f), 4, 1, 23, 23, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(15, 6, 0f, new Vector2(0f, 0f), xEn.xTransform, 10000f + 5f * (float)CAS.RandomInLogic.NextDouble(), xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         Program.game.xCollisionMaster.RegisterStaticCollider(xEn.xCollisionComponent.xMovementCollider);
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(15, 6, 0f, new Vector2(0f, 0f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.SwitchLever_SeasonChangeGateTrigger)
     {
         xEn = new TriggerCrateArchetype(1);
         xEn = (xEn as TriggerCrateArchetype);
         TriggerCrateArchetype crate31 = xEn as TriggerCrateArchetype;
         crate31.bDestroyOnHit = false;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         Dictionary<ushort, Animation> arg_52A5_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_52A5_1 = 0;
         ushort arg_52A0_0 = 0;
         byte arg_52A0_1 = 0;
         Texture2D arg_52A0_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Lever/Idle");
         Vector2 arg_52A0_3 = new Vector2(13f, 18f);
         int arg_52A0_4 = 4;
         int arg_52A0_5 = 6;
         int arg_52A0_6 = 27;
         int arg_52A0_7 = 29;
         int arg_52A0_8 = 0;
         int arg_52A0_9 = 0;
         int arg_52A0_10 = 14;
         Animation.LoopSettings arg_52A0_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_52A0_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_52A0_13 = true;
         bool arg_52A0_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
         {
             120f
         }));
         AnimationInstruction[] arg_529D_0 = array;
         int arg_529D_1 = 1;
         AnimInsCriteria arg_5298_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_5293_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_529D_0[arg_529D_1] = new AnimationInstruction(arg_5298_0, new AnimInsEvent(arg_5293_0, array2));
         arg_52A5_0.Add(arg_52A5_1, new Animation(arg_52A0_0, arg_52A0_1, arg_52A0_2, arg_52A0_3, arg_52A0_4, arg_52A0_5, arg_52A0_6, arg_52A0_7, arg_52A0_8, arg_52A0_9, arg_52A0_10, arg_52A0_11, arg_52A0_12, arg_52A0_13, arg_52A0_14, array));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Lever/Hit"), new Vector2(13f, 18f), 4, 4, 27, 29, 0, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Lever/Hit"), new Vector2(13f, 18f), 4, 1, 27, 29, 81, 0, 14, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_53D3_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_53D3_1 = 3;
         ushort arg_53CE_0 = 3;
         byte arg_53CE_1 = 0;
         Texture2D arg_53CE_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Lever/Idle");
         Vector2 arg_53CE_3 = new Vector2(13f, 18f);
         int arg_53CE_4 = 4;
         int arg_53CE_5 = 3;
         int arg_53CE_6 = 27;
         int arg_53CE_7 = 29;
         int arg_53CE_8 = 0;
         int arg_53CE_9 = 0;
         int arg_53CE_10 = 14;
         Animation.LoopSettings arg_53CE_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_53CE_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_53CE_13 = true;
         bool arg_53CE_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_53CB_0 = array;
         int arg_53CB_1 = 0;
         AnimInsCriteria arg_53C6_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_53C1_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_53CB_0[arg_53CB_1] = new AnimationInstruction(arg_53C6_0, new AnimInsEvent(arg_53C1_0, array2));
         arg_53D3_0.Add(arg_53D3_1, new Animation(arg_53CE_0, arg_53CE_1, arg_53CE_2, arg_53CE_3, arg_53CE_4, arg_53CE_5, arg_53CE_6, arg_53CE_7, arg_53CE_8, arg_53CE_9, arg_53CE_10, arg_53CE_11, arg_53CE_12, arg_53CE_13, arg_53CE_14, array));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.SteamCannon)
     {
         xEn = new SteamCannon();
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Steam/Start"), new Vector2(13f, 14f), 4, 1, 26, 44, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Steam/Start"), new Vector2(13f, 14f), 4, 5, 26, 44, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Steam/Start"), new Vector2(13f, 14f), 4, 3, 26, 44, 130, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 3f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/Steam/End"), new Vector2(13f, 14f), 4, 4, 26, 44, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(15, 6, 0f, new Vector2(0f, 0f), xEn.xTransform, 10f + 5f * (float)CAS.RandomInLogic.NextDouble(), xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.RocketLauncher)
     {
         xEn = new RocketLauncher();
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/MissileTurret/Start"), new Vector2(13f, 34f), 4, 1, 27, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/MissileTurret/Start"), new Vector2(13f, 34f), 4, 13, 27, 40, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Traps/MissileTurret/Start"), new Vector2(13f, 34f), 4, 1, 27, 40, 324, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_585F_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_585F_1 = 3;
         ushort arg_585A_0 = 3;
         byte arg_585A_1 = 0;
         Texture2D arg_585A_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/MissileTurret/Fire");
         Vector2 arg_585A_3 = new Vector2(13f, 34f);
         int arg_585A_4 = 6;
         int arg_585A_5 = 6;
         int arg_585A_6 = 27;
         int arg_585A_7 = 40;
         int arg_585A_8 = 0;
         int arg_585A_9 = 0;
         int arg_585A_10 = 20;
         Animation.LoopSettings arg_585A_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_585A_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_585A_13 = true;
         bool arg_585A_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_5829_0 = array;
         int arg_5829_1 = 0;
         AnimInsCriteria arg_5824_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_581F_0 = AnimInsEvent.EventType.CallBackAnimation;
         float[] array2 = new float[1];
         arg_5829_0[arg_5829_1] = new AnimationInstruction(arg_5824_0, new AnimInsEvent(arg_581F_0, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_585F_0.Add(arg_585F_1, new Animation(arg_585A_0, arg_585A_1, arg_585A_2, arg_585A_3, arg_585A_4, arg_585A_5, arg_585A_6, arg_585A_7, arg_585A_8, arg_585A_9, arg_585A_10, arg_585A_11, arg_585A_12, arg_585A_13, arg_585A_14, array));
         Dictionary<ushort, Animation> arg_58D5_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_58D5_1 = 4;
         ushort arg_58D0_0 = 4;
         byte arg_58D0_1 = 0;
         Texture2D arg_58D0_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Traps/MissileTurret/End");
         Vector2 arg_58D0_3 = new Vector2(13f, 34f);
         int arg_58D0_4 = 4;
         int arg_58D0_5 = 11;
         int arg_58D0_6 = 27;
         int arg_58D0_7 = 40;
         int arg_58D0_8 = 0;
         int arg_58D0_9 = 0;
         int arg_58D0_10 = 20;
         Animation.LoopSettings arg_58D0_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_58D0_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_58D0_13 = true;
         bool arg_58D0_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_58CD_0 = array;
         int arg_58CD_1 = 0;
         AnimInsCriteria arg_58C8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_58C3_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_58CD_0[arg_58CD_1] = new AnimationInstruction(arg_58C8_0, new AnimInsEvent(arg_58C3_0, array2));
         arg_58D5_0.Add(arg_58D5_1, new Animation(arg_58D0_0, arg_58D0_1, arg_58D0_2, arg_58D0_3, arg_58D0_4, arg_58D0_5, arg_58D0_6, arg_58D0_7, arg_58D0_8, arg_58D0_9, arg_58D0_10, arg_58D0_11, arg_58D0_12, arg_58D0_13, arg_58D0_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(28, 12, 0f, new Vector2(0f, 0f), xEn.xTransform, 10f + 5f * (float)CAS.RandomInLogic.NextDouble(), xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType >= DynamicEnvironmentCodex.ObjectTypes.Dummy01 && enType <= DynamicEnvironmentCodex.ObjectTypes.Dummy03)
     {
         xEn = new HitStuff();
         HitStuff crate32 = xEn as HitStuff;
         crate32.sSoundOnHit = "Hit_Stiff";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         crate32.bShowDamageNumbers = true;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.JarBreak;
         xEn.bDestroyOnHit = true;
         string sNum = "01";
         if (enType == DynamicEnvironmentCodex.ObjectTypes.Dummy02)
         {
             sNum = "02";
         }
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Evergrind City/Dummies/Dummy" + sNum), new Vector2(21f, 36f), 4, 1, 43, 40, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_5A6C_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_5A6C_1 = 1;
         ushort arg_5A67_0 = 1;
         byte arg_5A67_1 = 0;
         Texture2D arg_5A67_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Evergrind City/Dummies/Dummy" + sNum);
         Vector2 arg_5A67_3 = new Vector2(21f, 36f);
         int arg_5A67_4 = 4;
         int arg_5A67_5 = 7;
         int arg_5A67_6 = 43;
         int arg_5A67_7 = 40;
         int arg_5A67_8 = 0;
         int arg_5A67_9 = 0;
         int arg_5A67_10 = 7;
         Animation.LoopSettings arg_5A67_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_5A67_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_5A67_13 = true;
         bool arg_5A67_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_5A64_0 = array;
         int arg_5A64_1 = 0;
         AnimInsCriteria arg_5A5F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_5A5A_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_5A64_0[arg_5A64_1] = new AnimationInstruction(arg_5A5F_0, new AnimInsEvent(arg_5A5A_0, array2));
         arg_5A6C_0.Add(arg_5A6C_1, new Animation(arg_5A67_0, arg_5A67_1, arg_5A67_2, arg_5A67_3, arg_5A67_4, arg_5A67_5, arg_5A67_6, arg_5A67_7, arg_5A67_8, arg_5A67_9, arg_5A67_10, arg_5A67_11, arg_5A67_12, arg_5A67_13, arg_5A67_14, array));
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(5f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.SchoolBell)
     {
         xEn = new HitStuff();
         HitStuff crate33 = xEn as HitStuff;
         crate33.sSoundOnHit = "Hit_Stiff";
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         crate33.bShowDamageNumbers = true;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.JarBreak;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Evergrind City/schoolbell"), new Vector2(3f, 32f), 4, 1, 34, 39, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_5BED_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_5BED_1 = 1;
         ushort arg_5BE8_0 = 1;
         byte arg_5BE8_1 = 0;
         Texture2D arg_5BE8_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Evergrind City/schoolbell");
         Vector2 arg_5BE8_3 = new Vector2(3f, 32f);
         int arg_5BE8_4 = 4;
         int arg_5BE8_5 = 12;
         int arg_5BE8_6 = 34;
         int arg_5BE8_7 = 39;
         int arg_5BE8_8 = 0;
         int arg_5BE8_9 = 0;
         int arg_5BE8_10 = 12;
         Animation.LoopSettings arg_5BE8_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_5BE8_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_5BE8_13 = true;
         bool arg_5BE8_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_5BE5_0 = array;
         int arg_5BE5_1 = 0;
         AnimInsCriteria arg_5BE0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_5BDB_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_5BE5_0[arg_5BE5_1] = new AnimationInstruction(arg_5BE0_0, new AnimInsEvent(arg_5BDB_0, array2));
         arg_5BED_0.Add(arg_5BED_1, new Animation(arg_5BE8_0, arg_5BE8_1, arg_5BE8_2, arg_5BE8_3, arg_5BE8_4, arg_5BE8_5, arg_5BE8_6, arg_5BE8_7, arg_5BE8_8, arg_5BE8_9, arg_5BE8_10, arg_5BE8_11, arg_5BE8_12, arg_5BE8_13, arg_5BE8_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(30, 6, 0f, new Vector2(14f, 3f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(6f, new Vector2(14f, 3f), xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_SeasonChange_ArbitraryBlockingCollider)
     {
         xEn = new Gate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, RenderMaster.txNullTex, new Vector2(11f, 35f), 4, 1, 22, 39, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_5D8D_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_5D8D_1 = 1;
         ushort arg_5D88_0 = 1;
         byte arg_5D88_1 = 2;
         Texture2D arg_5D88_2 = RenderMaster.txNullTex;
         Vector2 arg_5D88_3 = new Vector2(11f, 35f);
         int arg_5D88_4 = 4;
         int arg_5D88_5 = 1;
         int arg_5D88_6 = 22;
         int arg_5D88_7 = 39;
         int arg_5D88_8 = 0;
         int arg_5D88_9 = 0;
         int arg_5D88_10 = 6;
         Animation.LoopSettings arg_5D88_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_5D88_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_5D88_13 = true;
         bool arg_5D88_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_5D57_0 = array;
         int arg_5D57_1 = 0;
         AnimInsCriteria arg_5D52_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_5D4D_0 = AnimInsEvent.EventType.CallBackAnimation;
         float[] array2 = new float[1];
         arg_5D57_0[arg_5D57_1] = new AnimationInstruction(arg_5D52_0, new AnimInsEvent(arg_5D4D_0, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_5D8D_0.Add(arg_5D8D_1, new Animation(arg_5D88_0, arg_5D88_1, arg_5D88_2, arg_5D88_3, arg_5D88_4, arg_5D88_5, arg_5D88_6, arg_5D88_7, arg_5D88_8, arg_5D88_9, arg_5D88_10, arg_5D88_11, arg_5D88_12, arg_5D88_13, arg_5D88_14, array));
         Dictionary<ushort, Animation> arg_5DF7_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_5DF7_1 = 2;
         ushort arg_5DF2_0 = 2;
         byte arg_5DF2_1 = 2;
         Texture2D arg_5DF2_2 = RenderMaster.txNullTex;
         Vector2 arg_5DF2_3 = new Vector2(11f, 35f);
         int arg_5DF2_4 = 4;
         int arg_5DF2_5 = 1;
         int arg_5DF2_6 = 22;
         int arg_5DF2_7 = 39;
         int arg_5DF2_8 = 110;
         int arg_5DF2_9 = 0;
         int arg_5DF2_10 = 1;
         Animation.LoopSettings arg_5DF2_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_5DF2_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_5DF2_13 = true;
         bool arg_5DF2_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_5DEF_0 = array;
         int arg_5DEF_1 = 0;
         AnimInsCriteria arg_5DEA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_5DE5_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_5DEF_0[arg_5DEF_1] = new AnimationInstruction(arg_5DEA_0, new AnimInsEvent(arg_5DE5_0, array2));
         arg_5DF7_0.Add(arg_5DF7_1, new Animation(arg_5DF2_0, arg_5DF2_1, arg_5DF2_2, arg_5DF2_3, arg_5DF2_4, arg_5DF2_5, arg_5DF2_6, arg_5DF2_7, arg_5DF2_8, arg_5DF2_9, arg_5DF2_10, arg_5DF2_11, arg_5DF2_12, arg_5DF2_13, arg_5DF2_14, array));
         Dictionary<ushort, Animation> arg_5E5F_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_5E5F_1 = 3;
         ushort arg_5E5A_0 = 3;
         byte arg_5E5A_1 = 2;
         Texture2D arg_5E5A_2 = RenderMaster.txNullTex;
         Vector2 arg_5E5A_3 = new Vector2(11f, 35f);
         int arg_5E5A_4 = 4;
         int arg_5E5A_5 = 1;
         int arg_5E5A_6 = 22;
         int arg_5E5A_7 = 39;
         int arg_5E5A_8 = 0;
         int arg_5E5A_9 = 0;
         int arg_5E5A_10 = 6;
         Animation.LoopSettings arg_5E5A_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_5E5A_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_5E5A_13 = true;
         bool arg_5E5A_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_5E57_0 = array;
         int arg_5E57_1 = 0;
         AnimInsCriteria arg_5E52_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_5E4D_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_5E57_0[arg_5E57_1] = new AnimationInstruction(arg_5E52_0, new AnimInsEvent(arg_5E4D_0, array2));
         arg_5E5F_0.Add(arg_5E5F_1, new Animation(arg_5E5A_0, arg_5E5A_1, arg_5E5A_2, arg_5E5A_3, arg_5E5A_4, arg_5E5A_5, arg_5E5A_6, arg_5E5A_7, arg_5E5A_8, arg_5E5A_9, arg_5E5A_10, arg_5E5A_11, arg_5E5A_12, arg_5E5A_13, arg_5E5A_14, array));
         xEn.xRenderComponent.dixAnimations[3].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(30, 10, 0f, new Vector2(0f, -2f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_Galler_BlockUp)
     {
         xEn = new Gate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/BarsDown"), new Vector2(11f, 35f), 4, 1, 22, 39, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_5FFE_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_5FFE_1 = 1;
         ushort arg_5FF9_0 = 1;
         byte arg_5FF9_1 = 2;
         Texture2D arg_5FF9_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/BarsDown");
         Vector2 arg_5FF9_3 = new Vector2(11f, 35f);
         int arg_5FF9_4 = 4;
         int arg_5FF9_5 = 6;
         int arg_5FF9_6 = 22;
         int arg_5FF9_7 = 39;
         int arg_5FF9_8 = 0;
         int arg_5FF9_9 = 0;
         int arg_5FF9_10 = 6;
         Animation.LoopSettings arg_5FF9_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_5FF9_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_5FF9_13 = true;
         bool arg_5FF9_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_5FC8_0 = array;
         int arg_5FC8_1 = 0;
         AnimInsCriteria arg_5FC3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_5FBE_0 = AnimInsEvent.EventType.CallBackAnimation;
         float[] array2 = new float[1];
         arg_5FC8_0[arg_5FC8_1] = new AnimationInstruction(arg_5FC3_0, new AnimInsEvent(arg_5FBE_0, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_5FFE_0.Add(arg_5FFE_1, new Animation(arg_5FF9_0, arg_5FF9_1, arg_5FF9_2, arg_5FF9_3, arg_5FF9_4, arg_5FF9_5, arg_5FF9_6, arg_5FF9_7, arg_5FF9_8, arg_5FF9_9, arg_5FF9_10, arg_5FF9_11, arg_5FF9_12, arg_5FF9_13, arg_5FF9_14, array));
         Dictionary<ushort, Animation> arg_6074_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6074_1 = 2;
         ushort arg_606F_0 = 2;
         byte arg_606F_1 = 2;
         Texture2D arg_606F_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/BarsDown");
         Vector2 arg_606F_3 = new Vector2(11f, 35f);
         int arg_606F_4 = 4;
         int arg_606F_5 = 1;
         int arg_606F_6 = 22;
         int arg_606F_7 = 39;
         int arg_606F_8 = 110;
         int arg_606F_9 = 0;
         int arg_606F_10 = 1;
         Animation.LoopSettings arg_606F_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_606F_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_606F_13 = true;
         bool arg_606F_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_606C_0 = array;
         int arg_606C_1 = 0;
         AnimInsCriteria arg_6067_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_6062_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_606C_0[arg_606C_1] = new AnimationInstruction(arg_6067_0, new AnimInsEvent(arg_6062_0, array2));
         arg_6074_0.Add(arg_6074_1, new Animation(arg_606F_0, arg_606F_1, arg_606F_2, arg_606F_3, arg_606F_4, arg_606F_5, arg_606F_6, arg_606F_7, arg_606F_8, arg_606F_9, arg_606F_10, arg_606F_11, arg_606F_12, arg_606F_13, arg_606F_14, array));
         Dictionary<ushort, Animation> arg_60E8_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_60E8_1 = 3;
         ushort arg_60E3_0 = 3;
         byte arg_60E3_1 = 2;
         Texture2D arg_60E3_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Halloween Forest/BarsDown");
         Vector2 arg_60E3_3 = new Vector2(11f, 35f);
         int arg_60E3_4 = 4;
         int arg_60E3_5 = 6;
         int arg_60E3_6 = 22;
         int arg_60E3_7 = 39;
         int arg_60E3_8 = 0;
         int arg_60E3_9 = 0;
         int arg_60E3_10 = 6;
         Animation.LoopSettings arg_60E3_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_60E3_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_60E3_13 = true;
         bool arg_60E3_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_60E0_0 = array;
         int arg_60E0_1 = 0;
         AnimInsCriteria arg_60DB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_60D6_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_60E0_0[arg_60E0_1] = new AnimationInstruction(arg_60DB_0, new AnimInsEvent(arg_60D6_0, array2));
         arg_60E8_0.Add(arg_60E8_1, new Animation(arg_60E3_0, arg_60E3_1, arg_60E3_2, arg_60E3_3, arg_60E3_4, arg_60E3_5, arg_60E3_6, arg_60E3_7, arg_60E3_8, arg_60E3_9, arg_60E3_10, arg_60E3_11, arg_60E3_12, arg_60E3_13, arg_60E3_14, array));
         xEn.xRenderComponent.dixAnimations[3].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(30, 10, 0f, new Vector2(0f, -2f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_Special_FlyingTemple)
     {
         xEn = new KeyLockedGate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.fVirtualHeight = -100f;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_closed"), new Vector2(2f, 52f), 4, 1, 61, 52, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_6298_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6298_1 = 1;
         ushort arg_6293_0 = 1;
         byte arg_6293_1 = 2;
         Texture2D arg_6293_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_closed");
         Vector2 arg_6293_3 = new Vector2(2f, 52f);
         int arg_6293_4 = 4;
         int arg_6293_5 = 8;
         int arg_6293_6 = 61;
         int arg_6293_7 = 52;
         int arg_6293_8 = 0;
         int arg_6293_9 = 0;
         int arg_6293_10 = 10;
         Animation.LoopSettings arg_6293_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6293_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6293_13 = true;
         bool arg_6293_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_6262_0 = array;
         int arg_6262_1 = 0;
         AnimInsCriteria arg_625D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             6f
         });
         AnimInsEvent.EventType arg_6258_0 = AnimInsEvent.EventType.CallBackAnimation;
         float[] array2 = new float[1];
         arg_6262_0[arg_6262_1] = new AnimationInstruction(arg_625D_0, new AnimInsEvent(arg_6258_0, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_6298_0.Add(arg_6298_1, new Animation(arg_6293_0, arg_6293_1, arg_6293_2, arg_6293_3, arg_6293_4, arg_6293_5, arg_6293_6, arg_6293_7, arg_6293_8, arg_6293_9, arg_6293_10, arg_6293_11, arg_6293_12, arg_6293_13, arg_6293_14, array));
         Dictionary<ushort, Animation> arg_630D_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_630D_1 = 2;
         ushort arg_6308_0 = 2;
         byte arg_6308_1 = 2;
         Texture2D arg_6308_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_open");
         Vector2 arg_6308_3 = new Vector2(2f, 52f);
         int arg_6308_4 = 4;
         int arg_6308_5 = 1;
         int arg_6308_6 = 61;
         int arg_6308_7 = 52;
         int arg_6308_8 = 0;
         int arg_6308_9 = 0;
         int arg_6308_10 = 1;
         Animation.LoopSettings arg_6308_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6308_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6308_13 = true;
         bool arg_6308_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_6305_0 = array;
         int arg_6305_1 = 0;
         AnimInsCriteria arg_6300_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_62FB_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_6305_0[arg_6305_1] = new AnimationInstruction(arg_6300_0, new AnimInsEvent(arg_62FB_0, array2));
         arg_630D_0.Add(arg_630D_1, new Animation(arg_6308_0, arg_6308_1, arg_6308_2, arg_6308_3, arg_6308_4, arg_6308_5, arg_6308_6, arg_6308_7, arg_6308_8, arg_6308_9, arg_6308_10, arg_6308_11, arg_6308_12, arg_6308_13, arg_6308_14, array));
         Dictionary<ushort, Animation> arg_6382_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6382_1 = 3;
         ushort arg_637D_0 = 3;
         byte arg_637D_1 = 2;
         Texture2D arg_637D_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_open");
         Vector2 arg_637D_3 = new Vector2(2f, 52f);
         int arg_637D_4 = 4;
         int arg_637D_5 = 8;
         int arg_637D_6 = 61;
         int arg_637D_7 = 52;
         int arg_637D_8 = 0;
         int arg_637D_9 = 0;
         int arg_637D_10 = 10;
         Animation.LoopSettings arg_637D_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_637D_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_637D_13 = true;
         bool arg_637D_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_637A_0 = array;
         int arg_637A_1 = 0;
         AnimInsCriteria arg_6375_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_6370_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_637A_0[arg_637A_1] = new AnimationInstruction(arg_6375_0, new AnimInsEvent(arg_6370_0, array2));
         arg_6382_0.Add(arg_6382_1, new Animation(arg_637D_0, arg_637D_1, arg_637D_2, arg_637D_3, arg_637D_4, arg_637D_5, arg_637D_6, arg_637D_7, arg_637D_8, arg_637D_9, arg_637D_10, arg_637D_11, arg_637D_12, arg_637D_13, arg_637D_14, array));
         xEn.xRenderComponent.dixAnimations[3].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(40, 16, 0f, new Vector2(30f, -8f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_KeyLocked_FlyingTemple)
     {
         xEn = new KeyLockedGate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.fVirtualHeight = -100f;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_locked"), new Vector2(2f, 52f), 4, 1, 61, 52, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_656A_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_656A_1 = 1;
         ushort arg_6565_0 = 1;
         byte arg_6565_1 = 2;
         Texture2D arg_6565_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_locked");
         Vector2 arg_6565_3 = new Vector2(2f, 52f);
         int arg_6565_4 = 4;
         int arg_6565_5 = 8;
         int arg_6565_6 = 61;
         int arg_6565_7 = 52;
         int arg_6565_8 = 0;
         int arg_6565_9 = 0;
         int arg_6565_10 = 10;
         Animation.LoopSettings arg_6565_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6565_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6565_13 = true;
         bool arg_6565_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[3];
         AnimationInstruction[] arg_6501_0 = array;
         int arg_6501_1 = 0;
         AnimInsCriteria arg_64FC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_64F7_0 = AnimInsEvent.EventType.PlaySound;
         string arg_64F7_1 = "door_open";
         float[] array2 = new float[1];
         arg_6501_0[arg_6501_1] = new AnimationInstruction(arg_64FC_0, new AnimInsEvent(arg_64F7_0, arg_64F7_1, array2));
         AnimationInstruction[] arg_6534_0 = array;
         int arg_6534_1 = 1;
         AnimInsCriteria arg_652F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             6f
         });
         AnimInsEvent.EventType arg_652A_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_6534_0[arg_6534_1] = new AnimationInstruction(arg_652F_0, new AnimInsEvent(arg_652A_0, array2));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_656A_0.Add(arg_656A_1, new Animation(arg_6565_0, arg_6565_1, arg_6565_2, arg_6565_3, arg_6565_4, arg_6565_5, arg_6565_6, arg_6565_7, arg_6565_8, arg_6565_9, arg_6565_10, arg_6565_11, arg_6565_12, arg_6565_13, arg_6565_14, array));
         Dictionary<ushort, Animation> arg_65DF_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_65DF_1 = 2;
         ushort arg_65DA_0 = 2;
         byte arg_65DA_1 = 2;
         Texture2D arg_65DA_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_open");
         Vector2 arg_65DA_3 = new Vector2(2f, 52f);
         int arg_65DA_4 = 4;
         int arg_65DA_5 = 1;
         int arg_65DA_6 = 61;
         int arg_65DA_7 = 52;
         int arg_65DA_8 = 0;
         int arg_65DA_9 = 0;
         int arg_65DA_10 = 1;
         Animation.LoopSettings arg_65DA_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_65DA_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_65DA_13 = true;
         bool arg_65DA_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_65D7_0 = array;
         int arg_65D7_1 = 0;
         AnimInsCriteria arg_65D2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_65CD_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_65D7_0[arg_65D7_1] = new AnimationInstruction(arg_65D2_0, new AnimInsEvent(arg_65CD_0, array2));
         arg_65DF_0.Add(arg_65DF_1, new Animation(arg_65DA_0, arg_65DA_1, arg_65DA_2, arg_65DA_3, arg_65DA_4, arg_65DA_5, arg_65DA_6, arg_65DA_7, arg_65DA_8, arg_65DA_9, arg_65DA_10, arg_65DA_11, arg_65DA_12, arg_65DA_13, arg_65DA_14, array));
         Dictionary<ushort, Animation> arg_6654_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6654_1 = 3;
         ushort arg_664F_0 = 3;
         byte arg_664F_1 = 2;
         Texture2D arg_664F_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_open");
         Vector2 arg_664F_3 = new Vector2(2f, 52f);
         int arg_664F_4 = 4;
         int arg_664F_5 = 8;
         int arg_664F_6 = 61;
         int arg_664F_7 = 52;
         int arg_664F_8 = 0;
         int arg_664F_9 = 0;
         int arg_664F_10 = 10;
         Animation.LoopSettings arg_664F_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_664F_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_664F_13 = true;
         bool arg_664F_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_664C_0 = array;
         int arg_664C_1 = 0;
         AnimInsCriteria arg_6647_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_6642_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_664C_0[arg_664C_1] = new AnimationInstruction(arg_6647_0, new AnimInsEvent(arg_6642_0, array2));
         arg_6654_0.Add(arg_6654_1, new Animation(arg_664F_0, arg_664F_1, arg_664F_2, arg_664F_3, arg_664F_4, arg_664F_5, arg_664F_6, arg_664F_7, arg_664F_8, arg_664F_9, arg_664F_10, arg_664F_11, arg_664F_12, arg_664F_13, arg_664F_14, array));
         xEn.xRenderComponent.dixAnimations[3].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(40, 16, 0f, new Vector2(30f, -8f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_MiniBoss_FlyingTemple)
     {
         xEn = new Gate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.fVirtualHeight = -100f;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_miniboss"), new Vector2(2f, 52f), 4, 1, 61, 52, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_6805_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6805_1 = 1;
         ushort arg_6800_0 = 1;
         byte arg_6800_1 = 2;
         Texture2D arg_6800_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_miniboss");
         Vector2 arg_6800_3 = new Vector2(2f, 52f);
         int arg_6800_4 = 4;
         int arg_6800_5 = 17;
         int arg_6800_6 = 61;
         int arg_6800_7 = 52;
         int arg_6800_8 = 0;
         int arg_6800_9 = 0;
         int arg_6800_10 = 17;
         Animation.LoopSettings arg_6800_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6800_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6800_13 = true;
         bool arg_6800_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_67CF_0 = array;
         int arg_67CF_1 = 0;
         AnimInsCriteria arg_67CA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             15f
         });
         AnimInsEvent.EventType arg_67C5_0 = AnimInsEvent.EventType.CallBackAnimation;
         float[] array2 = new float[1];
         arg_67CF_0[arg_67CF_1] = new AnimationInstruction(arg_67CA_0, new AnimInsEvent(arg_67C5_0, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_6805_0.Add(arg_6805_1, new Animation(arg_6800_0, arg_6800_1, arg_6800_2, arg_6800_3, arg_6800_4, arg_6800_5, arg_6800_6, arg_6800_7, arg_6800_8, arg_6800_9, arg_6800_10, arg_6800_11, arg_6800_12, arg_6800_13, arg_6800_14, array));
         Dictionary<ushort, Animation> arg_687E_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_687E_1 = 2;
         ushort arg_6879_0 = 2;
         byte arg_6879_1 = 2;
         Texture2D arg_6879_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_miniboss");
         Vector2 arg_6879_3 = new Vector2(2f, 52f);
         int arg_6879_4 = 4;
         int arg_6879_5 = 1;
         int arg_6879_6 = 61;
         int arg_6879_7 = 52;
         int arg_6879_8 = 976;
         int arg_6879_9 = 0;
         int arg_6879_10 = 1;
         Animation.LoopSettings arg_6879_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6879_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6879_13 = true;
         bool arg_6879_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_6876_0 = array;
         int arg_6876_1 = 0;
         AnimInsCriteria arg_6871_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_686C_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_6876_0[arg_6876_1] = new AnimationInstruction(arg_6871_0, new AnimInsEvent(arg_686C_0, array2));
         arg_687E_0.Add(arg_687E_1, new Animation(arg_6879_0, arg_6879_1, arg_6879_2, arg_6879_3, arg_6879_4, arg_6879_5, arg_6879_6, arg_6879_7, arg_6879_8, arg_6879_9, arg_6879_10, arg_6879_11, arg_6879_12, arg_6879_13, arg_6879_14, array));
         Dictionary<ushort, Animation> arg_68F4_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_68F4_1 = 3;
         ushort arg_68EF_0 = 3;
         byte arg_68EF_1 = 2;
         Texture2D arg_68EF_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ancient Temple/door_miniboss");
         Vector2 arg_68EF_3 = new Vector2(2f, 52f);
         int arg_68EF_4 = 4;
         int arg_68EF_5 = 17;
         int arg_68EF_6 = 61;
         int arg_68EF_7 = 52;
         int arg_68EF_8 = 0;
         int arg_68EF_9 = 0;
         int arg_68EF_10 = 17;
         Animation.LoopSettings arg_68EF_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_68EF_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_68EF_13 = true;
         bool arg_68EF_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_68EC_0 = array;
         int arg_68EC_1 = 0;
         AnimInsCriteria arg_68E7_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_68E2_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_68EC_0[arg_68EC_1] = new AnimationInstruction(arg_68E7_0, new AnimInsEvent(arg_68E2_0, array2));
         arg_68F4_0.Add(arg_68F4_1, new Animation(arg_68EF_0, arg_68EF_1, arg_68EF_2, arg_68EF_3, arg_68EF_4, arg_68EF_5, arg_68EF_6, arg_68EF_7, arg_68EF_8, arg_68EF_9, arg_68EF_10, arg_68EF_11, arg_68EF_12, arg_68EF_13, arg_68EF_14, array));
         xEn.xRenderComponent.dixAnimations[3].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(40, 16, 0f, new Vector2(30f, -8f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_Bridge_FlyingTemple)
     {
         xEn = new Gate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.fVirtualHeight = -100f;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, RenderMaster.txNullTex, new Vector2(2f, 52f), 4, 1, 76, 72, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 2, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Bridge/Open"), Vector2.Zero, 4, 9, 76, 72, 0, 0, 17, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Bridge/Open"), Vector2.Zero, 4, 1, 76, 72, 608, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_6BA3_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6BA3_1 = 3;
         ushort arg_6B9E_0 = 3;
         byte arg_6B9E_1 = 2;
         Texture2D arg_6B9E_2 = Content.Load<Texture2D>("Bkg/Zone009_FlyingTemple/Inside/Unique/Bridge/Close");
         Vector2 arg_6B9E_3 = Vector2.Zero;
         int arg_6B9E_4 = 4;
         int arg_6B9E_5 = 27;
         int arg_6B9E_6 = 76;
         int arg_6B9E_7 = 72;
         int arg_6B9E_8 = 0;
         int arg_6B9E_9 = 0;
         int arg_6B9E_10 = 9;
         Animation.LoopSettings arg_6B9E_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6B9E_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6B9E_13 = true;
         bool arg_6B9E_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[4];
         AnimationInstruction[] arg_6B06_0 = array;
         int arg_6B06_1 = 0;
         AnimInsCriteria arg_6B01_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_6AFC_0 = AnimInsEvent.EventType.PlaySound;
         string arg_6AFC_1 = "bridge_retract";
         float[] array2 = new float[1];
         arg_6B06_0[arg_6B06_1] = new AnimationInstruction(arg_6B01_0, new AnimInsEvent(arg_6AFC_0, arg_6AFC_1, array2));
         AnimationInstruction[] arg_6B3E_0 = array;
         int arg_6B3E_1 = 1;
         AnimInsCriteria arg_6B39_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             10f
         });
         AnimInsEvent.EventType arg_6B34_0 = AnimInsEvent.EventType.PlaySound;
         string arg_6B34_1 = "bridge_retract";
         array2 = new float[1];
         arg_6B3E_0[arg_6B3E_1] = new AnimationInstruction(arg_6B39_0, new AnimInsEvent(arg_6B34_0, arg_6B34_1, array2));
         AnimationInstruction[] arg_6B76_0 = array;
         int arg_6B76_1 = 2;
         AnimInsCriteria arg_6B71_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             18f
         });
         AnimInsEvent.EventType arg_6B6C_0 = AnimInsEvent.EventType.PlaySound;
         string arg_6B6C_1 = "bridge_retract";
         array2 = new float[1];
         arg_6B76_0[arg_6B76_1] = new AnimationInstruction(arg_6B71_0, new AnimInsEvent(arg_6B6C_0, arg_6B6C_1, array2));
         AnimationInstruction[] arg_6B9B_0 = array;
         int arg_6B9B_1 = 3;
         AnimInsCriteria arg_6B96_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_6B91_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_6B9B_0[arg_6B9B_1] = new AnimationInstruction(arg_6B96_0, new AnimInsEvent(arg_6B91_0, array2));
         arg_6BA3_0.Add(arg_6BA3_1, new Animation(arg_6B9E_0, arg_6B9E_1, arg_6B9E_2, arg_6B9E_3, arg_6B9E_4, arg_6B9E_5, arg_6B9E_6, arg_6B9E_7, arg_6B9E_8, arg_6B9E_9, arg_6B9E_10, arg_6B9E_11, arg_6B9E_12, arg_6B9E_13, arg_6B9E_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(50, 72, 0f, new Vector2(38f, 36f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_ToyFactory)
     {
         xEn = new Gate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.fVirtualHeight = -100f;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/Open"), Vector2.Zero, 4, 1, 51, 50, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_6D48_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6D48_1 = 1;
         ushort arg_6D43_0 = 1;
         byte arg_6D43_1 = 2;
         Texture2D arg_6D43_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/Open");
         Vector2 arg_6D43_3 = Vector2.Zero;
         int arg_6D43_4 = 4;
         int arg_6D43_5 = 7;
         int arg_6D43_6 = 51;
         int arg_6D43_7 = 50;
         int arg_6D43_8 = 0;
         int arg_6D43_9 = 0;
         int arg_6D43_10 = 20;
         Animation.LoopSettings arg_6D43_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6D43_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6D43_13 = true;
         bool arg_6D43_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[3];
         AnimationInstruction[] arg_6CDF_0 = array;
         int arg_6CDF_1 = 0;
         AnimInsCriteria arg_6CDA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_6CD5_0 = AnimInsEvent.EventType.PlaySound;
         string arg_6CD5_1 = "door_open";
         float[] array2 = new float[1];
         arg_6CDF_0[arg_6CDF_1] = new AnimationInstruction(arg_6CDA_0, new AnimInsEvent(arg_6CD5_0, arg_6CD5_1, array2));
         AnimationInstruction[] arg_6D12_0 = array;
         int arg_6D12_1 = 1;
         AnimInsCriteria arg_6D0D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             15f
         });
         AnimInsEvent.EventType arg_6D08_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_6D12_0[arg_6D12_1] = new AnimationInstruction(arg_6D0D_0, new AnimInsEvent(arg_6D08_0, array2));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_6D48_0.Add(arg_6D48_1, new Animation(arg_6D43_0, arg_6D43_1, arg_6D43_2, arg_6D43_3, arg_6D43_4, arg_6D43_5, arg_6D43_6, arg_6D43_7, arg_6D43_8, arg_6D43_9, arg_6D43_10, arg_6D43_11, arg_6D43_12, arg_6D43_13, arg_6D43_14, array));
         Dictionary<ushort, Animation> arg_6DAC_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6DAC_1 = 2;
         ushort arg_6DA7_0 = 2;
         byte arg_6DA7_1 = 2;
         Texture2D arg_6DA7_2 = RenderMaster.txNullTex;
         Vector2 arg_6DA7_3 = Vector2.Zero;
         int arg_6DA7_4 = 4;
         int arg_6DA7_5 = 1;
         int arg_6DA7_6 = 51;
         int arg_6DA7_7 = 50;
         int arg_6DA7_8 = 306;
         int arg_6DA7_9 = 0;
         int arg_6DA7_10 = 20;
         Animation.LoopSettings arg_6DA7_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6DA7_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6DA7_13 = true;
         bool arg_6DA7_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_6DA4_0 = array;
         int arg_6DA4_1 = 0;
         AnimInsCriteria arg_6D9F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_6D9A_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_6DA4_0[arg_6DA4_1] = new AnimationInstruction(arg_6D9F_0, new AnimInsEvent(arg_6D9A_0, array2));
         arg_6DAC_0.Add(arg_6DAC_1, new Animation(arg_6DA7_0, arg_6DA7_1, arg_6DA7_2, arg_6DA7_3, arg_6DA7_4, arg_6DA7_5, arg_6DA7_6, arg_6DA7_7, arg_6DA7_8, arg_6DA7_9, arg_6DA7_10, arg_6DA7_11, arg_6DA7_12, arg_6DA7_13, arg_6DA7_14, array));
         Dictionary<ushort, Animation> arg_6E3C_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6E3C_1 = 3;
         ushort arg_6E37_0 = 3;
         byte arg_6E37_1 = 2;
         Texture2D arg_6E37_2 = Content.Load<Texture2D>("Bkg/Zone013_Winterland/Toy Factory/Door/Close");
         Vector2 arg_6E37_3 = Vector2.Zero;
         int arg_6E37_4 = 4;
         int arg_6E37_5 = 6;
         int arg_6E37_6 = 51;
         int arg_6E37_7 = 50;
         int arg_6E37_8 = 0;
         int arg_6E37_9 = 0;
         int arg_6E37_10 = 20;
         Animation.LoopSettings arg_6E37_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6E37_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6E37_13 = true;
         bool arg_6E37_14 = true;
         array = new AnimationInstruction[2];
         AnimationInstruction[] arg_6E0F_0 = array;
         int arg_6E0F_1 = 0;
         AnimInsCriteria arg_6E0A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_6E05_0 = AnimInsEvent.EventType.PlaySound;
         string arg_6E05_1 = "Gund4m_Flaps_A";
         array2 = new float[1];
         arg_6E0F_0[arg_6E0F_1] = new AnimationInstruction(arg_6E0A_0, new AnimInsEvent(arg_6E05_0, arg_6E05_1, array2));
         AnimationInstruction[] arg_6E34_0 = array;
         int arg_6E34_1 = 1;
         AnimInsCriteria arg_6E2F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_6E2A_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_6E34_0[arg_6E34_1] = new AnimationInstruction(arg_6E2F_0, new AnimInsEvent(arg_6E2A_0, array2));
         arg_6E3C_0.Add(arg_6E3C_1, new Animation(arg_6E37_0, arg_6E37_1, arg_6E37_2, arg_6E37_3, arg_6E37_4, arg_6E37_5, arg_6E37_6, arg_6E37_7, arg_6E37_8, arg_6E37_9, arg_6E37_10, arg_6E37_11, arg_6E37_12, arg_6E37_13, arg_6E37_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(60, 16, 0f, new Vector2(25f, 42f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Gate_SeasonChange_BrickWall)
     {
         xEn = new Gate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.fVirtualHeight = -100f;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 2, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Block/Block"), new Vector2(38f, 28f), 4, 1, 73, 38, 0, 0, 25, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_6FF6_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_6FF6_1 = 1;
         ushort arg_6FF1_0 = 1;
         byte arg_6FF1_1 = 2;
         Texture2D arg_6FF1_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Block/Block");
         Vector2 arg_6FF1_3 = new Vector2(38f, 28f);
         int arg_6FF1_4 = 4;
         int arg_6FF1_5 = 25;
         int arg_6FF1_6 = 73;
         int arg_6FF1_7 = 38;
         int arg_6FF1_8 = 0;
         int arg_6FF1_9 = 0;
         int arg_6FF1_10 = 25;
         Animation.LoopSettings arg_6FF1_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_6FF1_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_6FF1_13 = true;
         bool arg_6FF1_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[3];
         AnimationInstruction[] arg_6F8D_0 = array;
         int arg_6F8D_1 = 0;
         AnimInsCriteria arg_6F88_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_6F83_0 = AnimInsEvent.EventType.PlaySound;
         string arg_6F83_1 = "GravelRockMove";
         float[] array2 = new float[1];
         arg_6F8D_0[arg_6F8D_1] = new AnimationInstruction(arg_6F88_0, new AnimInsEvent(arg_6F83_0, arg_6F83_1, array2));
         AnimationInstruction[] arg_6FC0_0 = array;
         int arg_6FC0_1 = 1;
         AnimInsCriteria arg_6FBB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             15f
         });
         AnimInsEvent.EventType arg_6FB6_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_6FC0_0[arg_6FC0_1] = new AnimationInstruction(arg_6FBB_0, new AnimInsEvent(arg_6FB6_0, array2));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_6FF6_0.Add(arg_6FF6_1, new Animation(arg_6FF1_0, arg_6FF1_1, arg_6FF1_2, arg_6FF1_3, arg_6FF1_4, arg_6FF1_5, arg_6FF1_6, arg_6FF1_7, arg_6FF1_8, arg_6FF1_9, arg_6FF1_10, arg_6FF1_11, arg_6FF1_12, arg_6FF1_13, arg_6FF1_14, array));
         Dictionary<ushort, Animation> arg_7090_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_7090_1 = 2;
         ushort arg_708B_0 = 2;
         byte arg_708B_1 = 2;
         Texture2D arg_708B_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Block/Block");
         Vector2 arg_708B_3 = new Vector2(38f, 28f);
         int arg_708B_4 = 4;
         int arg_708B_5 = 1;
         int arg_708B_6 = 73;
         int arg_708B_7 = 38;
         int arg_708B_8 = 1752;
         int arg_708B_9 = 0;
         int arg_708B_10 = 25;
         Animation.LoopSettings arg_708B_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_708B_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_708B_13 = true;
         bool arg_708B_14 = true;
         array = new AnimationInstruction[2];
         AnimationInstruction[] arg_7062_0 = array;
         int arg_7062_1 = 0;
         AnimInsCriteria arg_705D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_7058_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_7062_0[arg_7062_1] = new AnimationInstruction(arg_705D_0, new AnimInsEvent(arg_7058_0, array2));
         AnimationInstruction[] arg_7088_0 = array;
         int arg_7088_1 = 1;
         AnimInsCriteria arg_7083_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_707E_0 = AnimInsEvent.EventType.SetVirtualHeight;
         array2 = new float[1];
         arg_7088_0[arg_7088_1] = new AnimationInstruction(arg_7083_0, new AnimInsEvent(arg_707E_0, array2));
         arg_7090_0.Add(arg_7090_1, new Animation(arg_708B_0, arg_708B_1, arg_708B_2, arg_708B_3, arg_708B_4, arg_708B_5, arg_708B_6, arg_708B_7, arg_708B_8, arg_708B_9, arg_708B_10, arg_708B_11, arg_708B_12, arg_708B_13, arg_708B_14, array));
         Dictionary<ushort, Animation> arg_712B_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_712B_1 = 3;
         ushort arg_7126_0 = 3;
         byte arg_7126_1 = 2;
         Texture2D arg_7126_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Block/Block");
         Vector2 arg_7126_3 = new Vector2(38f, 28f);
         int arg_7126_4 = 4;
         int arg_7126_5 = 25;
         int arg_7126_6 = 73;
         int arg_7126_7 = 38;
         int arg_7126_8 = 0;
         int arg_7126_9 = 0;
         int arg_7126_10 = 25;
         Animation.LoopSettings arg_7126_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_7126_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_7126_13 = true;
         bool arg_7126_14 = true;
         array = new AnimationInstruction[2];
         AnimationInstruction[] arg_70FE_0 = array;
         int arg_70FE_1 = 0;
         AnimInsCriteria arg_70F9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_70F4_0 = AnimInsEvent.EventType.PlaySound;
         string arg_70F4_1 = "GravelRockMove";
         array2 = new float[1];
         arg_70FE_0[arg_70FE_1] = new AnimationInstruction(arg_70F9_0, new AnimInsEvent(arg_70F4_0, arg_70F4_1, array2));
         AnimationInstruction[] arg_7123_0 = array;
         int arg_7123_1 = 1;
         AnimInsCriteria arg_711E_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_7119_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_7123_0[arg_7123_1] = new AnimationInstruction(arg_711E_0, new AnimInsEvent(arg_7119_0, array2));
         arg_712B_0.Add(arg_712B_1, new Animation(arg_7126_0, arg_7126_1, arg_7126_2, arg_7126_3, arg_7126_4, arg_7126_5, arg_7126_6, arg_7126_7, arg_7126_8, arg_7126_9, arg_7126_10, arg_7126_11, arg_7126_12, arg_7126_13, arg_7126_14, array));
         xEn.xRenderComponent.dixAnimations[3].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(60, 16, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = true;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.WaterLeaf01)
     {
         xEn = new FloatingThingy();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Water/Leaves/leaf01"), new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.WaterLeaf02)
     {
         xEn = new FloatingThingy();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Water/Leaves/leaf02"), new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.WaterLeaf03)
     {
         xEn = new FloatingThingy();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Water/Leaves/leaf03"), new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Sign)
     {
         xEn = new Sign();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.FishingPlate)
     {
         xEn = new FishingPlate();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.FlagTriggerPlate)
     {
         xEn = new FlagInteractionTrigger();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.FlagTriggerItem_PhaseShiftOrb)
     {
         xEn = new FlagTriggerItem();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>("Sprites/Monster/Bosses/Phaseman/OrbGet"), new Vector2(12f, 26f), 4, 8, 24, 30, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_7691_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_7691_1 = 100;
         ushort arg_768C_0 = 100;
         byte arg_768C_1 = 0;
         Texture2D arg_768C_2 = Content.Load<Texture2D>("Effects/Explosions/Standard/Green");
         Vector2 arg_768C_3 = new Vector2(26f, 27f);
         int arg_768C_4 = 4;
         int arg_768C_5 = 10;
         int arg_768C_6 = 50;
         int arg_768C_7 = 38;
         int arg_768C_8 = 0;
         int arg_768C_9 = 0;
         int arg_768C_10 = 10;
         Animation.LoopSettings arg_768C_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_768C_12 = Animation.CancelOptions.UseAnimationDefault;
         bool arg_768C_13 = true;
         bool arg_768C_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_765A_0 = array;
         int arg_765A_1 = 0;
         AnimInsCriteria arg_7655_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_7650_0 = AnimInsEvent.EventType.PlaySound;
         string arg_7650_1 = "Puzzle_reset_poof";
         float[] array2 = new float[1];
         arg_765A_0[arg_765A_1] = new AnimationInstruction(arg_7655_0, new AnimInsEvent(arg_7650_0, arg_7650_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
         {
             1f
         }));
         arg_7691_0.Add(arg_7691_1, new Animation(arg_768C_0, arg_768C_1, arg_768C_2, arg_768C_3, arg_768C_4, arg_768C_5, arg_768C_6, arg_768C_7, arg_768C_8, arg_768C_9, arg_768C_10, arg_768C_11, arg_768C_12, arg_768C_13, arg_768C_14, array));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.DialogueTriggerPlate)
     {
         xEn = new DialogueInteractionTrigger();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, RenderMaster.txNullTex, new Vector2(9f, 10f), 4, 1, 19, 21, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientDuck_Yellow)
     {
         xEn = new AmbientDuck();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Duck/Move/Right"), new Vector2(19f, 15f), 5, 12, 30, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Duck/Move/Right"), new Vector2(11f, 15f), 5, 12, 30, 19, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Duck/Turn/Left"), new Vector2(11f, 15f), 5, 7, 22, 19, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         Dictionary<ushort, Animation> arg_79A3_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_79A3_1 = 3;
         ushort arg_799E_0 = 3;
         byte arg_799E_1 = 1;
         Texture2D arg_799E_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Duck/Turn/Left");
         Vector2 arg_799E_3 = new Vector2(11f, 15f);
         int arg_799E_4 = 5;
         int arg_799E_5 = 7;
         int arg_799E_6 = 22;
         int arg_799E_7 = 19;
         int arg_799E_8 = 0;
         int arg_799E_9 = 0;
         int arg_799E_10 = 12;
         Animation.LoopSettings arg_799E_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_799E_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_799E_13 = true;
         bool arg_799E_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_799B_0 = array;
         int arg_799B_1 = 0;
         AnimInsCriteria arg_7996_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_7991_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_799B_0[arg_799B_1] = new AnimationInstruction(arg_7996_0, new AnimInsEvent(arg_7991_0, array2));
         arg_79A3_0.Add(arg_79A3_1, new Animation(arg_799E_0, arg_799E_1, arg_799E_2, arg_799E_3, arg_799E_4, arg_799E_5, arg_799E_6, arg_799E_7, arg_799E_8, arg_799E_9, arg_799E_10, arg_799E_11, arg_799E_12, arg_799E_13, arg_799E_14, array));
         xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
     }
     else if (enType >= DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Random && enType <= DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Big)
     {
         if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Random)
         {
             if (Program.GetTheGame().randomInLogic.Next(2) == 0)
             {
                 enType = DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Small;
             }
             else
             {
                 enType = DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Big;
             }
         }
         xEn = new AmbientFish();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         string sFishType = "FishA";
         if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Big)
         {
             sFishType = "FishB";
         }
         if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Small)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Swim"), new Vector2(6f, 5f), 5, 10, 12, 9, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Swim"), new Vector2(6f, 5f), 5, 10, 12, 9, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Turn"), new Vector2(6f, 5f), 5, 6, 11, 9, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_7BF6_0 = xEn.xRenderComponent.dixAnimations;
             ushort arg_7BF6_1 = 3;
             ushort arg_7BF1_0 = 3;
             byte arg_7BF1_1 = 1;
             Texture2D arg_7BF1_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Turn");
             Vector2 arg_7BF1_3 = new Vector2(6f, 5f);
             int arg_7BF1_4 = 5;
             int arg_7BF1_5 = 6;
             int arg_7BF1_6 = 11;
             int arg_7BF1_7 = 9;
             int arg_7BF1_8 = 0;
             int arg_7BF1_9 = 0;
             int arg_7BF1_10 = 12;
             Animation.LoopSettings arg_7BF1_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_7BF1_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_7BF1_13 = true;
             bool arg_7BF1_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_7BEE_0 = array;
             int arg_7BEE_1 = 0;
             AnimInsCriteria arg_7BE9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_7BE4_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_7BEE_0[arg_7BEE_1] = new AnimationInstruction(arg_7BE9_0, new AnimInsEvent(arg_7BE4_0, array2));
             arg_7BF6_0.Add(arg_7BF6_1, new Animation(arg_7BF1_0, arg_7BF1_1, arg_7BF1_2, arg_7BF1_3, arg_7BF1_4, arg_7BF1_5, arg_7BF1_6, arg_7BF1_7, arg_7BF1_8, arg_7BF1_9, arg_7BF1_10, arg_7BF1_11, arg_7BF1_12, arg_7BF1_13, arg_7BF1_14, array));
             xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFish_Big)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Swim"), new Vector2(8f, 5f), 5, 10, 16, 9, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Swim"), new Vector2(8f, 5f), 5, 10, 16, 9, 0, 0, 12, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
             xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
             xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Turn"), new Vector2(6f, 5f), 5, 6, 11, 9, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
             {
                 new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
                 {
                     1f
                 }))
             }));
             Dictionary<ushort, Animation> arg_7DDA_0 = xEn.xRenderComponent.dixAnimations;
             ushort arg_7DDA_1 = 3;
             ushort arg_7DD5_0 = 3;
             byte arg_7DD5_1 = 1;
             Texture2D arg_7DD5_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Fishes/" + sFishType + "/Turn");
             Vector2 arg_7DD5_3 = new Vector2(6f, 5f);
             int arg_7DD5_4 = 5;
             int arg_7DD5_5 = 6;
             int arg_7DD5_6 = 11;
             int arg_7DD5_7 = 9;
             int arg_7DD5_8 = 0;
             int arg_7DD5_9 = 0;
             int arg_7DD5_10 = 12;
             Animation.LoopSettings arg_7DD5_11 = Animation.LoopSettings.Clamp;
             Animation.CancelOptions arg_7DD5_12 = Animation.CancelOptions.IgnoreIfPlaying;
             bool arg_7DD5_13 = true;
             bool arg_7DD5_14 = true;
             AnimationInstruction[] array = new AnimationInstruction[1];
             AnimationInstruction[] arg_7DD2_0 = array;
             int arg_7DD2_1 = 0;
             AnimInsCriteria arg_7DCD_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
             AnimInsEvent.EventType arg_7DC8_0 = AnimInsEvent.EventType.PlayAnimation;
             float[] array2 = new float[1];
             arg_7DD2_0[arg_7DD2_1] = new AnimationInstruction(arg_7DCD_0, new AnimInsEvent(arg_7DC8_0, array2));
             arg_7DDA_0.Add(arg_7DDA_1, new Animation(arg_7DD5_0, arg_7DD5_1, arg_7DD5_2, arg_7DD5_3, arg_7DD5_4, arg_7DD5_5, arg_7DD5_6, arg_7DD5_7, arg_7DD5_8, arg_7DD5_9, arg_7DD5_10, arg_7DD5_11, arg_7DD5_12, arg_7DD5_13, arg_7DD5_14, array));
             xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         }
     }
     else if (enType >= DynamicEnvironmentCodex.ObjectTypes.AmbientBird_Brown && enType <= DynamicEnvironmentCodex.ObjectTypes.AmbientBird_White)
     {
         xEn = new AmbientBird();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         string sBirdLol = "Brown";
         if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientBird_White)
         {
             sBirdLol = "White";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientBird_Black)
         {
             sBirdLol = "Black";
         }
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/Idle/Right"), new Vector2(9f, 14f), 4, 1, 21, 20, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/Idle/Left"), new Vector2(13f, 14f), 4, 1, 21, 20, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_7F7C_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_7F7C_1 = 2;
         ushort arg_7F77_0 = 2;
         byte arg_7F77_1 = 1;
         Texture2D arg_7F77_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/Peck/Right");
         Vector2 arg_7F77_3 = new Vector2(9f, 14f);
         int arg_7F77_4 = 4;
         int arg_7F77_5 = 8;
         int arg_7F77_6 = 21;
         int arg_7F77_7 = 20;
         int arg_7F77_8 = 0;
         int arg_7F77_9 = 0;
         int arg_7F77_10 = 8;
         Animation.LoopSettings arg_7F77_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_7F77_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_7F77_13 = true;
         bool arg_7F77_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_7F74_0 = array;
         int arg_7F74_1 = 0;
         AnimInsCriteria arg_7F6F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_7F6A_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_7F74_0[arg_7F74_1] = new AnimationInstruction(arg_7F6F_0, new AnimInsEvent(arg_7F6A_0, array2));
         arg_7F7C_0.Add(arg_7F7C_1, new Animation(arg_7F77_0, arg_7F77_1, arg_7F77_2, arg_7F77_3, arg_7F77_4, arg_7F77_5, arg_7F77_6, arg_7F77_7, arg_7F77_8, arg_7F77_9, arg_7F77_10, arg_7F77_11, arg_7F77_12, arg_7F77_13, arg_7F77_14, array));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/Peck/Left"), new Vector2(13f, 14f), 4, 8, 21, 20, 0, 0, 8, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         Dictionary<ushort, Animation> arg_80BC_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_80BC_1 = 4;
         ushort arg_80B7_0 = 4;
         byte arg_80B7_1 = 1;
         Texture2D arg_80B7_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/TakeOff/Right");
         Vector2 arg_80B7_3 = new Vector2(9f, 14f);
         int arg_80B7_4 = 4;
         int arg_80B7_5 = 4;
         int arg_80B7_6 = 21;
         int arg_80B7_7 = 20;
         int arg_80B7_8 = 0;
         int arg_80B7_9 = 0;
         int arg_80B7_10 = 8;
         Animation.LoopSettings arg_80B7_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_80B7_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_80B7_13 = false;
         bool arg_80B7_14 = false;
         array = new AnimationInstruction[2];
         array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             6f
         }));
         AnimationInstruction[] arg_80B4_0 = array;
         int arg_80B4_1 = 1;
         AnimInsCriteria arg_80AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_80AA_0 = AnimInsEvent.EventType.PlaySound;
         string arg_80AA_1 = "Bird_flying_away";
         array2 = new float[1];
         arg_80B4_0[arg_80B4_1] = new AnimationInstruction(arg_80AF_0, new AnimInsEvent(arg_80AA_0, arg_80AA_1, array2));
         arg_80BC_0.Add(arg_80BC_1, new Animation(arg_80B7_0, arg_80B7_1, arg_80B7_2, arg_80B7_3, arg_80B7_4, arg_80B7_5, arg_80B7_6, arg_80B7_7, arg_80B7_8, arg_80B7_9, arg_80B7_10, arg_80B7_11, arg_80B7_12, arg_80B7_13, arg_80B7_14, array));
         Dictionary<ushort, Animation> arg_8178_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_8178_1 = 5;
         ushort arg_8173_0 = 5;
         byte arg_8173_1 = 3;
         Texture2D arg_8173_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/TakeOff/Left");
         Vector2 arg_8173_3 = new Vector2(13f, 14f);
         int arg_8173_4 = 4;
         int arg_8173_5 = 4;
         int arg_8173_6 = 21;
         int arg_8173_7 = 20;
         int arg_8173_8 = 0;
         int arg_8173_9 = 0;
         int arg_8173_10 = 8;
         Animation.LoopSettings arg_8173_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_8173_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_8173_13 = false;
         bool arg_8173_14 = false;
         array = new AnimationInstruction[2];
         array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             7f
         }));
         AnimationInstruction[] arg_8170_0 = array;
         int arg_8170_1 = 1;
         AnimInsCriteria arg_816B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_8166_0 = AnimInsEvent.EventType.PlaySound;
         string arg_8166_1 = "Bird_flying_away";
         array2 = new float[1];
         arg_8170_0[arg_8170_1] = new AnimationInstruction(arg_816B_0, new AnimInsEvent(arg_8166_0, arg_8166_1, array2));
         arg_8178_0.Add(arg_8178_1, new Animation(arg_8173_0, arg_8173_1, arg_8173_2, arg_8173_3, arg_8173_4, arg_8173_5, arg_8173_6, arg_8173_7, arg_8173_8, arg_8173_9, arg_8173_10, arg_8173_11, arg_8173_12, arg_8173_13, arg_8173_14, array));
         xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/Fly/Right"), new Vector2(9f, 14f), 4, 8, 21, 20, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/" + sBirdLol + "Bird/Fly/Left"), new Vector2(13f, 14f), 4, 8, 21, 20, 0, 0, 8, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         if (Program.GetTheGame().randomInVisual.Next(2) == 1)
         {
             xEn.xRenderComponent.SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying);
         }
     }
     else if (enType >= DynamicEnvironmentCodex.ObjectTypes.AmbientButterfly_Blue && enType <= DynamicEnvironmentCodex.ObjectTypes.AmbientButterfly_Yellow)
     {
         xEn = new AmbientButterfly();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         string sColor = "Blue";
         if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientButterfly_Green)
         {
             sColor = "Green";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientButterfly_Pink)
         {
             sColor = "Pink";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientButterfly_Purple)
         {
             sColor = "Purple";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientButterfly_Yellow)
         {
             sColor = "Yellow";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientButterfly_White)
         {
             sColor = "White";
         }
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Butterfly/" + sColor), new Vector2(4f, 7f), 5, 6, 9, 10, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.fVirtualHeight += 10f;
     }
     else if (enType >= DynamicEnvironmentCodex.ObjectTypes.AmbientFollowButterfly_Blue && enType <= DynamicEnvironmentCodex.ObjectTypes.AmbientFollowButterfly_Yellow)
     {
         xEn = new AmbientFollowButterfly();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         string sColor2 = "Blue";
         if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFollowButterfly_Green)
         {
             sColor2 = "Green";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFollowButterfly_Pink)
         {
             sColor2 = "Pink";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFollowButterfly_Purple)
         {
             sColor2 = "Purple";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFollowButterfly_Yellow)
         {
             sColor2 = "Yellow";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFollowButterfly_White)
         {
             sColor2 = "White";
         }
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>(ENVIRON_PATH + "Ambient/Butterfly/" + sColor2), new Vector2(4f, 7f), 5, 6, 9, 10, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.fVirtualHeight += 10f;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFollowInsect_Level1)
     {
         xEn = new AmbientFollowInsect();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 1-2/Down"), new Vector2(6f, 5f), 4, 2, 12, 8, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 1-2/Right"), new Vector2(6f, 5f), 4, 2, 9, 8, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 1-2/Down"), new Vector2(6f, 5f), 4, 2, 12, 8, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 1-2/Right"), new Vector2(3f, 5f), 4, 2, 9, 8, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 1-2/Spawn/Down"), new Vector2(6f, 5f), 4, 6, 14, 10, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.fVirtualHeight += 10f;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.AmbientFollowInsect_Level3)
     {
         xEn = new AmbientFollowInsect();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.BushWhack;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Up"), new Vector2(9f, 25f), 4, 2, 19, 28, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Right"), new Vector2(10f, 25f), 4, 2, 16, 28, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Down"), new Vector2(9f, 25f), 4, 2, 19, 28, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Right"), new Vector2(6f, 25f), 4, 2, 16, 28, 0, 0, 100, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Spawn/Right"), new Vector2(10f, 26f), 4, 6, 16, 29, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 3, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Spawn/Right"), new Vector2(6f, 26f), 4, 6, 16, 29, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 3f
             }))
         }));
         xEn.xRenderComponent.dixAnimations[5].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 1, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Attack/Right"), new Vector2(11f, 24f), 4, 5, 18, 27, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 1f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 3, Content.Load<Texture2D>("Sprites/Spells/Insect Swarm/Level 3/Attack/Right"), new Vector2(7f, 24f), 4, 5, 18, 27, 0, 0, 100, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 3f
             }))
         }));
         xEn.xRenderComponent.dixAnimations[7].enSpriteEffect = SpriteEffects.FlipHorizontally;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Emitter_ChimneySmoke)
     {
         xEn = new EffectEmitter(new _Effect_ChimneySmoke(SortedAnimated.SortedAnimatedEffects.ChimneySmoke, new Vector2(-0.75f, -0.25f), 6000, new Vector2(0f, -1f)), 50, 30);
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(9f, 14f), 4, 1, 21, 20, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.bReSortHeight = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Emitter_ChimneySmokeWitch)
     {
         xEn = new EffectEmitter(new _Effect_ChimneySmoke(SortedAnimated.SortedAnimatedEffects.ChimneySmokeWitch, new Vector2(0.6f, -0.1f), 300, new Vector2(0f, -0.5f)), 50, 30);
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(9f, 14f), 4, 1, 21, 20, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.bReSortHeight = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Emitter_ChimneySmokeEvergrind)
     {
         xEn = new EffectEmitter(new _Effect_ChimneySmoke(SortedAnimated.SortedAnimatedEffects.ChimneySmokeEvergrind, new Vector2(-0.4f, -0.1f), 180, new Vector2(0f, -0.4f)), 100, 80);
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(9f, 14f), 4, 1, 21, 20, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.bReSortHeight = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Emitter_FallingLeaf)
     {
         xEn = new EffectEmitter(new _Effect_SnowFlakeAnimated(new Vector2(10000f, 10000f), SortedAnimated.SortedAnimatedEffects.FallingLeaf_Brown, 80f, 0.2f, 190, 0f, 40), 200, 300);
         (xEn as EffectEmitter).bDoSubSpawn = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(9f, 14f), 4, 1, 21, 20, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.bReSortHeight = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Emitter_GenericRectangle)
     {
         xEn = new EffectEmitter(null, 0, 0);
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 1, RenderMaster.txNullTex, new Vector2(9f, 14f), 4, 1, 21, 20, 0, 0, 1, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.bReSortHeight = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.BasicChest)
     {
         xEn = new BasicChest();
         BasicChest xChest = xEn as BasicChest;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.Interactable;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xChest.colInteractCollider = new BoxCollider(23, 23, 0f, new Vector2(0f, 6f), xEn.xTransform, 0f, xEn);
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest"), new Vector2(14f, 32f), 4, 1, 27, 37, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation"), new Vector2(14f, 32f), 4, 5, 27, 37, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_Open"), new Vector2(14f, 32f), 4, 1, 27, 37, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 10, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(2f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MultiplayerChest)
     {
         xEn = new BasicChest();
         BasicChest xChest2 = xEn as BasicChest;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.Interactable;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xChest2.colInteractCollider = new BoxCollider(23, 23, 0f, new Vector2(0f, 6f), xEn.xTransform, 0f, xEn);
         xChest2.bGrantAll = true;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest"), new Vector2(14f, 32f), 4, 1, 27, 37, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation"), new Vector2(14f, 32f), 4, 5, 27, 37, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_Open"), new Vector2(14f, 32f), 4, 1, 27, 37, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 10, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(2f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MultiplayerChest_FlyingFortress)
     {
         xEn = new BasicChest();
         BasicChest xChest3 = xEn as BasicChest;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.Interactable;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xChest3.colInteractCollider = new BoxCollider(23, 23, 0f, new Vector2(0f, 6f), xEn.xTransform, 0f, xEn);
         xChest3.bGrantAll = true;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation_flying"), new Vector2(14f, 32f), 4, 1, 27, 38, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation_flying"), new Vector2(14f, 32f), 4, 5, 27, 38, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation_flying"), new Vector2(14f, 32f), 4, 1, 27, 38, 108, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 10, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(2f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PuzzleThingy_Sprout)
     {
         xEn = new PuzzleSprout();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         Dictionary<ushort, Animation> arg_9393_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_9393_1 = 0;
         ushort arg_938E_0 = 0;
         byte arg_938E_1 = 0;
         Texture2D arg_938E_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Misc/Sprout/Small");
         Vector2 arg_938E_3 = new Vector2(5f, 14f);
         int arg_938E_4 = 4;
         int arg_938E_5 = 11;
         int arg_938E_6 = 12;
         int arg_938E_7 = 16;
         int arg_938E_8 = 0;
         int arg_938E_9 = 0;
         int arg_938E_10 = 11;
         Animation.LoopSettings arg_938E_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_938E_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_938E_13 = true;
         bool arg_938E_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             11f
         }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
         {
             90f
         }));
         AnimationInstruction[] arg_938B_0 = array;
         int arg_938B_1 = 1;
         AnimInsCriteria arg_9386_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_9381_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_938B_0[arg_938B_1] = new AnimationInstruction(arg_9386_0, new AnimInsEvent(arg_9381_0, array2));
         arg_9393_0.Add(arg_9393_1, new Animation(arg_938E_0, arg_938E_1, arg_938E_2, arg_938E_3, arg_938E_4, arg_938E_5, arg_938E_6, arg_938E_7, arg_938E_8, arg_938E_9, arg_938E_10, arg_938E_11, arg_938E_12, arg_938E_13, arg_938E_14, array));
         Dictionary<ushort, Animation> arg_9434_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_9434_1 = 1;
         ushort arg_942F_0 = 1;
         byte arg_942F_1 = 0;
         Texture2D arg_942F_2 = Content.Load<Texture2D>(ENVIRON_PATH + "Misc/Sprout/SmallDamage");
         Vector2 arg_942F_3 = new Vector2(7f, 13f);
         int arg_942F_4 = 4;
         int arg_942F_5 = 12;
         int arg_942F_6 = 15;
         int arg_942F_7 = 15;
         int arg_942F_8 = 0;
         int arg_942F_9 = 0;
         int arg_942F_10 = 12;
         Animation.LoopSettings arg_942F_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_942F_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_942F_13 = true;
         bool arg_942F_14 = true;
         array = new AnimationInstruction[2];
         AnimationInstruction[] arg_9407_0 = array;
         int arg_9407_1 = 0;
         AnimInsCriteria arg_9402_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_93FD_0 = AnimInsEvent.EventType.PlaySound;
         string arg_93FD_1 = "Wobbly_Plant";
         array2 = new float[1];
         arg_9407_0[arg_9407_1] = new AnimationInstruction(arg_9402_0, new AnimInsEvent(arg_93FD_0, arg_93FD_1, array2));
         AnimationInstruction[] arg_942C_0 = array;
         int arg_942C_1 = 1;
         AnimInsCriteria arg_9427_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_9422_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_942C_0[arg_942C_1] = new AnimationInstruction(arg_9427_0, new AnimInsEvent(arg_9422_0, array2));
         arg_9434_0.Add(arg_9434_1, new Animation(arg_942F_0, arg_942F_1, arg_942F_2, arg_942F_3, arg_942F_4, arg_942F_5, arg_942F_6, arg_942F_7, arg_942F_8, arg_942F_9, arg_942F_10, arg_942F_11, arg_942F_12, arg_942F_13, arg_942F_14, array));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(2f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChange_WaterPuzzleBlock_FyrBlock)
     {
         xEn = new SeasonChangeWaterPuzzleBlock();
         SeasonChangeWaterPuzzleBlock crate34 = xEn as SeasonChangeWaterPuzzleBlock;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/Fyrblock"), new Vector2(0f, 12f), 4, 1, 40, 52, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate34.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 10f), xEn.xTransform, 10000f, xEn));
         crate34.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 10f), xEn.xTransform, 10000f, xEn));
         crate34.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 30f), xEn.xTransform, 10000f, xEn));
         crate34.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 30f), xEn.xTransform, 10000f, xEn));
         for (int i = 0; i < crate34.lxColliderPieces.Count; i++)
         {
             xEn.xCollisionComponent.AddMovementCollider(crate34.lxColliderPieces[i]);
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChange_WaterPuzzleBlock_I01)
     {
         xEn = new SeasonChangeWaterPuzzleBlock();
         SeasonChangeWaterPuzzleBlock crate35 = xEn as SeasonChangeWaterPuzzleBlock;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/I01"), new Vector2(0f, 12f), 4, 1, 20, 92, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate35.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 10f), xEn.xTransform, 10000f, xEn));
         crate35.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 30f), xEn.xTransform, 10000f, xEn));
         crate35.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 50f), xEn.xTransform, 10000f, xEn));
         crate35.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 70f), xEn.xTransform, 10000f, xEn));
         for (int j = 0; j < crate35.lxColliderPieces.Count; j++)
         {
             xEn.xCollisionComponent.AddMovementCollider(crate35.lxColliderPieces[j]);
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChange_WaterPuzzleBlock_I02)
     {
         xEn = new SeasonChangeWaterPuzzleBlock();
         SeasonChangeWaterPuzzleBlock crate36 = xEn as SeasonChangeWaterPuzzleBlock;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/I02"), new Vector2(0f, 11f), 4, 1, 80, 31, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate36.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 10f), xEn.xTransform, 10000f, xEn));
         crate36.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 10f), xEn.xTransform, 10000f, xEn));
         crate36.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(50f, 10f), xEn.xTransform, 10000f, xEn));
         crate36.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(70f, 10f), xEn.xTransform, 10000f, xEn));
         for (int k = 0; k < crate36.lxColliderPieces.Count; k++)
         {
             xEn.xCollisionComponent.AddMovementCollider(crate36.lxColliderPieces[k]);
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChange_WaterPuzzleBlock_L01)
     {
         xEn = new SeasonChangeWaterPuzzleBlock();
         SeasonChangeWaterPuzzleBlock crate37 = xEn as SeasonChangeWaterPuzzleBlock;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/L01"), new Vector2(0f, 13f), 4, 1, 40, 73, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate37.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 10f), xEn.xTransform, 10000f, xEn));
         crate37.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 10f), xEn.xTransform, 10000f, xEn));
         crate37.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 30f), xEn.xTransform, 10000f, xEn));
         crate37.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 50f), xEn.xTransform, 10000f, xEn));
         for (int l = 0; l < crate37.lxColliderPieces.Count; l++)
         {
             xEn.xCollisionComponent.AddMovementCollider(crate37.lxColliderPieces[l]);
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChange_WaterPuzzleBlock_L02)
     {
         xEn = new SeasonChangeWaterPuzzleBlock();
         SeasonChangeWaterPuzzleBlock crate38 = xEn as SeasonChangeWaterPuzzleBlock;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/L02"), new Vector2(0f, 12f), 4, 1, 40, 72, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate38.xExtraRC = new AnimatedRenderComponent(xEn);
         crate38.xExtraRC.xTransform = xEn.xTransform;
         crate38.xExtraRC.v2OffsetRenderPos = new Vector2(0f, 40f);
         crate38.xExtraRC.fVirtualHeight = 40f;
         crate38.xExtraRC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/L02"), new Vector2(0f, 15f), 4, 1, 26, 35, 0, 37, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate38.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 50f), xEn.xTransform, 10000f, xEn));
         crate38.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 10f), xEn.xTransform, 10000f, xEn));
         crate38.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 30f), xEn.xTransform, 10000f, xEn));
         crate38.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 50f), xEn.xTransform, 10000f, xEn));
         for (int m = 0; m < crate38.lxColliderPieces.Count; m++)
         {
             xEn.xCollisionComponent.AddMovementCollider(crate38.lxColliderPieces[m]);
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChange_WaterPuzzleBlock_L03)
     {
         xEn = new SeasonChangeWaterPuzzleBlock();
         SeasonChangeWaterPuzzleBlock crate39 = xEn as SeasonChangeWaterPuzzleBlock;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/L03"), new Vector2(0f, 12f), 4, 1, 40, 72, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate39.xExtraRC = new AnimatedRenderComponent(xEn);
         crate39.xExtraRC.xTransform = xEn.xTransform;
         crate39.xExtraRC.v2OffsetRenderPos = new Vector2(0f, 40f);
         crate39.xExtraRC.fVirtualHeight = 40f;
         crate39.xExtraRC.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/L03"), new Vector2(-13f, 15f), 4, 1, 27, 35, 13, 37, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate39.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 10f), xEn.xTransform, 10000f, xEn));
         crate39.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 50f), xEn.xTransform, 10000f, xEn));
         crate39.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 30f), xEn.xTransform, 10000f, xEn));
         crate39.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 50f), xEn.xTransform, 10000f, xEn));
         for (int n = 0; n < crate39.lxColliderPieces.Count; n++)
         {
             xEn.xCollisionComponent.AddMovementCollider(crate39.lxColliderPieces[n]);
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChange_WaterPuzzleBlock_L04)
     {
         xEn = new SeasonChangeWaterPuzzleBlock();
         SeasonChangeWaterPuzzleBlock crate40 = xEn as SeasonChangeWaterPuzzleBlock;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/WaterPuzzle/L04"), new Vector2(0f, 13f), 4, 1, 40, 73, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         crate40.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(10f, 10f), xEn.xTransform, 10000f, xEn));
         crate40.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 10f), xEn.xTransform, 10000f, xEn));
         crate40.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 30f), xEn.xTransform, 10000f, xEn));
         crate40.lxColliderPieces.Add(new BoxCollider(20, 20, 0f, new Vector2(30f, 50f), xEn.xTransform, 10000f, xEn));
         for (int i2 = 0; i2 < crate40.lxColliderPieces.Count; i2++)
         {
             xEn.xCollisionComponent.AddMovementCollider(crate40.lxColliderPieces[i2]);
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Autumn || enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Summer || enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Winter || enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Dead)
     {
         xEn = new SeasonChangeOrb();
         SeasonChangeOrb crate41 = xEn as SeasonChangeOrb;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         string sPath;
         if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Autumn)
         {
             crate41.enChangeTo = RenderMaster.PlayfieldRenderPass.Season_Fall;
             sPath = "Fall";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Summer)
         {
             crate41.enChangeTo = RenderMaster.PlayfieldRenderPass.Season_Summer;
             sPath = "Summer";
         }
         else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Winter)
         {
             crate41.enChangeTo = RenderMaster.PlayfieldRenderPass.Season_Winter;
             sPath = "Winter";
         }
         else
         {
             crate41.enChangeTo = RenderMaster.PlayfieldRenderPass.Standard;
             sPath = "Dead";
         }
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle"), new Vector2(13f, 21f), 4, 1, 27, 30, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 200f
             })),
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         Dictionary<ushort, Animation> arg_A241_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A241_1 = 1;
         ushort arg_A23C_0 = 1;
         byte arg_A23C_1 = 0;
         Texture2D arg_A23C_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Hit");
         Vector2 arg_A23C_3 = new Vector2(13f, 21f);
         int arg_A23C_4 = 4;
         int arg_A23C_5 = 3;
         int arg_A23C_6 = 27;
         int arg_A23C_7 = 30;
         int arg_A23C_8 = 0;
         int arg_A23C_9 = 0;
         int arg_A23C_10 = 12;
         Animation.LoopSettings arg_A23C_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A23C_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A23C_13 = true;
         bool arg_A23C_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A239_0 = array;
         int arg_A239_1 = 0;
         AnimInsCriteria arg_A234_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A22F_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_A239_0[arg_A239_1] = new AnimationInstruction(arg_A234_0, new AnimInsEvent(arg_A22F_0, array2));
         arg_A241_0.Add(arg_A241_1, new Animation(arg_A23C_0, arg_A23C_1, arg_A23C_2, arg_A23C_3, arg_A23C_4, arg_A23C_5, arg_A23C_6, arg_A23C_7, arg_A23C_8, arg_A23C_9, arg_A23C_10, arg_A23C_11, arg_A23C_12, arg_A23C_13, arg_A23C_14, array));
         Dictionary<ushort, Animation> arg_A2BC_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A2BC_1 = 2;
         ushort arg_A2B7_0 = 2;
         byte arg_A2B7_1 = 0;
         Texture2D arg_A2B7_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle");
         Vector2 arg_A2B7_3 = new Vector2(13f, 21f);
         int arg_A2B7_4 = 4;
         int arg_A2B7_5 = 6;
         int arg_A2B7_6 = 27;
         int arg_A2B7_7 = 30;
         int arg_A2B7_8 = 0;
         int arg_A2B7_9 = 0;
         int arg_A2B7_10 = 12;
         Animation.LoopSettings arg_A2B7_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A2B7_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A2B7_13 = true;
         bool arg_A2B7_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A2B4_0 = array;
         int arg_A2B4_1 = 0;
         AnimInsCriteria arg_A2AF_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A2AA_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A2B4_0[arg_A2B4_1] = new AnimationInstruction(arg_A2AF_0, new AnimInsEvent(arg_A2AA_0, array2));
         arg_A2BC_0.Add(arg_A2BC_1, new Animation(arg_A2B7_0, arg_A2B7_1, arg_A2B7_2, arg_A2B7_3, arg_A2B7_4, arg_A2B7_5, arg_A2B7_6, arg_A2B7_7, arg_A2B7_8, arg_A2B7_9, arg_A2B7_10, arg_A2B7_11, arg_A2B7_12, arg_A2B7_13, arg_A2B7_14, array));
         sPath = "Summer";
         xEn.xRenderComponent.dixAnimations.Add(10, new Animation(10, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle"), new Vector2(13f, 21f), 4, 1, 27, 30, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 200f
             })),
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         Dictionary<ushort, Animation> arg_A402_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A402_1 = 11;
         ushort arg_A3FD_0 = 11;
         byte arg_A3FD_1 = 0;
         Texture2D arg_A3FD_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Hit");
         Vector2 arg_A3FD_3 = new Vector2(13f, 21f);
         int arg_A3FD_4 = 4;
         int arg_A3FD_5 = 3;
         int arg_A3FD_6 = 27;
         int arg_A3FD_7 = 30;
         int arg_A3FD_8 = 0;
         int arg_A3FD_9 = 0;
         int arg_A3FD_10 = 12;
         Animation.LoopSettings arg_A3FD_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A3FD_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A3FD_13 = true;
         bool arg_A3FD_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A3FA_0 = array;
         int arg_A3FA_1 = 0;
         AnimInsCriteria arg_A3F5_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A3F0_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A3FA_0[arg_A3FA_1] = new AnimationInstruction(arg_A3F5_0, new AnimInsEvent(arg_A3F0_0, array2));
         arg_A402_0.Add(arg_A402_1, new Animation(arg_A3FD_0, arg_A3FD_1, arg_A3FD_2, arg_A3FD_3, arg_A3FD_4, arg_A3FD_5, arg_A3FD_6, arg_A3FD_7, arg_A3FD_8, arg_A3FD_9, arg_A3FD_10, arg_A3FD_11, arg_A3FD_12, arg_A3FD_13, arg_A3FD_14, array));
         Dictionary<ushort, Animation> arg_A47F_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A47F_1 = 12;
         ushort arg_A47A_0 = 12;
         byte arg_A47A_1 = 0;
         Texture2D arg_A47A_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle");
         Vector2 arg_A47A_3 = new Vector2(13f, 21f);
         int arg_A47A_4 = 4;
         int arg_A47A_5 = 6;
         int arg_A47A_6 = 27;
         int arg_A47A_7 = 30;
         int arg_A47A_8 = 0;
         int arg_A47A_9 = 0;
         int arg_A47A_10 = 12;
         Animation.LoopSettings arg_A47A_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A47A_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A47A_13 = true;
         bool arg_A47A_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A477_0 = array;
         int arg_A477_1 = 0;
         AnimInsCriteria arg_A472_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A46D_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A477_0[arg_A477_1] = new AnimationInstruction(arg_A472_0, new AnimInsEvent(arg_A46D_0, array2));
         arg_A47F_0.Add(arg_A47F_1, new Animation(arg_A47A_0, arg_A47A_1, arg_A47A_2, arg_A47A_3, arg_A47A_4, arg_A47A_5, arg_A47A_6, arg_A47A_7, arg_A47A_8, arg_A47A_9, arg_A47A_10, arg_A47A_11, arg_A47A_12, arg_A47A_13, arg_A47A_14, array));
         Dictionary<ushort, Animation> arg_A4F8_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A4F8_1 = 13;
         ushort arg_A4F3_0 = 13;
         byte arg_A4F3_1 = 0;
         Texture2D arg_A4F3_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Start" + sPath);
         Vector2 arg_A4F3_3 = new Vector2(13f, 21f);
         int arg_A4F3_4 = 4;
         int arg_A4F3_5 = 10;
         int arg_A4F3_6 = 27;
         int arg_A4F3_7 = 30;
         int arg_A4F3_8 = 0;
         int arg_A4F3_9 = 0;
         int arg_A4F3_10 = 12;
         Animation.LoopSettings arg_A4F3_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A4F3_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A4F3_13 = true;
         bool arg_A4F3_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A4F0_0 = array;
         int arg_A4F0_1 = 0;
         AnimInsCriteria arg_A4EB_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A4E6_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A4F0_0[arg_A4F0_1] = new AnimationInstruction(arg_A4EB_0, new AnimInsEvent(arg_A4E6_0, array2));
         arg_A4F8_0.Add(arg_A4F8_1, new Animation(arg_A4F3_0, arg_A4F3_1, arg_A4F3_2, arg_A4F3_3, arg_A4F3_4, arg_A4F3_5, arg_A4F3_6, arg_A4F3_7, arg_A4F3_8, arg_A4F3_9, arg_A4F3_10, arg_A4F3_11, arg_A4F3_12, arg_A4F3_13, arg_A4F3_14, array));
         Dictionary<ushort, Animation> arg_A571_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A571_1 = 43;
         ushort arg_A56C_0 = 43;
         byte arg_A56C_1 = 0;
         Texture2D arg_A56C_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Start" + sPath);
         Vector2 arg_A56C_3 = new Vector2(13f, 21f);
         int arg_A56C_4 = 4;
         int arg_A56C_5 = 10;
         int arg_A56C_6 = 27;
         int arg_A56C_7 = 30;
         int arg_A56C_8 = 0;
         int arg_A56C_9 = 0;
         int arg_A56C_10 = 12;
         Animation.LoopSettings arg_A56C_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A56C_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A56C_13 = true;
         bool arg_A56C_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A569_0 = array;
         int arg_A569_1 = 0;
         AnimInsCriteria arg_A564_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A55F_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A569_0[arg_A569_1] = new AnimationInstruction(arg_A564_0, new AnimInsEvent(arg_A55F_0, array2));
         arg_A571_0.Add(arg_A571_1, new Animation(arg_A56C_0, arg_A56C_1, arg_A56C_2, arg_A56C_3, arg_A56C_4, arg_A56C_5, arg_A56C_6, arg_A56C_7, arg_A56C_8, arg_A56C_9, arg_A56C_10, arg_A56C_11, arg_A56C_12, arg_A56C_13, arg_A56C_14, array));
         xEn.xRenderComponent.dixAnimations[43].bReversePlayback = true;
         sPath = "Fall";
         xEn.xRenderComponent.dixAnimations.Add(20, new Animation(20, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle"), new Vector2(13f, 21f), 4, 1, 27, 30, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 200f
             })),
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         Dictionary<ushort, Animation> arg_A6CF_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A6CF_1 = 21;
         ushort arg_A6CA_0 = 21;
         byte arg_A6CA_1 = 0;
         Texture2D arg_A6CA_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Hit");
         Vector2 arg_A6CA_3 = new Vector2(13f, 21f);
         int arg_A6CA_4 = 4;
         int arg_A6CA_5 = 3;
         int arg_A6CA_6 = 27;
         int arg_A6CA_7 = 30;
         int arg_A6CA_8 = 0;
         int arg_A6CA_9 = 0;
         int arg_A6CA_10 = 12;
         Animation.LoopSettings arg_A6CA_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A6CA_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A6CA_13 = true;
         bool arg_A6CA_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A6C7_0 = array;
         int arg_A6C7_1 = 0;
         AnimInsCriteria arg_A6C2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A6BD_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A6C7_0[arg_A6C7_1] = new AnimationInstruction(arg_A6C2_0, new AnimInsEvent(arg_A6BD_0, array2));
         arg_A6CF_0.Add(arg_A6CF_1, new Animation(arg_A6CA_0, arg_A6CA_1, arg_A6CA_2, arg_A6CA_3, arg_A6CA_4, arg_A6CA_5, arg_A6CA_6, arg_A6CA_7, arg_A6CA_8, arg_A6CA_9, arg_A6CA_10, arg_A6CA_11, arg_A6CA_12, arg_A6CA_13, arg_A6CA_14, array));
         Dictionary<ushort, Animation> arg_A74C_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A74C_1 = 22;
         ushort arg_A747_0 = 22;
         byte arg_A747_1 = 0;
         Texture2D arg_A747_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle");
         Vector2 arg_A747_3 = new Vector2(13f, 21f);
         int arg_A747_4 = 4;
         int arg_A747_5 = 6;
         int arg_A747_6 = 27;
         int arg_A747_7 = 30;
         int arg_A747_8 = 0;
         int arg_A747_9 = 0;
         int arg_A747_10 = 12;
         Animation.LoopSettings arg_A747_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A747_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A747_13 = true;
         bool arg_A747_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A744_0 = array;
         int arg_A744_1 = 0;
         AnimInsCriteria arg_A73F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A73A_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A744_0[arg_A744_1] = new AnimationInstruction(arg_A73F_0, new AnimInsEvent(arg_A73A_0, array2));
         arg_A74C_0.Add(arg_A74C_1, new Animation(arg_A747_0, arg_A747_1, arg_A747_2, arg_A747_3, arg_A747_4, arg_A747_5, arg_A747_6, arg_A747_7, arg_A747_8, arg_A747_9, arg_A747_10, arg_A747_11, arg_A747_12, arg_A747_13, arg_A747_14, array));
         Dictionary<ushort, Animation> arg_A7C5_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A7C5_1 = 23;
         ushort arg_A7C0_0 = 23;
         byte arg_A7C0_1 = 0;
         Texture2D arg_A7C0_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Start" + sPath);
         Vector2 arg_A7C0_3 = new Vector2(13f, 21f);
         int arg_A7C0_4 = 4;
         int arg_A7C0_5 = 10;
         int arg_A7C0_6 = 27;
         int arg_A7C0_7 = 30;
         int arg_A7C0_8 = 0;
         int arg_A7C0_9 = 0;
         int arg_A7C0_10 = 12;
         Animation.LoopSettings arg_A7C0_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A7C0_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A7C0_13 = true;
         bool arg_A7C0_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A7BD_0 = array;
         int arg_A7BD_1 = 0;
         AnimInsCriteria arg_A7B8_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A7B3_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A7BD_0[arg_A7BD_1] = new AnimationInstruction(arg_A7B8_0, new AnimInsEvent(arg_A7B3_0, array2));
         arg_A7C5_0.Add(arg_A7C5_1, new Animation(arg_A7C0_0, arg_A7C0_1, arg_A7C0_2, arg_A7C0_3, arg_A7C0_4, arg_A7C0_5, arg_A7C0_6, arg_A7C0_7, arg_A7C0_8, arg_A7C0_9, arg_A7C0_10, arg_A7C0_11, arg_A7C0_12, arg_A7C0_13, arg_A7C0_14, array));
         Dictionary<ushort, Animation> arg_A83E_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A83E_1 = 44;
         ushort arg_A839_0 = 44;
         byte arg_A839_1 = 0;
         Texture2D arg_A839_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Start" + sPath);
         Vector2 arg_A839_3 = new Vector2(13f, 21f);
         int arg_A839_4 = 4;
         int arg_A839_5 = 10;
         int arg_A839_6 = 27;
         int arg_A839_7 = 30;
         int arg_A839_8 = 0;
         int arg_A839_9 = 0;
         int arg_A839_10 = 12;
         Animation.LoopSettings arg_A839_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A839_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A839_13 = true;
         bool arg_A839_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A836_0 = array;
         int arg_A836_1 = 0;
         AnimInsCriteria arg_A831_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A82C_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A836_0[arg_A836_1] = new AnimationInstruction(arg_A831_0, new AnimInsEvent(arg_A82C_0, array2));
         arg_A83E_0.Add(arg_A83E_1, new Animation(arg_A839_0, arg_A839_1, arg_A839_2, arg_A839_3, arg_A839_4, arg_A839_5, arg_A839_6, arg_A839_7, arg_A839_8, arg_A839_9, arg_A839_10, arg_A839_11, arg_A839_12, arg_A839_13, arg_A839_14, array));
         xEn.xRenderComponent.dixAnimations[44].bReversePlayback = true;
         sPath = "Winter";
         xEn.xRenderComponent.dixAnimations.Add(30, new Animation(30, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle"), new Vector2(13f, 21f), 4, 1, 27, 30, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 200f
             })),
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         Dictionary<ushort, Animation> arg_A99C_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_A99C_1 = 31;
         ushort arg_A997_0 = 31;
         byte arg_A997_1 = 0;
         Texture2D arg_A997_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Hit");
         Vector2 arg_A997_3 = new Vector2(13f, 21f);
         int arg_A997_4 = 4;
         int arg_A997_5 = 3;
         int arg_A997_6 = 27;
         int arg_A997_7 = 30;
         int arg_A997_8 = 0;
         int arg_A997_9 = 0;
         int arg_A997_10 = 12;
         Animation.LoopSettings arg_A997_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_A997_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_A997_13 = true;
         bool arg_A997_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_A994_0 = array;
         int arg_A994_1 = 0;
         AnimInsCriteria arg_A98F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_A98A_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_A994_0[arg_A994_1] = new AnimationInstruction(arg_A98F_0, new AnimInsEvent(arg_A98A_0, array2));
         arg_A99C_0.Add(arg_A99C_1, new Animation(arg_A997_0, arg_A997_1, arg_A997_2, arg_A997_3, arg_A997_4, arg_A997_5, arg_A997_6, arg_A997_7, arg_A997_8, arg_A997_9, arg_A997_10, arg_A997_11, arg_A997_12, arg_A997_13, arg_A997_14, array));
         Dictionary<ushort, Animation> arg_AA19_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_AA19_1 = 32;
         ushort arg_AA14_0 = 32;
         byte arg_AA14_1 = 0;
         Texture2D arg_AA14_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle");
         Vector2 arg_AA14_3 = new Vector2(13f, 21f);
         int arg_AA14_4 = 4;
         int arg_AA14_5 = 6;
         int arg_AA14_6 = 27;
         int arg_AA14_7 = 30;
         int arg_AA14_8 = 0;
         int arg_AA14_9 = 0;
         int arg_AA14_10 = 12;
         Animation.LoopSettings arg_AA14_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_AA14_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_AA14_13 = true;
         bool arg_AA14_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_AA11_0 = array;
         int arg_AA11_1 = 0;
         AnimInsCriteria arg_AA0C_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_AA07_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_AA11_0[arg_AA11_1] = new AnimationInstruction(arg_AA0C_0, new AnimInsEvent(arg_AA07_0, array2));
         arg_AA19_0.Add(arg_AA19_1, new Animation(arg_AA14_0, arg_AA14_1, arg_AA14_2, arg_AA14_3, arg_AA14_4, arg_AA14_5, arg_AA14_6, arg_AA14_7, arg_AA14_8, arg_AA14_9, arg_AA14_10, arg_AA14_11, arg_AA14_12, arg_AA14_13, arg_AA14_14, array));
         Dictionary<ushort, Animation> arg_AA92_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_AA92_1 = 33;
         ushort arg_AA8D_0 = 33;
         byte arg_AA8D_1 = 0;
         Texture2D arg_AA8D_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Start" + sPath);
         Vector2 arg_AA8D_3 = new Vector2(13f, 21f);
         int arg_AA8D_4 = 4;
         int arg_AA8D_5 = 10;
         int arg_AA8D_6 = 27;
         int arg_AA8D_7 = 30;
         int arg_AA8D_8 = 0;
         int arg_AA8D_9 = 0;
         int arg_AA8D_10 = 12;
         Animation.LoopSettings arg_AA8D_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_AA8D_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_AA8D_13 = true;
         bool arg_AA8D_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_AA8A_0 = array;
         int arg_AA8A_1 = 0;
         AnimInsCriteria arg_AA85_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_AA80_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_AA8A_0[arg_AA8A_1] = new AnimationInstruction(arg_AA85_0, new AnimInsEvent(arg_AA80_0, array2));
         arg_AA92_0.Add(arg_AA92_1, new Animation(arg_AA8D_0, arg_AA8D_1, arg_AA8D_2, arg_AA8D_3, arg_AA8D_4, arg_AA8D_5, arg_AA8D_6, arg_AA8D_7, arg_AA8D_8, arg_AA8D_9, arg_AA8D_10, arg_AA8D_11, arg_AA8D_12, arg_AA8D_13, arg_AA8D_14, array));
         Dictionary<ushort, Animation> arg_AB0B_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_AB0B_1 = 45;
         ushort arg_AB06_0 = 45;
         byte arg_AB06_1 = 0;
         Texture2D arg_AB06_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Start" + sPath);
         Vector2 arg_AB06_3 = new Vector2(13f, 21f);
         int arg_AB06_4 = 4;
         int arg_AB06_5 = 10;
         int arg_AB06_6 = 27;
         int arg_AB06_7 = 30;
         int arg_AB06_8 = 0;
         int arg_AB06_9 = 0;
         int arg_AB06_10 = 12;
         Animation.LoopSettings arg_AB06_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_AB06_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_AB06_13 = true;
         bool arg_AB06_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_AB03_0 = array;
         int arg_AB03_1 = 0;
         AnimInsCriteria arg_AAFE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_AAF9_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_AB03_0[arg_AB03_1] = new AnimationInstruction(arg_AAFE_0, new AnimInsEvent(arg_AAF9_0, array2));
         arg_AB0B_0.Add(arg_AB0B_1, new Animation(arg_AB06_0, arg_AB06_1, arg_AB06_2, arg_AB06_3, arg_AB06_4, arg_AB06_5, arg_AB06_6, arg_AB06_7, arg_AB06_8, arg_AB06_9, arg_AB06_10, arg_AB06_11, arg_AB06_12, arg_AB06_13, arg_AB06_14, array));
         xEn.xRenderComponent.dixAnimations[45].bReversePlayback = true;
         sPath = "Dead";
         xEn.xRenderComponent.dixAnimations.Add(40, new Animation(40, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle"), new Vector2(13f, 21f), 4, 1, 27, 30, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_ABFB_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_ABFB_1 = 41;
         ushort arg_ABF6_0 = 41;
         byte arg_ABF6_1 = 0;
         Texture2D arg_ABF6_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Hit");
         Vector2 arg_ABF6_3 = new Vector2(13f, 21f);
         int arg_ABF6_4 = 4;
         int arg_ABF6_5 = 3;
         int arg_ABF6_6 = 27;
         int arg_ABF6_7 = 30;
         int arg_ABF6_8 = 0;
         int arg_ABF6_9 = 0;
         int arg_ABF6_10 = 12;
         Animation.LoopSettings arg_ABF6_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_ABF6_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_ABF6_13 = true;
         bool arg_ABF6_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_ABF3_0 = array;
         int arg_ABF3_1 = 0;
         AnimInsCriteria arg_ABEE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_ABE9_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_ABF3_0[arg_ABF3_1] = new AnimationInstruction(arg_ABEE_0, new AnimInsEvent(arg_ABE9_0, array2));
         arg_ABFB_0.Add(arg_ABFB_1, new Animation(arg_ABF6_0, arg_ABF6_1, arg_ABF6_2, arg_ABF6_3, arg_ABF6_4, arg_ABF6_5, arg_ABF6_6, arg_ABF6_7, arg_ABF6_8, arg_ABF6_9, arg_ABF6_10, arg_ABF6_11, arg_ABF6_12, arg_ABF6_13, arg_ABF6_14, array));
         Dictionary<ushort, Animation> arg_AC78_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_AC78_1 = 42;
         ushort arg_AC73_0 = 42;
         byte arg_AC73_1 = 0;
         Texture2D arg_AC73_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/" + sPath + "/Idle");
         Vector2 arg_AC73_3 = new Vector2(13f, 21f);
         int arg_AC73_4 = 4;
         int arg_AC73_5 = 1;
         int arg_AC73_6 = 27;
         int arg_AC73_7 = 30;
         int arg_AC73_8 = 0;
         int arg_AC73_9 = 0;
         int arg_AC73_10 = 12;
         Animation.LoopSettings arg_AC73_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_AC73_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_AC73_13 = true;
         bool arg_AC73_14 = true;
         array = new AnimationInstruction[1];
         AnimationInstruction[] arg_AC70_0 = array;
         int arg_AC70_1 = 0;
         AnimInsCriteria arg_AC6B_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_AC66_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_AC70_0[arg_AC70_1] = new AnimationInstruction(arg_AC6B_0, new AnimInsEvent(arg_AC66_0, array2));
         arg_AC78_0.Add(arg_AC78_1, new Animation(arg_AC73_0, arg_AC73_1, arg_AC73_2, arg_AC73_3, arg_AC73_4, arg_AC73_5, arg_AC73_6, arg_AC73_7, arg_AC73_8, arg_AC73_9, arg_AC73_10, arg_AC73_11, arg_AC73_12, arg_AC73_13, arg_AC73_14, array));
         Dictionary<ushort, Animation> arg_AD1E_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_AD1E_1 = 50;
         ushort arg_AD19_0 = 50;
         byte arg_AD19_1 = 0;
         Texture2D arg_AD19_2 = Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Explode");
         Vector2 arg_AD19_3 = new Vector2(34f, 41f);
         int arg_AD19_4 = 4;
         int arg_AD19_5 = 12;
         int arg_AD19_6 = 69;
         int arg_AD19_7 = 66;
         int arg_AD19_8 = 0;
         int arg_AD19_9 = 0;
         int arg_AD19_10 = 12;
         Animation.LoopSettings arg_AD19_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_AD19_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_AD19_13 = true;
         bool arg_AD19_14 = true;
         array = new AnimationInstruction[2];
         AnimationInstruction[] arg_ACE8_0 = array;
         int arg_ACE8_1 = 0;
         AnimInsCriteria arg_ACE3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_ACDE_0 = AnimInsEvent.EventType.PlaySound;
         string arg_ACDE_1 = "Explode2a";
         array2 = new float[1];
         arg_ACE8_0[arg_ACE8_1] = new AnimationInstruction(arg_ACE3_0, new AnimInsEvent(arg_ACDE_0, arg_ACDE_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             51f
         }));
         arg_AD1E_0.Add(arg_AD1E_1, new Animation(arg_AD19_0, arg_AD19_1, arg_AD19_2, arg_AD19_3, arg_AD19_4, arg_AD19_5, arg_AD19_6, arg_AD19_7, arg_AD19_8, arg_AD19_9, arg_AD19_10, arg_AD19_11, arg_AD19_12, arg_AD19_13, arg_AD19_14, array));
         xEn.xRenderComponent.dixAnimations.Add(51, new Animation(51, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Orbs/Dead/Explode"), new Vector2(34f, 41f), 4, 1, 69, 66, 759, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_SeasonChangeOrb_Dead)
         {
             xEn.xRenderComponent.dixAnimations[0] = xEn.xRenderComponent.dixAnimations[40];
             xEn.xRenderComponent.dixAnimations[1] = xEn.xRenderComponent.dixAnimations[41];
             xEn.xRenderComponent.dixAnimations[2] = xEn.xRenderComponent.dixAnimations[42];
         }
         xEn.xCollisionComponent.xMovementCollider = new SphereCollider(13f, new Vector2(0f, 0f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, new Vector2(0f, 0f), xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.RegionKey)
     {
         xEn = new RegionKey();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/Key"), new Vector2(5f, 13f), 4, 1, 9, 16, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.RegionKeyInChest_FlyingTemple)
     {
         xEn = new RegionKeyChest();
         RegionKeyChest xChest4 = xEn as RegionKeyChest;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.Interactable;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xChest4.colInteractCollider = new BoxCollider(23, 23, 0f, new Vector2(0f, 6f), xEn.xTransform, 0f, xEn);
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation_flying"), new Vector2(14f, 32f), 4, 1, 27, 38, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation_flying"), new Vector2(14f, 32f), 4, 5, 27, 38, 0, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Containers/Chest/Chest_OpenAnimation_flying"), new Vector2(14f, 32f), 4, 1, 27, 38, 108, 0, 5, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 10, 0f, Vector2.Zero, xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(2f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.BowGame_Target)
     {
         xEn = new DE_BowgameTarget();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetGreen"), new Vector2(17f, 27f), 4, 1, 33, 32, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetGreen"), new Vector2(17f, 27f), 4, 6, 33, 32, 33, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetRed"), new Vector2(17f, 27f), 4, 1, 33, 32, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetRed"), new Vector2(17f, 27f), 4, 6, 33, 32, 33, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetBlue"), new Vector2(17f, 27f), 4, 1, 33, 32, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetBlue"), new Vector2(17f, 27f), 4, 6, 33, 32, 33, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetMoveBee"), new Vector2(17f, 42f), 4, 11, 33, 47, 0, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 1f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 14f
             })),
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
             {
                 7f
             }), new AnimInsEvent(AnimInsEvent.EventType.FreezeFrame, new float[]
             {
                 14f
             })),
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 6f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 0, Content.Load<Texture2D>("GUI/MiniGames/Bow Minigame/TargetBee"), new Vector2(17f, 27f), 4, 6, 33, 32, 33, 0, 12, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(24, 14, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Quest_SuperChickenCoop)
     {
         xEn = new SuperChickenCoop();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Buildings/Village/Chickencoop/Bounce"), new Vector2(36f, 62f), 4, 1, 74, 74, 444, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_B52A_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_B52A_1 = 1;
         ushort arg_B525_0 = 1;
         byte arg_B525_1 = 0;
         Texture2D arg_B525_2 = Content.Load<Texture2D>("Sprites/Environment/Buildings/Village/Chickencoop/Bounce");
         Vector2 arg_B525_3 = new Vector2(36f, 62f);
         int arg_B525_4 = 4;
         int arg_B525_5 = 7;
         int arg_B525_6 = 74;
         int arg_B525_7 = 74;
         int arg_B525_8 = 0;
         int arg_B525_9 = 0;
         int arg_B525_10 = 11;
         Animation.LoopSettings arg_B525_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_B525_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_B525_13 = true;
         bool arg_B525_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_B522_0 = array;
         int arg_B522_1 = 0;
         AnimInsCriteria arg_B51D_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_B518_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_B522_0[arg_B522_1] = new AnimationInstruction(arg_B51D_0, new AnimInsEvent(arg_B518_0, array2));
         arg_B52A_0.Add(arg_B52A_1, new Animation(arg_B525_0, arg_B525_1, arg_B525_2, arg_B525_3, arg_B525_4, arg_B525_5, arg_B525_6, arg_B525_7, arg_B525_8, arg_B525_9, arg_B525_10, arg_B525_11, arg_B525_12, arg_B525_13, arg_B525_14, array));
         xEn.xRenderComponent.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(39, 28, 0f, new Vector2(0f, -7f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         SortedAnimated xChickenSpin = new SortedAnimated(xEn.xTransform.v2Pos + new Vector2(0f, -50f), SortedAnimated.SortedAnimatedEffects.None);
         xChickenSpin.xRenderComponent.xTransform = xEn.xTransform;
         xChickenSpin.xRenderComponent.v2OffsetRenderPos = new Vector2(0f, -50f);
         AnimatedRenderComponent.SetAndSwitch(xChickenSpin.xRenderComponent as AnimatedRenderComponent, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Environment/Buildings/Village/ChickenHouseSpin"), new Vector2(12f, 24f), 5, 14, 23, 27, 0, 0, 14, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xChickenSpin.xRenderComponent.fVirtualHeight = 2f;
         Program.GetTheGame()._EffectMaster_AddEffect(xChickenSpin);
         (xEn as SuperChickenCoop).xMossan = xChickenSpin;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Quest_BreakableRockWestFields)
     {
         xEn = new Unique_BreakableRockWestField();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone012_EvergrindWest/RockBreak"), new Vector2(49f, 33f), 4, 1, 92, 62, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(47, 22, 0f, new Vector2(-2f, -6f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(47, 22, 0f, new Vector2(-2f, -6f), xEn.xTransform, 10000f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.FieldsSouth_ArrowInShield)
     {
         xEn = new Unique_ArrowShieldSouthField();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(49f, 33f), 4, 1, 92, 62, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.SwitchAnimation(0, Animation.CancelOptions.IgnoreIfPlaying);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(47, 22, 0f, new Vector2(-2f, -6f), xEn.xTransform, 10000f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(10, 16, 0f, new Vector2(0f, -5f), xEn.xTransform, 10000f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.NeutralPuzzleBox)
     {
         xEn = new PuzzleBox();
         xEn = (xEn as PuzzleBox);
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/DefaultBlock"), new Vector2(10f, 17f), 4, 1, 20, 25, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.NeutralPuzzleBox_ToyFactory)
     {
         xEn = new PuzzleBox();
         xEn = (xEn as PuzzleBox);
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/ToyFactory/DefaultBlock"), new Vector2(10f, 17f), 4, 1, 20, 25, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MirrorBlockBLTR)
     {
         xEn = new PuzzleBox();
         PuzzleBox xPuz = xEn as PuzzleBox;
         xPuz.byMirrorDirection = 0;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorBlockB"), new Vector2(10f, 25f), 4, 1, 20, 33, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_BB3E_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_BB3E_1 = 1;
         ushort arg_BB39_0 = 1;
         byte arg_BB39_1 = 0;
         Texture2D arg_BB39_2 = Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorBlockB");
         Vector2 arg_BB39_3 = new Vector2(10f, 25f);
         int arg_BB39_4 = 4;
         int arg_BB39_5 = 8;
         int arg_BB39_6 = 20;
         int arg_BB39_7 = 33;
         int arg_BB39_8 = 0;
         int arg_BB39_9 = 0;
         int arg_BB39_10 = 10;
         Animation.LoopSettings arg_BB39_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_BB39_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_BB39_13 = true;
         bool arg_BB39_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_BB36_0 = array;
         int arg_BB36_1 = 0;
         AnimInsCriteria arg_BB31_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_BB2C_0 = AnimInsEvent.EventType.PlaySound;
         string arg_BB2C_1 = "mirror_bounce";
         float[] array2 = new float[1];
         arg_BB36_0[arg_BB36_1] = new AnimationInstruction(arg_BB31_0, new AnimInsEvent(arg_BB2C_0, arg_BB2C_1, array2));
         arg_BB3E_0.Add(arg_BB3E_1, new Animation(arg_BB39_0, arg_BB39_1, arg_BB39_2, arg_BB39_3, arg_BB39_4, arg_BB39_5, arg_BB39_6, arg_BB39_7, arg_BB39_8, arg_BB39_9, arg_BB39_10, arg_BB39_11, arg_BB39_12, arg_BB39_13, arg_BB39_14, array));
         xPuz.xFulkodsmannen = new AnimatedRenderComponent(xEn);
         xPuz.xFulkodsmannen.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorB"), new Vector2(10f, 25f), 4, 1, 20, 33, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xPuz.xFulkodsmannen.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorB"), new Vector2(10f, 25f), 4, 1, 20, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xPuz.xFulkodsmannen.xTransform = xEn.xTransform;
         Program.game.xRenderMaster.RegisterSortedRenderComponent(xPuz.xFulkodsmannen);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.xMovementCollider.bIsFlatCollider = true;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MirrorBlockTLBR)
     {
         xEn = new PuzzleBox();
         PuzzleBox xPuz2 = xEn as PuzzleBox;
         xPuz2.byMirrorDirection = 1;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorBlockB"), new Vector2(10f, 25f), 4, 1, 20, 33, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_BD62_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_BD62_1 = 1;
         ushort arg_BD5D_0 = 1;
         byte arg_BD5D_1 = 0;
         Texture2D arg_BD5D_2 = Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorBlockB");
         Vector2 arg_BD5D_3 = new Vector2(10f, 25f);
         int arg_BD5D_4 = 4;
         int arg_BD5D_5 = 8;
         int arg_BD5D_6 = 20;
         int arg_BD5D_7 = 33;
         int arg_BD5D_8 = 0;
         int arg_BD5D_9 = 0;
         int arg_BD5D_10 = 10;
         Animation.LoopSettings arg_BD5D_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_BD5D_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_BD5D_13 = true;
         bool arg_BD5D_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_BD5A_0 = array;
         int arg_BD5A_1 = 0;
         AnimInsCriteria arg_BD55_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_BD50_0 = AnimInsEvent.EventType.PlaySound;
         string arg_BD50_1 = "mirror_bounce";
         float[] array2 = new float[1];
         arg_BD5A_0[arg_BD5A_1] = new AnimationInstruction(arg_BD55_0, new AnimInsEvent(arg_BD50_0, arg_BD50_1, array2));
         arg_BD62_0.Add(arg_BD62_1, new Animation(arg_BD5D_0, arg_BD5D_1, arg_BD5D_2, arg_BD5D_3, arg_BD5D_4, arg_BD5D_5, arg_BD5D_6, arg_BD5D_7, arg_BD5D_8, arg_BD5D_9, arg_BD5D_10, arg_BD5D_11, arg_BD5D_12, arg_BD5D_13, arg_BD5D_14, array));
         xEn.xRenderComponent.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.enSpriteEffect = SpriteEffects.FlipHorizontally;
         xPuz2.xFulkodsmannen = new AnimatedRenderComponent(xEn);
         xPuz2.xFulkodsmannen.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorB"), new Vector2(10f, 25f), 4, 1, 20, 33, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xPuz2.xFulkodsmannen.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorB"), new Vector2(10f, 25f), 4, 1, 20, 33, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xPuz2.xFulkodsmannen.dixAnimations[0].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xPuz2.xFulkodsmannen.dixAnimations[1].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xPuz2.xFulkodsmannen.enSpriteEffect = SpriteEffects.FlipHorizontally;
         xPuz2.xFulkodsmannen.xTransform = xEn.xTransform;
         Program.game.xRenderMaster.RegisterSortedRenderComponent(xPuz2.xFulkodsmannen);
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.xMovementCollider.bIsFlatCollider = true;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PuzzleRuneBlock01)
     {
         xEn = new PuzzleBox();
         xEn = (xEn as PuzzleBox);
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/RuneBlock01"), new Vector2(10f, 17f), 4, 1, 20, 25, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_C021_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_C021_1 = 1;
         ushort arg_C01C_0 = 1;
         byte arg_C01C_1 = 0;
         Texture2D arg_C01C_2 = Content.Load<Texture2D>("Sprites/Puzzles/Blocks/RuneBlock01Flash");
         Vector2 arg_C01C_3 = new Vector2(10f, 17f);
         int arg_C01C_4 = 4;
         int arg_C01C_5 = 6;
         int arg_C01C_6 = 20;
         int arg_C01C_7 = 25;
         int arg_C01C_8 = 0;
         int arg_C01C_9 = 0;
         int arg_C01C_10 = 6;
         Animation.LoopSettings arg_C01C_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_C01C_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_C01C_13 = true;
         bool arg_C01C_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         AnimationInstruction[] arg_C019_0 = array;
         int arg_C019_1 = 1;
         AnimInsCriteria arg_C014_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_C00F_0 = AnimInsEvent.EventType.PlaySound;
         string arg_C00F_1 = "Puzzle_solved";
         float[] array2 = new float[1];
         arg_C019_0[arg_C019_1] = new AnimationInstruction(arg_C014_0, new AnimInsEvent(arg_C00F_0, arg_C00F_1, array2));
         arg_C021_0.Add(arg_C021_1, new Animation(arg_C01C_0, arg_C01C_1, arg_C01C_2, arg_C01C_3, arg_C01C_4, arg_C01C_5, arg_C01C_6, arg_C01C_7, arg_C01C_8, arg_C01C_9, arg_C01C_10, arg_C01C_11, arg_C01C_12, arg_C01C_13, arg_C01C_14, array));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/RuneBlock01Solved"), new Vector2(10f, 17f), 4, 10, 20, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PuzzleRuneBlock01_ToyFactory)
     {
         xEn = new PuzzleBox();
         xEn = (xEn as PuzzleBox);
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/ToyFactory/RuneBlock01"), new Vector2(10f, 17f), 4, 1, 20, 25, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_C1DD_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_C1DD_1 = 1;
         ushort arg_C1D8_0 = 1;
         byte arg_C1D8_1 = 0;
         Texture2D arg_C1D8_2 = Content.Load<Texture2D>("Sprites/Puzzles/Blocks/ToyFactory/RuneBlock01Flash");
         Vector2 arg_C1D8_3 = new Vector2(10f, 17f);
         int arg_C1D8_4 = 4;
         int arg_C1D8_5 = 6;
         int arg_C1D8_6 = 20;
         int arg_C1D8_7 = 25;
         int arg_C1D8_8 = 0;
         int arg_C1D8_9 = 0;
         int arg_C1D8_10 = 6;
         Animation.LoopSettings arg_C1D8_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_C1D8_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_C1D8_13 = true;
         bool arg_C1D8_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         array[0] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         AnimationInstruction[] arg_C1D5_0 = array;
         int arg_C1D5_1 = 1;
         AnimInsCriteria arg_C1D0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_C1CB_0 = AnimInsEvent.EventType.PlaySound;
         string arg_C1CB_1 = "Puzzle_solved";
         float[] array2 = new float[1];
         arg_C1D5_0[arg_C1D5_1] = new AnimationInstruction(arg_C1D0_0, new AnimInsEvent(arg_C1CB_0, arg_C1CB_1, array2));
         arg_C1DD_0.Add(arg_C1DD_1, new Animation(arg_C1D8_0, arg_C1D8_1, arg_C1D8_2, arg_C1D8_3, arg_C1D8_4, arg_C1D8_5, arg_C1D8_6, arg_C1D8_7, arg_C1D8_8, arg_C1D8_9, arg_C1D8_10, arg_C1D8_11, arg_C1D8_12, arg_C1D8_13, arg_C1D8_14, array));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/ToyFactory/RuneBlock01Solved"), new Vector2(10f, 17f), 4, 10, 20, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PuzzleStopBlock01)
     {
         xEn = new PuzzleBox();
         PuzzleBox xPuz3 = xEn as PuzzleBox;
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bDestroyOnHit = false;
         xPuz3.bIsMovable = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/StopBlock02"), new Vector2(10f, 9f), 4, 1, 20, 17, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.xMovementCollider.bIsFlatCollider = true;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.ArbitraryLightShiftMirror)
     {
         xEn = new PhaseShiftMirror();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorBlockB"), new Vector2(10f, 17f), 4, 1, 20, 25, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Sprites/Puzzles/Blocks/MirrorBlockA"), new Vector2(10f, 17f), 4, 1, 20, 25, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(20, 15, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.xMovementCollider.bIsFlatCollider = true;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_PerfectGuardTrainer)
     {
         xEn = new Unique_PerfectGuardTrainer();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start"), new Vector2(20f, 23f), 4, 1, 41, 29, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_C5A3_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_C5A3_1 = 1;
         ushort arg_C59E_0 = 1;
         byte arg_C59E_1 = 0;
         Texture2D arg_C59E_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start");
         Vector2 arg_C59E_3 = new Vector2(20f, 23f);
         int arg_C59E_4 = 4;
         int arg_C59E_5 = 11;
         int arg_C59E_6 = 41;
         int arg_C59E_7 = 29;
         int arg_C59E_8 = 0;
         int arg_C59E_9 = 0;
         int arg_C59E_10 = 20;
         Animation.LoopSettings arg_C59E_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_C59E_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_C59E_13 = true;
         bool arg_C59E_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_C56D_0 = array;
         int arg_C56D_1 = 0;
         AnimInsCriteria arg_C568_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_C563_0 = AnimInsEvent.EventType.PlaySound;
         string arg_C563_1 = "guard_machine_start";
         float[] array2 = new float[1];
         arg_C56D_0[arg_C56D_1] = new AnimationInstruction(arg_C568_0, new AnimInsEvent(arg_C563_0, arg_C563_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_C5A3_0.Add(arg_C5A3_1, new Animation(arg_C59E_0, arg_C59E_1, arg_C59E_2, arg_C59E_3, arg_C59E_4, arg_C59E_5, arg_C59E_6, arg_C59E_7, arg_C59E_8, arg_C59E_9, arg_C59E_10, arg_C59E_11, arg_C59E_12, arg_C59E_13, arg_C59E_14, array));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start"), new Vector2(20f, 23f), 4, 1, 41, 29, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_C6C4_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_C6C4_1 = 3;
         ushort arg_C6BF_0 = 3;
         byte arg_C6BF_1 = 0;
         Texture2D arg_C6BF_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Attack");
         Vector2 arg_C6BF_3 = new Vector2(20f, 23f);
         int arg_C6BF_4 = 4;
         int arg_C6BF_5 = 13;
         int arg_C6BF_6 = 41;
         int arg_C6BF_7 = 29;
         int arg_C6BF_8 = 0;
         int arg_C6BF_9 = 0;
         int arg_C6BF_10 = 20;
         Animation.LoopSettings arg_C6BF_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_C6BF_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_C6BF_13 = true;
         bool arg_C6BF_14 = true;
         array = new AnimationInstruction[3];
         AnimationInstruction[] arg_C65B_0 = array;
         int arg_C65B_1 = 0;
         AnimInsCriteria arg_C656_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_C651_0 = AnimInsEvent.EventType.PlaySound;
         string arg_C651_1 = "guard_machine_attack";
         array2 = new float[1];
         arg_C65B_0[arg_C65B_1] = new AnimationInstruction(arg_C656_0, new AnimInsEvent(arg_C651_0, arg_C651_1, array2));
         AnimationInstruction[] arg_C68E_0 = array;
         int arg_C68E_1 = 1;
         AnimInsCriteria arg_C689_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             11f
         });
         AnimInsEvent.EventType arg_C684_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_C68E_0[arg_C68E_1] = new AnimationInstruction(arg_C689_0, new AnimInsEvent(arg_C684_0, array2));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_C6C4_0.Add(arg_C6C4_1, new Animation(arg_C6BF_0, arg_C6BF_1, arg_C6BF_2, arg_C6BF_3, arg_C6BF_4, arg_C6BF_5, arg_C6BF_6, arg_C6BF_7, arg_C6BF_8, arg_C6BF_9, arg_C6BF_10, arg_C6BF_11, arg_C6BF_12, arg_C6BF_13, arg_C6BF_14, array));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Damage"), new Vector2(18f, 35f), 4, 5, 37, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
             {
                 1f
             }))
         }));
         Dictionary<ushort, Animation> arg_C82A_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_C82A_1 = 5;
         ushort arg_C825_0 = 5;
         byte arg_C825_1 = 0;
         Texture2D arg_C825_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Clear");
         Vector2 arg_C825_3 = new Vector2(18f, 35f);
         int arg_C825_4 = 4;
         int arg_C825_5 = 11;
         int arg_C825_6 = 37;
         int arg_C825_7 = 41;
         int arg_C825_8 = 0;
         int arg_C825_9 = 0;
         int arg_C825_10 = 20;
         Animation.LoopSettings arg_C825_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_C825_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_C825_13 = true;
         bool arg_C825_14 = true;
         array = new AnimationInstruction[3];
         AnimationInstruction[] arg_C7B8_0 = array;
         int arg_C7B8_1 = 0;
         AnimInsCriteria arg_C7B3_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_C7AE_0 = AnimInsEvent.EventType.PlaySound;
         string arg_C7AE_1 = "guard_machine_powerup";
         array2 = new float[1];
         arg_C7B8_0[arg_C7B8_1] = new AnimationInstruction(arg_C7B3_0, new AnimInsEvent(arg_C7AE_0, arg_C7AE_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             9f
         }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
         {
             2f
         }));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             6f
         }));
         arg_C82A_0.Add(arg_C82A_1, new Animation(arg_C825_0, arg_C825_1, arg_C825_2, arg_C825_3, arg_C825_4, arg_C825_5, arg_C825_6, arg_C825_7, arg_C825_8, arg_C825_9, arg_C825_10, arg_C825_11, arg_C825_12, arg_C825_13, arg_C825_14, array));
         xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/ClearIdle"), new Vector2(18f, 35f), 4, 3, 37, 41, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_C90B_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_C90B_1 = 7;
         ushort arg_C906_0 = 7;
         byte arg_C906_1 = 0;
         Texture2D arg_C906_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start");
         Vector2 arg_C906_3 = new Vector2(20f, 23f);
         int arg_C906_4 = 4;
         int arg_C906_5 = 11;
         int arg_C906_6 = 41;
         int arg_C906_7 = 29;
         int arg_C906_8 = 0;
         int arg_C906_9 = 0;
         int arg_C906_10 = 20;
         Animation.LoopSettings arg_C906_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_C906_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_C906_13 = true;
         bool arg_C906_14 = true;
         array = new AnimationInstruction[2];
         AnimationInstruction[] arg_C8DE_0 = array;
         int arg_C8DE_1 = 0;
         AnimInsCriteria arg_C8D9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_C8D4_0 = AnimInsEvent.EventType.PlaySound;
         string arg_C8D4_1 = "guard_machine_shutdown";
         array2 = new float[1];
         arg_C8DE_0[arg_C8DE_1] = new AnimationInstruction(arg_C8D9_0, new AnimInsEvent(arg_C8D4_0, arg_C8D4_1, array2));
         AnimationInstruction[] arg_C903_0 = array;
         int arg_C903_1 = 1;
         AnimInsCriteria arg_C8FE_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_C8F9_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_C903_0[arg_C903_1] = new AnimationInstruction(arg_C8FE_0, new AnimInsEvent(arg_C8F9_0, array2));
         arg_C90B_0.Add(arg_C90B_1, new Animation(arg_C906_0, arg_C906_1, arg_C906_2, arg_C906_3, arg_C906_4, arg_C906_5, arg_C906_6, arg_C906_7, arg_C906_8, arg_C906_9, arg_C906_10, arg_C906_11, arg_C906_12, arg_C906_13, arg_C906_14, array));
         xEn.xRenderComponent.dixAnimations[7].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(5, 5, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, new Vector2(0f, -10f), xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_PerfectGuardRoguelike)
     {
         xEn = new Unique_PerfectGuardRoguelikeChallenge();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = true;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start"), new Vector2(20f, 23f), 4, 1, 41, 29, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_CAC1_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_CAC1_1 = 1;
         ushort arg_CABC_0 = 1;
         byte arg_CABC_1 = 0;
         Texture2D arg_CABC_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start");
         Vector2 arg_CABC_3 = new Vector2(20f, 23f);
         int arg_CABC_4 = 4;
         int arg_CABC_5 = 11;
         int arg_CABC_6 = 41;
         int arg_CABC_7 = 29;
         int arg_CABC_8 = 0;
         int arg_CABC_9 = 0;
         int arg_CABC_10 = 20;
         Animation.LoopSettings arg_CABC_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_CABC_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_CABC_13 = true;
         bool arg_CABC_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[2];
         AnimationInstruction[] arg_CA8B_0 = array;
         int arg_CA8B_1 = 0;
         AnimInsCriteria arg_CA86_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_CA81_0 = AnimInsEvent.EventType.PlaySound;
         string arg_CA81_1 = "guard_machine_start";
         float[] array2 = new float[1];
         arg_CA8B_0[arg_CA8B_1] = new AnimationInstruction(arg_CA86_0, new AnimInsEvent(arg_CA81_0, arg_CA81_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_CAC1_0.Add(arg_CAC1_1, new Animation(arg_CABC_0, arg_CABC_1, arg_CABC_2, arg_CABC_3, arg_CABC_4, arg_CABC_5, arg_CABC_6, arg_CABC_7, arg_CABC_8, arg_CABC_9, arg_CABC_10, arg_CABC_11, arg_CABC_12, arg_CABC_13, arg_CABC_14, array));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start"), new Vector2(20f, 23f), 4, 1, 41, 29, 451, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_CBE5_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_CBE5_1 = 3;
         ushort arg_CBE0_0 = 3;
         byte arg_CBE0_1 = 0;
         Texture2D arg_CBE0_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Attack");
         Vector2 arg_CBE0_3 = new Vector2(20f, 23f);
         int arg_CBE0_4 = 3;
         int arg_CBE0_5 = 7;
         int arg_CBE0_6 = 41;
         int arg_CBE0_7 = 29;
         int arg_CBE0_8 = 246;
         int arg_CBE0_9 = 0;
         int arg_CBE0_10 = 20;
         Animation.LoopSettings arg_CBE0_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_CBE0_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_CBE0_13 = true;
         bool arg_CBE0_14 = true;
         array = new AnimationInstruction[3];
         AnimationInstruction[] arg_CB7C_0 = array;
         int arg_CB7C_1 = 0;
         AnimInsCriteria arg_CB77_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_CB72_0 = AnimInsEvent.EventType.PlaySound;
         string arg_CB72_1 = "guard_machine_attack";
         array2 = new float[1];
         arg_CB7C_0[arg_CB7C_1] = new AnimationInstruction(arg_CB77_0, new AnimInsEvent(arg_CB72_0, arg_CB72_1, array2));
         AnimationInstruction[] arg_CBAF_0 = array;
         int arg_CBAF_1 = 1;
         AnimInsCriteria arg_CBAA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             5f
         });
         AnimInsEvent.EventType arg_CBA5_0 = AnimInsEvent.EventType.CallBackAnimation;
         array2 = new float[1];
         arg_CBAF_0[arg_CBAF_1] = new AnimationInstruction(arg_CBAA_0, new AnimInsEvent(arg_CBA5_0, array2));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             2f
         }));
         arg_CBE5_0.Add(arg_CBE5_1, new Animation(arg_CBE0_0, arg_CBE0_1, arg_CBE0_2, arg_CBE0_3, arg_CBE0_4, arg_CBE0_5, arg_CBE0_6, arg_CBE0_7, arg_CBE0_8, arg_CBE0_9, arg_CBE0_10, arg_CBE0_11, arg_CBE0_12, arg_CBE0_13, arg_CBE0_14, array));
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Damage"), new Vector2(18f, 35f), 4, 5, 37, 41, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
             {
                 1f
             }))
         }));
         Dictionary<ushort, Animation> arg_CD4B_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_CD4B_1 = 5;
         ushort arg_CD46_0 = 5;
         byte arg_CD46_1 = 0;
         Texture2D arg_CD46_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Clear");
         Vector2 arg_CD46_3 = new Vector2(18f, 35f);
         int arg_CD46_4 = 4;
         int arg_CD46_5 = 11;
         int arg_CD46_6 = 37;
         int arg_CD46_7 = 41;
         int arg_CD46_8 = 0;
         int arg_CD46_9 = 0;
         int arg_CD46_10 = 20;
         Animation.LoopSettings arg_CD46_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_CD46_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_CD46_13 = true;
         bool arg_CD46_14 = true;
         array = new AnimationInstruction[3];
         AnimationInstruction[] arg_CCD9_0 = array;
         int arg_CCD9_1 = 0;
         AnimInsCriteria arg_CCD4_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             2f
         });
         AnimInsEvent.EventType arg_CCCF_0 = AnimInsEvent.EventType.PlaySound;
         string arg_CCCF_1 = "guard_machine_powerup";
         array2 = new float[1];
         arg_CCD9_0[arg_CCD9_1] = new AnimationInstruction(arg_CCD4_0, new AnimInsEvent(arg_CCCF_0, arg_CCCF_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             9f
         }), new AnimInsEvent(AnimInsEvent.EventType.CallBackAnimation, new float[]
         {
             2f
         }));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             6f
         }));
         arg_CD4B_0.Add(arg_CD4B_1, new Animation(arg_CD46_0, arg_CD46_1, arg_CD46_2, arg_CD46_3, arg_CD46_4, arg_CD46_5, arg_CD46_6, arg_CD46_7, arg_CD46_8, arg_CD46_9, arg_CD46_10, arg_CD46_11, arg_CD46_12, arg_CD46_13, arg_CD46_14, array));
         xEn.xRenderComponent.dixAnimations.Add(6, new Animation(6, 0, Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/ClearIdle"), new Vector2(18f, 35f), 4, 3, 37, 41, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_CE2C_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_CE2C_1 = 7;
         ushort arg_CE27_0 = 7;
         byte arg_CE27_1 = 0;
         Texture2D arg_CE27_2 = Content.Load<Texture2D>("Sprites/Puzzles/Misc/PerfectGuardCrystal/Start");
         Vector2 arg_CE27_3 = new Vector2(20f, 23f);
         int arg_CE27_4 = 4;
         int arg_CE27_5 = 11;
         int arg_CE27_6 = 41;
         int arg_CE27_7 = 29;
         int arg_CE27_8 = 0;
         int arg_CE27_9 = 0;
         int arg_CE27_10 = 20;
         Animation.LoopSettings arg_CE27_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_CE27_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_CE27_13 = true;
         bool arg_CE27_14 = true;
         array = new AnimationInstruction[2];
         AnimationInstruction[] arg_CDFF_0 = array;
         int arg_CDFF_1 = 0;
         AnimInsCriteria arg_CDFA_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_CDF5_0 = AnimInsEvent.EventType.PlaySound;
         string arg_CDF5_1 = "guard_machine_shutdown";
         array2 = new float[1];
         arg_CDFF_0[arg_CDFF_1] = new AnimationInstruction(arg_CDFA_0, new AnimInsEvent(arg_CDF5_0, arg_CDF5_1, array2));
         AnimationInstruction[] arg_CE24_0 = array;
         int arg_CE24_1 = 1;
         AnimInsCriteria arg_CE1F_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_CE1A_0 = AnimInsEvent.EventType.PlayAnimation;
         array2 = new float[1];
         arg_CE24_0[arg_CE24_1] = new AnimationInstruction(arg_CE1F_0, new AnimInsEvent(arg_CE1A_0, array2));
         arg_CE2C_0.Add(arg_CE2C_1, new Animation(arg_CE27_0, arg_CE27_1, arg_CE27_2, arg_CE27_3, arg_CE27_4, arg_CE27_5, arg_CE27_6, arg_CE27_7, arg_CE27_8, arg_CE27_9, arg_CE27_10, arg_CE27_11, arg_CE27_12, arg_CE27_13, arg_CE27_14, array));
         xEn.xRenderComponent.dixAnimations[7].bReversePlayback = true;
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(5, 5, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(8f, new Vector2(0f, -10f), xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_BulletHellMos)
     {
         xEn = new Unique_BulletHellMosarn();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(16f, 48f), 4, 1, 34, 63, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(5, 5, 0f, Vector2.Zero, xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.AddHitboxCollider(new SphereCollider(10f, Vector2.Zero, xEn.xTransform, 0f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Puzzlish_GlockenSpiel)
     {
         xEn = new Puzzle_WinterlandGlockenSpiel();
         xEn.enType = enType;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone013_Winterland/bells"), new Vector2(4f, 33f), 4, 1, 76, 37, 0, 0, 1, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.xMovementCollider = new BoxCollider(76, 5, 0f, new Vector2(35f, 0f), xEn.xTransform, 10f, xEn);
         xEn.xCollisionComponent.xMovementCollider.bIsLarge = false;
         xEn.xCollisionComponent.xMovementCollider.bStaticKnockback = false;
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(40, 5, 0f, new Vector2(35f, 0f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.TeleportField)
     {
         xEn = new TeleportField();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(50f, 70f), 4, 1, 100, 100, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Teleporter_SkyTemple)
     {
         xEn = new TeleportPlate();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Teleport/Standard/IdleOff"), new Vector2(20f, 28f), 4, 1, 43, 45, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Teleport/Standard/Start"), new Vector2(20f, 28f), 4, 24, 43, 45, 0, 0, 24, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Teleport/Standard/IdleOn"), new Vector2(21f, 28f), 4, 14, 44, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Teleporter_Halloween)
     {
         xEn = new TeleportPlate();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Teleport/Halloween/IdleOff"), new Vector2(21f, 28f), 4, 1, 43, 45, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Teleport/Halloween/Start"), new Vector2(21f, 28f), 4, 24, 44, 45, 0, 0, 24, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>(ENVIRON_PATH + "Teleport/Halloween/IdleOn"), new Vector2(21f, 28f), 4, 14, 44, 45, 0, 0, 20, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PhaseShiftPlate)
     {
         xEn = new PhaseShiftPlate();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.Interactable;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         (xEn as InteractableDynamic).colInteractCollider = new SphereCollider(13f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         (xEn as InteractableDynamic).bIsPlate = true;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_up"), new Vector2(12f, 12f), 4, 1, 24, 25, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 1, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_right"), new Vector2(12f, 12f), 4, 1, 24, 25, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 2, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_down"), new Vector2(12f, 12f), 4, 1, 24, 25, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 3, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_right"), new Vector2(12f, 12f), 4, 1, 24, 25, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[3].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(4, new Animation(4, 4, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/stop_outside"), new Vector2(12f, 12f), 4, 1, 24, 25, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(5, new Animation(5, 4, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/appear_outside_up"), new Vector2(12f, 12f), 4, 1, 24, 25, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         Dictionary<ushort, Animation> arg_D6AF_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_D6AF_1 = 6;
         ushort arg_D6AA_0 = 6;
         byte arg_D6AA_1 = 4;
         Texture2D arg_D6AA_2 = Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/appear_outside_up");
         Vector2 arg_D6AA_3 = new Vector2(12f, 12f);
         int arg_D6AA_4 = 4;
         int arg_D6AA_5 = 10;
         int arg_D6AA_6 = 24;
         int arg_D6AA_7 = 25;
         int arg_D6AA_8 = 0;
         int arg_D6AA_9 = 0;
         int arg_D6AA_10 = 11;
         Animation.LoopSettings arg_D6AA_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_D6AA_12 = Animation.CancelOptions.IgnoreIfPlaying;
         bool arg_D6AA_13 = true;
         bool arg_D6AA_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[1];
         AnimationInstruction[] arg_D6A7_0 = array;
         int arg_D6A7_1 = 0;
         AnimInsCriteria arg_D6A2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]);
         AnimInsEvent.EventType arg_D69D_0 = AnimInsEvent.EventType.PlayAnimation;
         float[] array2 = new float[1];
         arg_D6A7_0[arg_D6A7_1] = new AnimationInstruction(arg_D6A2_0, new AnimInsEvent(arg_D69D_0, array2));
         arg_D6AF_0.Add(arg_D6AF_1, new Animation(arg_D6AA_0, arg_D6AA_1, arg_D6AA_2, arg_D6AA_3, arg_D6AA_4, arg_D6AA_5, arg_D6AA_6, arg_D6AA_7, arg_D6AA_8, arg_D6AA_9, arg_D6AA_10, arg_D6AA_11, arg_D6AA_12, arg_D6AA_13, arg_D6AA_14, array));
         xEn.xRenderComponent.dixAnimations.Add(7, new Animation(7, 4, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/appear_outside_left"), new Vector2(12f, 12f), 4, 1, 24, 25, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(8, new Animation(8, 4, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/appear_outside_left"), new Vector2(12f, 12f), 4, 10, 24, 25, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 3f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(100, new Animation(100, 0, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_up"), new Vector2(12f, 12f), 4, 7, 24, 25, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(101, new Animation(101, 1, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_right"), new Vector2(12f, 12f), 4, 7, 24, 25, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(102, new Animation(102, 2, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_down"), new Vector2(12f, 12f), 4, 7, 24, 25, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(103, new Animation(103, 3, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/arrow_outside_right"), new Vector2(12f, 12f), 4, 7, 24, 25, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations[103].enSpriteEffect = SpriteEffects.FlipHorizontally;
         xEn.xRenderComponent.dixAnimations.Add(104, new Animation(104, 4, Content.Load<Texture2D>("Sprites/Puzzles/PhaseShift/stop_outside"), new Vector2(12f, 12f), 4, 7, 24, 25, 0, 0, 11, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.JumpDownPlate)
     {
         xEn = new JumpDown();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(7f, 8f), 4, 1, 14, 15, 0, 0, 11, Animation.LoopSettings.Looping, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.ClimbPlate_Vines_Left)
     {
         xEn = new ClimbUp();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(0f, 72f), 4, 1, 90, 78, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, new Vector2(0f, 72f), 4, 20, 90, 78, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Wobble/Left"), new Vector2(0f, 69f), 4, 1, 46, 75, 92, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Wobble/Left"), new Vector2(0f, 69f), 4, 3, 46, 75, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.ClimbPlate_Vines_Mid)
     {
         xEn = new ClimbUp();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Vines"), new Vector2(0f, 72f), 4, 1, 90, 78, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Vines"), new Vector2(0f, 72f), 4, 20, 90, 78, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Wobble/Mid"), new Vector2(-21f, 70f), 4, 1, 38, 76, 76, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Wobble/Mid"), new Vector2(-21f, 70f), 4, 3, 38, 76, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.ClimbPlate_Vines_Right)
     {
         xEn = new ClimbUp();
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.bNetworkSynchEnabled = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(0f, 72f), 4, 1, 90, 78, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(1, new Animation(1, 0, RenderMaster.txNullTex, new Vector2(0f, 72f), 4, 20, 90, 78, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
         xEn.xRenderComponent.dixAnimations.Add(2, new Animation(2, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Wobble/Right"), new Vector2(-45f, 70f), 4, 1, 45, 76, 90, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.dixAnimations.Add(3, new Animation(3, 0, Content.Load<Texture2D>("Bkg/Zone014_SeasonChange/Vines/Wobble/Right"), new Vector2(-45f, 70f), 4, 3, 45, 76, 0, 0, 20, Animation.LoopSettings.Clamp, Animation.CancelOptions.IgnoreIfPlaying, true, true, new AnimationInstruction[]
         {
             new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
             {
                 2f
             }))
         }));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MonsterSpawn_PapaSlimeRain)
     {
         xEn = new PapaSlimeRain();
         PapaSlimeRain lolz = xEn as PapaSlimeRain;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Spawn/BallSmall"), new Vector2(11f, 16f), 4, 4, 22, 21, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.v2OffsetRenderPos.Y = -500f;
         lolz.xShadowRC = new StaticRenderComponent(Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Spawn/smallshadow"), xEn.xTransform);
         lolz.xShadowRC.v2Offset = Utility.PointToVector2(lolz.xShadowRC.txTexture.Bounds.Center);
         lolz.xShadowRC.fAlpha = 0f;
         Program.GetTheGame().xRenderMaster.RegisterBelowSorted(lolz.xShadowRC);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MonsterSpawn_PapaSlimePrisonRain)
     {
         xEn = new PapaSlimePrisonRain();
         PapaSlimePrisonRain lolz2 = xEn as PapaSlimePrisonRain;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Spawn/Ball"), new Vector2(15f, 13f), 4, 4, 31, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.v2OffsetRenderPos.Y = 0f;
         lolz2.xShadowRC = new StaticRenderComponent(Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Spawn/smallshadow"), xEn.xTransform);
         lolz2.xShadowRC.v2Offset = Utility.PointToVector2(lolz2.xShadowRC.txTexture.Bounds.Center);
         lolz2.xShadowRC.fAlpha = 0.5f;
         Program.GetTheGame().xRenderMaster.RegisterBelowSorted(lolz2.xShadowRC);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeSmall)
     {
         xEn = new SlowSlime();
         SlowSlime lolz3 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         lolz3.colDebuffCollider = new BoxCollider(22, 10, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz3.fMoveSpeedDebuff = 0.6f - 0.1f * (float)GameSessionData.iBaseDifficulty;
         lolz3.iDeath *= GameSessionData.iBaseDifficulty + 1;
         if (Program.GetTheGame().randomInVisual.Next(2) == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaSmallA"), new Vector2(18f, 10f), 4, 2, 33, 18, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaSmallB"), new Vector2(18f, 10f), 4, 2, 33, 18, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeLarge)
     {
         xEn = new SlowSlime();
         SlowSlime lolz4 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         lolz4.colDebuffCollider = new BoxCollider(83, 22, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz4.fMoveSpeedDebuff = 0.6f - 0.1f * (float)GameSessionData.iBaseDifficulty - 0.05f * (float)Program.game.dixPlayers.Count;
         if (lolz4.fMoveSpeedDebuff < 0.1f)
         {
             lolz4.fMoveSpeedDebuff = 0.1f;
         }
         lolz4.iDeath *= GameSessionData.iBaseDifficulty + 1;
         if (Program.GetTheGame().randomInVisual.Next(2) == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaBigA"), new Vector2(55f, 20f), 4, 2, 114, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaBigB"), new Vector2(55f, 20f), 4, 2, 114, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeSpintrail)
     {
         xEn = new SlowSlime();
         SlowSlime lolz5 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz5.colDebuffCollider = new BoxCollider(83, 18, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz5.fMoveSpeedDebuff = 0.6f - 0.1f * (float)GameSessionData.iBaseDifficulty;
         lolz5.iDeath *= GameSessionData.iBaseDifficulty + 1;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeArea"), new Vector2(46f, 11f), 4, 1, 93, 22, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeMedium)
     {
         xEn = new SlowSlime();
         SlowSlime lolz6 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz6.colDebuffCollider = new BoxCollider(44, 16, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz6.fMoveSpeedDebuff = 0.6f - 0.1f * (float)GameSessionData.iBaseDifficulty;
         lolz6.iDeath *= GameSessionData.iBaseDifficulty + 1;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaMidA"), new Vector2(32f, 14f), 4, 2, 63, 30, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MonsterSpawn_PapaSlimeRain_Red)
     {
         xEn = new RedPapaSlimeRain();
         RedPapaSlimeRain lolz7 = xEn as RedPapaSlimeRain;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Spawn/BallSmall"), new Vector2(11f, 16f), 4, 4, 22, 21, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.v2OffsetRenderPos.Y = -500f;
         lolz7.xShadowRC = new StaticRenderComponent(Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Spawn/smallshadow"), xEn.xTransform);
         lolz7.xShadowRC.v2Offset = Utility.PointToVector2(lolz7.xShadowRC.txTexture.Bounds.Center);
         lolz7.xShadowRC.fAlpha = 0f;
         Program.GetTheGame().xRenderMaster.RegisterBelowSorted(lolz7.xShadowRC);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.MonsterSpawn_PapaSlimePrisonRain_Red)
     {
         xEn = new PapaSlimePrisonRain();
         PapaSlimePrisonRain lolz8 = xEn as PapaSlimePrisonRain;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Spawn/Ball"), new Vector2(15f, 13f), 4, 4, 31, 25, 0, 0, 10, Animation.LoopSettings.Looping, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xRenderComponent.v2OffsetRenderPos.Y = 0f;
         lolz8.xShadowRC = new StaticRenderComponent(Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Spawn/smallshadow"), xEn.xTransform);
         lolz8.xShadowRC.v2Offset = Utility.PointToVector2(lolz8.xShadowRC.txTexture.Bounds.Center);
         lolz8.xShadowRC.fAlpha = 0.5f;
         Program.GetTheGame().xRenderMaster.RegisterBelowSorted(lolz8.xShadowRC);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeSmall_Red)
     {
         xEn = new SlowSlime();
         SlowSlime lolz9 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         lolz9.fMoveSpeedDebuff = 0.3f - 0.05f * (float)GameSessionData.iBaseDifficulty;
         lolz9.colDebuffCollider = new BoxCollider(22, 10, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         if (Program.GetTheGame().randomInVisual.Next(2) == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Slime/SlimeAreaSmallA"), new Vector2(18f, 10f), 4, 2, 33, 18, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Slime/SlimeAreaSmallB"), new Vector2(18f, 10f), 4, 2, 33, 18, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeLarge_Red)
     {
         xEn = new SlowSlime();
         SlowSlime lolz10 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         lolz10.colDebuffCollider = new BoxCollider(83, 22, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz10.iDeath *= 5;
         if (CAS.GameMode == StateMaster.GameModes.RogueLike)
         {
             lolz10.iDeath /= 5;
             lolz10.iDeath *= 2;
         }
         lolz10.fMoveSpeedDebuff = 0.3f - 0.05f * (float)GameSessionData.iBaseDifficulty;
         if (CAS.GameMode == StateMaster.GameModes.RogueLike)
         {
             lolz10.fMoveSpeedDebuff = 0.15f;
         }
         if (Program.GetTheGame().randomInVisual.Next(2) == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Slime/SlimeAreaBigA"), new Vector2(55f, 20f), 4, 2, 114, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Slime/SlimeAreaBigB"), new Vector2(55f, 20f), 4, 2, 114, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeSpintrail_Red)
     {
         xEn = new SlowSlime();
         SlowSlime lolz11 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz11.colDebuffCollider = new BoxCollider(83, 18, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz11.iDeath *= 5;
         if (CAS.GameMode == StateMaster.GameModes.RogueLike)
         {
             lolz11.iDeath /= 5;
             lolz11.iDeath *= 2;
         }
         lolz11.fMoveSpeedDebuff = 0.3f - 0.05f * (float)GameSessionData.iBaseDifficulty;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Slime/SlimeArea"), new Vector2(46f, 11f), 4, 1, 93, 22, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeMedium_Red)
     {
         xEn = new SlowSlime();
         SlowSlime lolz12 = xEn as SlowSlime;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz12.colDebuffCollider = new BoxCollider(44, 16, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz12.iDeath *= 5;
         if (CAS.GameMode == StateMaster.GameModes.RogueLike)
         {
             lolz12.iDeath /= 5;
             lolz12.iDeath *= 2;
         }
         lolz12.fMoveSpeedDebuff = 0.3f - 0.05f * (float)GameSessionData.iBaseDifficulty;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime Red/Slime/SlimeAreaMidA"), new Vector2(32f, 14f), 4, 2, 63, 30, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PapaSlime_GreenSlimePrison_Red)
     {
         xEn = new RedSlimePrison();
         xEn.bInstantiateInNetwork = true;
         xEn.xBaseStats.iHP = 40;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(46f, 11f), 4, 1, 93, 22, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeSmall_v2)
     {
         xEn = new SlowErSlime();
         SlowErSlime lolz13 = xEn as SlowErSlime;
         lolz13.iDeath *= 3;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz13.colDebuffCollider = new BoxCollider(22, 10, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         if (Program.GetTheGame().randomInVisual.Next(2) == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaSmallA"), new Vector2(18f, 10f), 4, 2, 34, 19, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaSmallB"), new Vector2(18f, 10f), 4, 2, 34, 19, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeLarge_v2)
     {
         xEn = new SlowErSlime();
         SlowErSlime lolz14 = xEn as SlowErSlime;
         lolz14.iDeath *= 3;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz14.colDebuffCollider = new BoxCollider(83, 22, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         if (Program.GetTheGame().randomInVisual.Next(2) == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaBigA"), new Vector2(53f, 22f), 4, 2, 110, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaBigB"), new Vector2(53f, 22f), 4, 2, 110, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeSpintrail_v2)
     {
         xEn = new SlowErSlime();
         SlowErSlime lolz15 = xEn as SlowErSlime;
         lolz15.iDeath *= 3;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz15.colDebuffCollider = new BoxCollider(83, 18, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeArea"), new Vector2(46f, 11f), 4, 1, 93, 22, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_BossPapaSlime_SlowSlimeMedium_v2)
     {
         xEn = new SlowErSlime();
         SlowErSlime lolz16 = xEn as SlowErSlime;
         lolz16.iDeath *= 3;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz16.colDebuffCollider = new BoxCollider(44, 16, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Sprites/Monster/Bosses/Papa Slime/Slime/SlimeAreaMidA"), new Vector2(32f, 14f), 4, 2, 63, 30, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Debuff_Freeze)
     {
         xEn = new FrozenPlayer();
         xEn.bInstantiateInNetwork = false;
         xEn.xBaseStats.iHP = 220 + 20 * CAS.DifficultyModifier;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, Content.Load<Texture2D>("Effects/Freeze/Player/Start"), new Vector2(21f, 39f), 4, 4, 41, 47, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(16, 16, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Debuff_Root_Teal)
     {
         xEn = new RootedPlayer();
         xEn.bInstantiateInNetwork = false;
         RootedPlayer lolz17 = xEn as RootedPlayer;
         xEn.xBaseStats.iHP = 300 + 30 * CAS.DifficultyModifier;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         lolz17.iAnimStart = 2607;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(21f, 39f), 4, 4, 41, 47, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(16, 16, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.Debuff_TornadoCatch)
     {
         xEn = new TornadoedPlayer();
         xEn.bInstantiateInNetwork = false;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(21f, 39f), 4, 4, 41, 47, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.PapaSlime_GreenSlimePrison)
     {
         xEn = new SlimePrison();
         xEn.bInstantiateInNetwork = true;
         xEn.xBaseStats.iHP = 20;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(46f, 11f), 4, 1, 93, 22, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         xEn.xCollisionComponent.AddHitboxCollider(new BoxCollider(22, 12, 0f, new Vector2(0f, -1f), xEn.xTransform, 10f, xEn), Collider.ColliderLayers.DynamicEnvironment);
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_PurpleCrystal_SlowField)
     {
         xEn = new CrystalForceField();
         CrystalForceField lolz18 = xEn as CrystalForceField;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz18.colDebuffCollider = new SphereCollider(30f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz18.iDeath *= 500000;
         lolz18.fMoveSpeedDebuff = 0.3f - 0.05f * (float)GameSessionData.iBaseDifficulty;
         lolz18.bActivated = false;
         Dictionary<ushort, Animation> arg_F6B1_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_F6B1_1 = 0;
         ushort arg_F6AC_0 = 0;
         byte arg_F6AC_1 = 0;
         Texture2D arg_F6AC_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/Forcefield");
         Vector2 arg_F6AC_3 = new Vector2(35f, 34f);
         int arg_F6AC_4 = 4;
         int arg_F6AC_5 = 1;
         int arg_F6AC_6 = 69;
         int arg_F6AC_7 = 70;
         int arg_F6AC_8 = 0;
         int arg_F6AC_9 = 0;
         int arg_F6AC_10 = 10;
         Animation.LoopSettings arg_F6AC_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_F6AC_12 = Animation.CancelOptions.UseAnimationDefault;
         bool arg_F6AC_13 = true;
         bool arg_F6AC_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[9];
         AnimationInstruction[] arg_F4D7_0 = array;
         int arg_F4D7_1 = 0;
         AnimInsCriteria arg_F4D2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_F4CD_0 = AnimInsEvent.EventType.PlaySound;
         string arg_F4CD_1 = "Guardian_GravityFieldStart";
         float[] array2 = new float[1];
         arg_F4D7_0[arg_F4D7_1] = new AnimationInstruction(arg_F4D2_0, new AnimInsEvent(arg_F4CD_0, arg_F4CD_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
         {
             0.02f
         }));
         AnimationInstruction[] arg_F54F_0 = array;
         int arg_F54F_1 = 2;
         AnimInsCriteria arg_F54A_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_F545_0 = AnimInsEvent.EventType.FreezeFrame;
         array2 = new float[2];
         array2[0] = 50f;
         arg_F54F_0[arg_F54F_1] = new AnimationInstruction(arg_F54A_0, new AnimInsEvent(arg_F545_0, array2));
         array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
         {
             -0.175f
         }));
         AnimationInstruction[] arg_F5C7_0 = array;
         int arg_F5C7_1 = 4;
         AnimInsCriteria arg_F5C2_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_F5BD_0 = AnimInsEvent.EventType.FreezeFrame;
         array2 = new float[2];
         array2[0] = 8f;
         arg_F5C7_0[arg_F5C7_1] = new AnimationInstruction(arg_F5C2_0, new AnimInsEvent(arg_F5BD_0, array2));
         array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
         {
             0.075f
         }));
         array[6] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
         {
             0.23f
         }));
         AnimationInstruction[] arg_F67B_0 = array;
         int arg_F67B_1 = 7;
         AnimInsCriteria arg_F676_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_F671_0 = AnimInsEvent.EventType.FreezeFrame;
         array2 = new float[2];
         array2[0] = 8f;
         arg_F67B_0[arg_F67B_1] = new AnimationInstruction(arg_F676_0, new AnimInsEvent(arg_F671_0, array2));
         array[8] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.PlayAnimation, new float[]
         {
             1f
         }));
         arg_F6B1_0.Add(arg_F6B1_1, new Animation(arg_F6AC_0, arg_F6AC_1, arg_F6AC_2, arg_F6AC_3, arg_F6AC_4, arg_F6AC_5, arg_F6AC_6, arg_F6AC_7, arg_F6AC_8, arg_F6AC_9, arg_F6AC_10, arg_F6AC_11, arg_F6AC_12, arg_F6AC_13, arg_F6AC_14, array));
         Dictionary<ushort, Animation> arg_F791_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_F791_1 = 1;
         ushort arg_F78C_0 = 1;
         byte arg_F78C_1 = 0;
         Texture2D arg_F78C_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ForcefieldIdle");
         Vector2 arg_F78C_3 = new Vector2(39f, 39f);
         int arg_F78C_4 = 4;
         int arg_F78C_5 = 6;
         int arg_F78C_6 = 79;
         int arg_F78C_7 = 80;
         int arg_F78C_8 = 0;
         int arg_F78C_9 = 0;
         int arg_F78C_10 = 10;
         Animation.LoopSettings arg_F78C_11 = Animation.LoopSettings.Looping;
         Animation.CancelOptions arg_F78C_12 = Animation.CancelOptions.UseAnimationDefault;
         bool arg_F78C_13 = true;
         bool arg_F78C_14 = true;
         array = new AnimationInstruction[3];
         AnimationInstruction[] arg_F72B_0 = array;
         int arg_F72B_1 = 0;
         AnimInsCriteria arg_F726_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_F721_0 = AnimInsEvent.EventType.PlaySound;
         string arg_F721_1 = "Guardian_GravityFieldIdle";
         array2 = new float[1];
         arg_F72B_0[arg_F72B_1] = new AnimationInstruction(arg_F726_0, new AnimInsEvent(arg_F721_0, arg_F721_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
         {
             1f
         }));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
         {
             1f
         }));
         arg_F791_0.Add(arg_F791_1, new Animation(arg_F78C_0, arg_F78C_1, arg_F78C_2, arg_F78C_3, arg_F78C_4, arg_F78C_5, arg_F78C_6, arg_F78C_7, arg_F78C_8, arg_F78C_9, arg_F78C_10, arg_F78C_11, arg_F78C_12, arg_F78C_13, arg_F78C_14, array));
         Dictionary<ushort, Animation> arg_F8AD_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_F8AD_1 = 2;
         ushort arg_F8A8_0 = 2;
         byte arg_F8A8_1 = 0;
         Texture2D arg_F8A8_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/Forcefield");
         Vector2 arg_F8A8_3 = new Vector2(35f, 34f);
         int arg_F8A8_4 = 4;
         int arg_F8A8_5 = 1;
         int arg_F8A8_6 = 69;
         int arg_F8A8_7 = 70;
         int arg_F8A8_8 = 0;
         int arg_F8A8_9 = 0;
         int arg_F8A8_10 = 10;
         Animation.LoopSettings arg_F8A8_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_F8A8_12 = Animation.CancelOptions.UseAnimationDefault;
         bool arg_F8A8_13 = true;
         bool arg_F8A8_14 = true;
         array = new AnimationInstruction[4];
         AnimationInstruction[] arg_F7FE_0 = array;
         int arg_F7FE_1 = 0;
         AnimInsCriteria arg_F7F9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_F7F4_0 = AnimInsEvent.EventType.PlaySound;
         string arg_F7F4_1 = "Guardian_GravityFieldEnd";
         array2 = new float[1];
         arg_F7FE_0[arg_F7FE_1] = new AnimationInstruction(arg_F7F9_0, new AnimInsEvent(arg_F7F4_0, arg_F7F4_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
         {
             -0.02f
         }));
         AnimationInstruction[] arg_F876_0 = array;
         int arg_F876_1 = 2;
         AnimInsCriteria arg_F871_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_F86C_0 = AnimInsEvent.EventType.FreezeFrame;
         array2 = new float[2];
         array2[0] = 50f;
         arg_F876_0[arg_F876_1] = new AnimationInstruction(arg_F871_0, new AnimInsEvent(arg_F86C_0, array2));
         array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
         {
             1f
         }));
         arg_F8AD_0.Add(arg_F8AD_1, new Animation(arg_F8A8_0, arg_F8A8_1, arg_F8A8_2, arg_F8A8_3, arg_F8A8_4, arg_F8A8_5, arg_F8A8_6, arg_F8A8_7, arg_F8A8_8, arg_F8A8_9, arg_F8A8_10, arg_F8A8_11, arg_F8A8_12, arg_F8A8_13, arg_F8A8_14, array));
         xEn.xRenderComponent.fVirtualHeight = -1000f;
         xEn.xRenderComponent.fScale = 0f;
         xEn.xRenderComponent.fAlpha = 0.4f;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_PumpKing_Scream)
     {
         xEn = new PumpkingScream();
         PumpkingScream lolz19 = xEn as PumpkingScream;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = true;
         lolz19.colDebuffCollider = new SphereCollider(30f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz19.iDeath *= 500000;
         lolz19.fMoveSpeedDebuff = 0.3f - 0.05f * (float)GameSessionData.iBaseDifficulty;
         Dictionary<ushort, Animation> arg_FB84_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_FB84_1 = 0;
         ushort arg_FB7F_0 = 0;
         byte arg_FB7F_1 = 0;
         Texture2D arg_FB7F_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/Forcefield");
         Vector2 arg_FB7F_3 = new Vector2(35f, 34f);
         int arg_FB7F_4 = 4;
         int arg_FB7F_5 = 1;
         int arg_FB7F_6 = 69;
         int arg_FB7F_7 = 70;
         int arg_FB7F_8 = 0;
         int arg_FB7F_9 = 0;
         int arg_FB7F_10 = 10;
         Animation.LoopSettings arg_FB7F_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_FB7F_12 = Animation.CancelOptions.UseAnimationDefault;
         bool arg_FB7F_13 = true;
         bool arg_FB7F_14 = true;
         AnimationInstruction[] array = new AnimationInstruction[8];
         AnimationInstruction[] arg_F9E5_0 = array;
         int arg_F9E5_1 = 0;
         AnimInsCriteria arg_F9E0_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_F9DB_0 = AnimInsEvent.EventType.PlaySound;
         string arg_F9DB_1 = "Guardian_GravityFieldStart";
         float[] array2 = new float[1];
         arg_F9E5_0[arg_F9E5_1] = new AnimationInstruction(arg_F9E0_0, new AnimInsEvent(arg_F9DB_0, arg_F9DB_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
         {
             0.06f
         }));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
         {
             0.17f
         }));
         AnimationInstruction[] arg_FA99_0 = array;
         int arg_FA99_1 = 3;
         AnimInsCriteria arg_FA94_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_FA8F_0 = AnimInsEvent.EventType.FreezeFrame;
         array2 = new float[2];
         array2[0] = 10f;
         arg_FA99_0[arg_FA99_1] = new AnimationInstruction(arg_FA94_0, new AnimInsEvent(arg_FA8F_0, array2));
         array[4] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
         {
             -0.12f
         }));
         array[5] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustAlpha, new float[]
         {
             -0.11f
         }));
         AnimationInstruction[] arg_FB4D_0 = array;
         int arg_FB4D_1 = 6;
         AnimInsCriteria arg_FB48_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_FB43_0 = AnimInsEvent.EventType.FreezeFrame;
         array2 = new float[2];
         array2[0] = 20f;
         arg_FB4D_0[arg_FB4D_1] = new AnimationInstruction(arg_FB48_0, new AnimInsEvent(arg_FB43_0, array2));
         array[7] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
         {
             1f
         }));
         arg_FB84_0.Add(arg_FB84_1, new Animation(arg_FB7F_0, arg_FB7F_1, arg_FB7F_2, arg_FB7F_3, arg_FB7F_4, arg_FB7F_5, arg_FB7F_6, arg_FB7F_7, arg_FB7F_8, arg_FB7F_9, arg_FB7F_10, arg_FB7F_11, arg_FB7F_12, arg_FB7F_13, arg_FB7F_14, array));
         Dictionary<ushort, Animation> arg_FC64_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_FC64_1 = 1;
         ushort arg_FC5F_0 = 1;
         byte arg_FC5F_1 = 0;
         Texture2D arg_FC5F_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/ForcefieldIdle");
         Vector2 arg_FC5F_3 = new Vector2(39f, 39f);
         int arg_FC5F_4 = 4;
         int arg_FC5F_5 = 6;
         int arg_FC5F_6 = 79;
         int arg_FC5F_7 = 80;
         int arg_FC5F_8 = 0;
         int arg_FC5F_9 = 0;
         int arg_FC5F_10 = 10;
         Animation.LoopSettings arg_FC5F_11 = Animation.LoopSettings.Looping;
         Animation.CancelOptions arg_FC5F_12 = Animation.CancelOptions.UseAnimationDefault;
         bool arg_FC5F_13 = true;
         bool arg_FC5F_14 = true;
         array = new AnimationInstruction[3];
         AnimationInstruction[] arg_FBFE_0 = array;
         int arg_FBFE_1 = 0;
         AnimInsCriteria arg_FBF9_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_FBF4_0 = AnimInsEvent.EventType.PlaySound;
         string arg_FBF4_1 = "Guardian_GravityFieldIdle";
         array2 = new float[1];
         arg_FBFE_0[arg_FBFE_1] = new AnimationInstruction(arg_FBF9_0, new AnimInsEvent(arg_FBF4_0, arg_FBF4_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetAlpha, new float[]
         {
             1f
         }));
         array[2] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.SetScale, new float[]
         {
             1f
         }));
         arg_FC64_0.Add(arg_FC64_1, new Animation(arg_FC5F_0, arg_FC5F_1, arg_FC5F_2, arg_FC5F_3, arg_FC5F_4, arg_FC5F_5, arg_FC5F_6, arg_FC5F_7, arg_FC5F_8, arg_FC5F_9, arg_FC5F_10, arg_FC5F_11, arg_FC5F_12, arg_FC5F_13, arg_FC5F_14, array));
         Dictionary<ushort, Animation> arg_FD80_0 = xEn.xRenderComponent.dixAnimations;
         ushort arg_FD80_1 = 2;
         ushort arg_FD7B_0 = 2;
         byte arg_FD7B_1 = 0;
         Texture2D arg_FD7B_2 = Content.Load<Texture2D>("Sprites/Monster/Temple/Crystal/ForceField/Forcefield");
         Vector2 arg_FD7B_3 = new Vector2(35f, 34f);
         int arg_FD7B_4 = 4;
         int arg_FD7B_5 = 1;
         int arg_FD7B_6 = 69;
         int arg_FD7B_7 = 70;
         int arg_FD7B_8 = 0;
         int arg_FD7B_9 = 0;
         int arg_FD7B_10 = 10;
         Animation.LoopSettings arg_FD7B_11 = Animation.LoopSettings.Clamp;
         Animation.CancelOptions arg_FD7B_12 = Animation.CancelOptions.UseAnimationDefault;
         bool arg_FD7B_13 = true;
         bool arg_FD7B_14 = true;
         array = new AnimationInstruction[4];
         AnimationInstruction[] arg_FCD1_0 = array;
         int arg_FCD1_1 = 0;
         AnimInsCriteria arg_FCCC_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtStart, new float[0]);
         AnimInsEvent.EventType arg_FCC7_0 = AnimInsEvent.EventType.PlaySound;
         string arg_FCC7_1 = "Guardian_GravityFieldEnd";
         array2 = new float[1];
         arg_FCD1_0[arg_FCD1_1] = new AnimationInstruction(arg_FCCC_0, new AnimInsEvent(arg_FCC7_0, arg_FCC7_1, array2));
         array[1] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         }), new AnimInsEvent(AnimInsEvent.EventType.AdjustScale, new float[]
         {
             -0.02f
         }));
         AnimationInstruction[] arg_FD49_0 = array;
         int arg_FD49_1 = 2;
         AnimInsCriteria arg_FD44_0 = new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtFrameX, new float[]
         {
             1f
         });
         AnimInsEvent.EventType arg_FD3F_0 = AnimInsEvent.EventType.FreezeFrame;
         array2 = new float[2];
         array2[0] = 50f;
         arg_FD49_0[arg_FD49_1] = new AnimationInstruction(arg_FD44_0, new AnimInsEvent(arg_FD3F_0, array2));
         array[3] = new AnimationInstruction(new AnimInsCriteria(AnimInsCriteria.Criteria.TriggerAtEnd, new float[0]), new AnimInsEvent(AnimInsEvent.EventType.ToBeDestroyed, new float[]
         {
             1f
         }));
         arg_FD80_0.Add(arg_FD80_1, new Animation(arg_FD7B_0, arg_FD7B_1, arg_FD7B_2, arg_FD7B_3, arg_FD7B_4, arg_FD7B_5, arg_FD7B_6, arg_FD7B_7, arg_FD7B_8, arg_FD7B_9, arg_FD7B_10, arg_FD7B_11, arg_FD7B_12, arg_FD7B_13, arg_FD7B_14, array));
         xEn.xRenderComponent.fVirtualHeight = -1000f;
         xEn.xRenderComponent.fScale = 0f;
         xEn.xRenderComponent.fAlpha = 0.4f;
     }
     else if (enType == DynamicEnvironmentCodex.ObjectTypes.CloudEffect_Ice)
     {
         xEn = new SlipperySurface();
         SlipperySurface lolz20 = xEn as SlipperySurface;
         xEn.enType = enType;
         xEn.enCategory = DynamicEnvironmentCodex.ObjectCategories.General;
         xEn.xRenderComponent.xOwnerObject = xEn;
         xEn.enHitEffect = SortedAnimated.SortedAnimatedEffects.None;
         xEn.bDestroyOnHit = false;
         xEn.bInstantiateInNetwork = false;
         lolz20.colDebuffCollider = new BoxCollider(83, 22, 0f, Vector2.Zero, xEn.xTransform, 0f, xEn);
         lolz20.fMoveSpeedDebuff = 0.6f - 0.1f * (float)GameSessionData.iBaseDifficulty - 0.05f * (float)Program.game.dixPlayers.Count;
         if (lolz20.fMoveSpeedDebuff < 0.1f)
         {
             lolz20.fMoveSpeedDebuff = 0.1f;
         }
         lolz20.iDeath *= GameSessionData.iBaseDifficulty + 1;
         if (Program.GetTheGame().randomInVisual.Next(2) == 0)
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(55f, 20f), 4, 2, 114, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
         else
         {
             xEn.xRenderComponent.dixAnimations.Add(0, new Animation(0, 0, RenderMaster.txNullTex, new Vector2(55f, 20f), 4, 2, 114, 44, 0, 0, 10, Animation.LoopSettings.Clamp, Animation.CancelOptions.UseAnimationDefault, true, true, new AnimationInstruction[0]));
         }
     }
     if (xEn.xRenderComponent != null)
     {
         xEn.xRenderComponent.GetCurrentAnimation().Reset();
     }
     return xEn;
 }
 public Spore(SortedAnimated xEfe, Vector2 v2Offset)
 {
     this.xEfe = xEfe;
     this.v2Offset = v2Offset;
 }
Beispiel #25
0
 public void AddBlockadeEffect(SortedAnimated add)
 {
     this.lxBlockadeEffects.Add(add);
 }
Beispiel #26
0
 public override void EnterNewLevel(int iLevel, bool bSend)
 {
     if (iLevel == 2)
     {
         if (this.bLocalOrServer && Utility.IsWithinRange((int)this.xOwnerView.xEntity.xRenderComponent.iActiveAnimation, 524, 527))
         {
             this.xOwnerView.xEntity.xRenderComponent.SwitchAnimation((ushort)(528 + (int)this.xOwnerView.xEntity.byAnimationDirection), Animation.CancelOptions.IgnoreIfPlaying);
         }
         this.xOwnerView.xEntity.xRenderComponent.fAnimationTimeWarp = 0.7f;
         float fPassedTicks = (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).fPassedTicks;
         (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying);
         (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).fPassedTicks = fPassedTicks;
     }
     else if (iLevel == 3)
     {
         if (this.xSecondSlice == null && this.xOwnerView == Program.game.xLocalPlayer)
         {
             this.xSecondSlice = (Program.game._EffectMaster_AddEffect(new SortedAnimated(Vector2.Zero, SortedAnimated.SortedAnimatedEffects._SpellEffects_Wind_TargetArrow)) as SortedAnimated);
             this.xSecondSlice.xRenderComponent.xTransform = this.xOwnerView.xEntity.xTransform;
             this.xSecondSlice.xRenderComponent.fRotation = this.fRotation + 1.57079637f;
             Program.game._EntityMaster_AddWatcher(new FadeInRenderComponent(this.xSecondSlice.xRenderComponent, 10));
         }
         float fPassedTicks2 = (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).fPassedTicks;
         (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).SwitchAnimation(2, Animation.CancelOptions.IgnoreIfPlaying);
         (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).fPassedTicks = fPassedTicks2;
         GlowParameters xParams = new GlowParameters(Color.White, new Vector2(0.006666667f, 0.006666667f), 0f, 1, new float[]
         {
             1f,
             0.5f,
             0.25f
         });
         xParams.SetExtraInfo(1f, 30, 10, 0.1f, 0.5f, 130);
         this.xGlowPartial = new GlowPartial(5, Color.Yellow, xParams);
         this.xOwnerView.xEntity.AddSmallGlow(this.xGlowPartial);
     }
     else if (iLevel == 4)
     {
         GlowParameters xParams2 = new GlowParameters(Color.White, new Vector2(0.006666667f, 0.006666667f), 0f, 2, new float[]
         {
             1f,
             0.5f,
             0.25f
         });
         xParams2.SetExtraInfo(1f, 30, 20, 0.2f, 0.5f, 105);
         this.xGlowPartial = new GlowPartial(5, Color.Yellow, xParams2);
         this.xOwnerView.xEntity.AddSmallGlow(this.xGlowPartial);
         float fPassedTicks3 = (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).fPassedTicks;
         (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).SwitchAnimation(3, Animation.CancelOptions.IgnoreIfPlaying);
         (this.xefPowerBalls.xRenderComponent as AnimatedRenderComponent).fPassedTicks = fPassedTicks3;
     }
     else if (iLevel == 5)
     {
         GlowParameters xParams3 = new GlowParameters(Color.White, new Vector2(0.006666667f, 0.006666667f), 0f, 3, new float[]
         {
             1f,
             0.5f,
             0.25f
         });
         xParams3.SetExtraInfo(1f, 30, 30, 0.3f, 0.6f, 80);
         this.xGlowPartial = new GlowPartial(5, Color.Yellow, xParams3);
         this.xOwnerView.xEntity.AddSmallGlow(this.xGlowPartial);
         IEffect bass = Program.GetTheGame()._EffectMaster_AddEffect(new SortedAnimated(Vector2.Zero, SortedAnimated.SortedAnimatedEffects.ChargeEffect_RedBuff_Air)) as SortedAnimated;
         bass.xRenderComponent.xTransform = this.xOwnerView.xEntity.xTransform;
         bass.xRenderComponent.fVirtualHeight = this.xOwnerView.xEntity.xRenderComponent.fVirtualHeight + 1f;
         this.lxAttachedEffects.Add(bass);
     }
     base.EnterNewLevel(iLevel, bSend);
 }
 public override void Update()
 {
     Vector2 v2Offi = new Vector2(400f, 400f);
     Vector2 v2TimeMos = v2Offi / 30f;
     if (this.iExistTimer == 0)
     {
         Program.GetTheGame().xSoundSystem.PlayCue("meteor_impact", this, false);
         if (this.xTransform.v2Pos.X < this.xOwner.xTransform.v2Pos.X)
         {
             this.iDirection = -1;
         }
         if (this.iChargeLevel <= 2)
         {
             this.xMeteor = (Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmall)) as SortedAnimated);
         }
         else
         {
             this.xMeteor = (Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMedium)) as SortedAnimated);
         }
         this.xMeteor.xRenderComponent.fAlpha = 0f;
         this.xMeteor.xRenderComponent.v2OffsetRenderPos = -new Vector2(v2Offi.X * (float)this.iDirection, v2Offi.Y);
         this.xMeteor.xRenderComponent.fVirtualHeight = this.xRenderComponent.fVirtualHeight;
         if (this.iDirection != 1)
         {
             this.xMeteor.xRenderComponent.enSpriteEffect = SpriteEffects.FlipHorizontally;
             TransformComponent expr_15B_cp_0 = this.xMeteor.xRenderComponent.xTransform;
             expr_15B_cp_0.v2Pos.X = expr_15B_cp_0.v2Pos.X + 3f;
         }
     }
     if (this.iExistTimer < 10)
     {
         this.xMeteor.xRenderComponent.fAlpha += 0.1f;
     }
     if (this.xMeteor != null)
     {
         this.xMeteor.xRenderComponent.v2OffsetRenderPos += new Vector2(v2TimeMos.X * (float)this.iDirection, v2TimeMos.Y);
         for (int i = 0; i < 1; i++)
         {
             _Effect_MovingAnimated eff = Program.GetTheGame()._EffectMaster_AddEffect(new _Effect_MovingAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects.Particle_SmokeBig01, Vector2.Zero, 35, 35, 0.93f)) as _Effect_MovingAnimated;
             eff.xRenderComponent.fVirtualHeight += this.xRenderComponent.fVirtualHeight - 10f;
             eff.fScaleMod = 0.98f;
             eff.xRenderComponent.cColor = Color.OrangeRed;
             eff.xRenderComponent.v2OffsetRenderPos = this.xMeteor.xRenderComponent.v2OffsetRenderPos + Utility.RandomizeVector2Direction(Program.game.randomInVisual) * 6f * (float)Program.game.randomInVisual.NextDouble() - new Vector2(v2TimeMos.X * (float)this.iDirection, v2TimeMos.Y) * 1f;
             RenderComponent expr_2CB_cp_0 = eff.xRenderComponent;
             expr_2CB_cp_0.v2OffsetRenderPos.Y = expr_2CB_cp_0.v2OffsetRenderPos.Y - 4f;
             eff.xRenderComponent.fAlpha = this.xMeteor.xRenderComponent.fAlpha;
         }
         for (int j = 0; j < 1; j++)
         {
             _Effect_MovingAnimated eff2 = Program.GetTheGame()._EffectMaster_AddEffect(new _Effect_MovingAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects.Particle_SmokeBig01, Vector2.Zero, 35, 35, 0.93f)) as _Effect_MovingAnimated;
             eff2.xRenderComponent.fVirtualHeight += this.xRenderComponent.fVirtualHeight - 10f;
             eff2.fScaleMod = 0.98f;
             eff2.xRenderComponent.cColor = Color.OrangeRed;
             eff2.xRenderComponent.v2OffsetRenderPos = this.xMeteor.xRenderComponent.v2OffsetRenderPos + Utility.RandomizeVector2Direction(Program.game.randomInVisual) * 6f * (float)Program.game.randomInVisual.NextDouble() - new Vector2(v2TimeMos.X * (float)this.iDirection, v2TimeMos.Y) * 1.5f;
             RenderComponent expr_401_cp_0 = eff2.xRenderComponent;
             expr_401_cp_0.v2OffsetRenderPos.Y = expr_401_cp_0.v2OffsetRenderPos.Y - 4f;
             eff2.xRenderComponent.fAlpha = this.xMeteor.xRenderComponent.fAlpha;
         }
     }
     this.xTransform.v2ServerPos = this.xTransform.v2Pos;
     this.iExistTimer++;
     int arg_469_0 = this.iExistTimer;
     if (this.iExistTimer == 30)
     {
         this.xMeteor.bToBeDestroyed = true;
         this.xMeteor = null;
         if (this.xOwner == Program.game.xLocalPlayer.xEntity)
         {
             Program.game.xCamera.SetShake(20);
         }
         if (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client)
         {
             this.xAttackPhaseEnemy.RegisterCurrent();
             this.xAttackPhaseEnvironment.RegisterCurrent();
             if (this.iChargeLevel >= 3)
             {
                 this.xAttackPhaseEpicenter.RegisterCurrent();
             }
         }
         if (this.iChargeLevel <= 2)
         {
             Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallExplosion));
         }
         else
         {
             Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorMediumExplosion));
         }
         Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SpellEffects_Fire_MeteorSmallImpact));
         Random rand = Program.GetTheGame().randomInVisual;
         for (int k = 0; k < 5; k++)
         {
             Vector2 v2RandDir = new Vector2(-1f + (float)rand.NextDouble() * 2f, -1f + (float)rand.NextDouble() * 2f);
             if (v2RandDir == Vector2.Zero)
             {
                 v2RandDir = new Vector2(1f, 0f);
             }
             v2RandDir.Normalize();
             Vector2 v2Orig = this.xTransform.v2Pos + v2RandDir * 8f;
             float fRandGrade = (float)rand.NextDouble();
             SortedAnimated eff3 = Program.GetTheGame()._EffectMaster_AddEffect(new _Effect_MovingAnimated(v2Orig, SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_EarthParticle01, v2RandDir * (0.5f + (float)Program.GetTheGame().randomInVisual.NextDouble() * 2f), 35 + (int)(25f * fRandGrade), 10, 0.92f)) as SortedAnimated;
             eff3.xRenderComponent.fVirtualHeight += this.xRenderComponent.fVirtualHeight;
             (eff3.xRenderComponent as AnimatedRenderComponent).fAnimationTimeWarp = 0.7f + fRandGrade * 0.6f;
         }
         for (int l = 0; l < 16; l++)
         {
             float fRotDir = 6.28318548f * ((float)l / 16f);
             Vector2 v2Dir = Utility.RadiansToVector2(fRotDir);
             float fSpeedMod = 1f;
             float fMosMod = 0.2f;
             float fMosBas = 1f - fMosMod;
             if (l < 4)
             {
                 fSpeedMod = 1f - fMosMod * ((float)l / 4f);
             }
             else if (l < 8)
             {
                 fSpeedMod = fMosBas + fMosMod * ((float)(l - 4) / 4f);
             }
             else if (l < 12)
             {
                 fSpeedMod = 1f - fMosMod * ((float)(l - 8) / 4f);
             }
             else if (l < 16)
             {
                 fSpeedMod = fMosBas + fMosMod * ((float)(l - 12) / 4f);
             }
             rand.NextDouble();
             _Effect_MovingAnimated eff4 = Program.GetTheGame()._EffectMaster_AddEffect(new _Effect_MovingAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall01, v2Dir * 1.6f * fSpeedMod, 40, 20, 0.93f)) as _Effect_MovingAnimated;
             eff4.xRenderComponent.fVirtualHeight += this.xRenderComponent.fVirtualHeight;
             (eff4.xRenderComponent as AnimatedRenderComponent).fAnimationTimeWarp = 1.3f;
             eff4.fRotationMod = (float)rand.NextDouble() * 0.5f - 0.25f;
             eff4.xRenderComponent.cColor = Color.Brown;
         }
     }
     if (this.iExistTimer == 31)
     {
         this.xAttackPhaseEpicenter.UnregisterCurrent();
     }
     if (this.iExistTimer == 35)
     {
         this.xAttackPhaseEnemy.UnregisterCurrent();
         this.xAttackPhaseEnvironment.UnregisterCurrent();
     }
     if (this.iExistTimer >= 40)
     {
         this.bToBeDestroyed = true;
     }
 }
 public override void Update()
 {
     Vector2 v2Offi = new Vector2(400f, 400f);
     v2Offi = v2Offi / 30f;
     if (this.iExistTimer == 0)
     {
         Program.GetTheGame().xSoundSystem.PlayCue("throw_skill", this, false);
         if (this.iChargeLevel <= 2)
         {
             this.xThrowMidAir = (Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_SpinningThrow)) as SortedAnimated);
         }
         else
         {
             this.xThrowMidAir = (Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_SpinningThrow)) as SortedAnimated);
         }
         this.xThrowMidAir.xRenderComponent.fAlpha = 0f;
         this.xThrowMidAir.xRenderComponent.fVirtualHeight = this.xRenderComponent.fVirtualHeight;
         this.xThrowMidAir.xRenderComponent.xTransform = this.xTransform;
         if (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client)
         {
             this.xAttackPhaseEnemy.RegisterCurrent();
             this.xAttackPhaseEnvironment.RegisterCurrent();
         }
     }
     if (this.xThrowMidAir != null)
     {
         Program.game._EffectMaster_AddEffect(new VFX_GenericGhostImage(this.xTransform.v2Pos, this.xThrowMidAir.xRenderComponent));
     }
     if (this.iExistTimer < 4)
     {
         if (this.xThrowMidAir != null)
         {
             this.xThrowMidAir.xRenderComponent.fAlpha += 0.25f;
         }
         this.iExistTimer++;
     }
     float fDistanceCompared = Vector2.Distance(this.xTransform.v2Pos, this.xOwner.xTransform.v2Pos) / this.fMaxDistance;
     int iMosMos = this.iMinDamage + (int)((float)(this.iMaxDamage - this.iMinDamage) * fDistanceCompared);
     this.xAttackPhaseEnemy.xStats.iBaseDamage = iMosMos;
     this.xTransform.v2ServerPos = this.xTransform.v2Pos;
     if (this.bReachedEnd)
     {
         this.iExistTimer++;
         if (this.iExistTimer >= this.iStayRooted || (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client && Vector2.Distance(this.xOwner.xTransform.v2Pos, this.xThrowAtEnd.xRenderComponent.xTransform.v2Pos) < 10f))
         {
             this.xThrowAtEnd.xRenderComponent.AsAnimated().SwitchAnimation(1, Animation.CancelOptions.IgnoreIfPlaying);
             this.xThrowAtEnd.bToBeDestroyed = true;
             Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xThrowAtEnd.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrowPickup)).xRenderComponent.fVirtualHeight = this.xThrowAtEnd.xRenderComponent.fVirtualHeight + 5f;
             this.bToBeDestroyed = true;
             base.SendClientInstruction(0, new float[0]);
         }
         return;
     }
     if (this.bStopped)
     {
         this.xAttackPhaseEnemy.UnregisterCurrent();
         this.xAttackPhaseEnvironment.UnregisterCurrent();
         this.bReachedEnd = true;
         return;
     }
     if (this.iChargeLevel >= 3 && CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client && Vector2.Distance(this.xTransform.v2Pos, this.v2Target) < (this.xAttackPhaseEnemy.lxCurrentColliders[0] as SphereCollider).fRadius + 5f + this.fVelocity)
     {
         this.xAttackPhaseEnemy.UnregisterCurrent();
     }
     if (Vector2.Distance(this.xTransform.v2Pos, this.v2Target) > this.fVelocity)
     {
         this.xTransform.v2Pos += this.v2Direction * this.fVelocity;
         return;
     }
     this.xThrowMidAir.bToBeDestroyed = true;
     Program.GetTheGame().xSoundSystem.PlayCue("Rock_break", this, false);
     if (this.xOwner == Program.game.xLocalPlayer.xEntity)
     {
         Program.game.xCamera.SetShake(20);
     }
     this.xThrowAtEnd = (Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrownLantern)) as SortedAnimated);
     this.xThrowAtEnd.xRenderComponent.fVirtualHeight = this.xThrowMidAir.xRenderComponent.fVirtualHeight;
     string sPath = "Lantern";
     if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_Lantern)
     {
         sPath = "Lantern";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_Claymore)
     {
         sPath = "Broadsword";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_Stick)
     {
         sPath = "Stick";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_Club)
     {
         sPath = "Club";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_GreatAxe)
     {
         sPath = "GreatAxe";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_Lantern)
     {
         sPath = "Lantern";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_LumberAxe)
     {
         sPath = "Axe";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_SpikedClub)
     {
         sPath = "SpikedClub";
     }
     else if (this.enWeapon == ItemCodex.ItemTypes._TwoHanded_SlimeHammer)
     {
         sPath = "SlimeHammer";
     }
     this.xThrowAtEnd.xRenderComponent.AsAnimated().dixAnimations[0].txTexture = (this.xThrowAtEnd.xRenderComponent.AsAnimated().dixAnimations[1].txTexture = Program.GetTheGame().xSpellAssetLibrary.GetTexture2DByString(SpellCodex.SpellTypes._Skill_TwoHanded_Throw, "Sprites/Heroes/TwoHanded/Throw/Weapons/" + sPath));
     this.xThrowAtEnd.xRenderComponent.AsAnimated().dixAnimations[0].iCellHeight = this.xThrowAtEnd.xRenderComponent.AsAnimated().dixAnimations[0].txTexture.Height;
     this.xThrowAtEnd.xRenderComponent.AsAnimated().dixAnimations[0].iCellRenderWidth = this.xThrowAtEnd.xRenderComponent.AsAnimated().dixAnimations[0].txTexture.Width;
     this.xThrowMidAir = null;
     Random rand = Program.GetTheGame().randomInVisual;
     for (int i = 0; i < 10; i++)
     {
         Vector2 v2RandDir = new Vector2(-1f + (float)rand.NextDouble() * 2f, -1f + (float)rand.NextDouble() * 2f);
         if (v2RandDir == Vector2.Zero)
         {
             v2RandDir = new Vector2(1f, 0f);
         }
         v2RandDir.Normalize();
         Vector2 v2Orig = this.xTransform.v2Pos + v2RandDir * 8f;
         float fRandGrade = (float)rand.NextDouble();
         SortedAnimated eff = Program.GetTheGame()._EffectMaster_AddEffect(new _Effect_MovingAnimated(v2Orig, SortedAnimated.SortedAnimatedEffects._SpellEffects_Earth_EarthParticle01, v2RandDir * (0.5f + (float)Program.GetTheGame().randomInVisual.NextDouble() * 2f), 35 + (int)(25f * fRandGrade), 10, 0.92f)) as SortedAnimated;
         eff.xRenderComponent.fVirtualHeight += this.xRenderComponent.fVirtualHeight;
         (eff.xRenderComponent as AnimatedRenderComponent).fAnimationTimeWarp = 0.7f + fRandGrade * 0.6f;
     }
     for (int j = 0; j < 16; j++)
     {
         float fRotDir = 6.28318548f * ((float)j / 16f);
         Vector2 v2Dir = Utility.RadiansToVector2(fRotDir);
         float fSpeedMod = 1f;
         float fMosMod = 0.2f;
         float fMosBas = 1f - fMosMod;
         if (j < 4)
         {
             fSpeedMod = 1f - fMosMod * ((float)j / 4f);
         }
         else if (j < 8)
         {
             fSpeedMod = fMosBas + fMosMod * ((float)(j - 4) / 4f);
         }
         else if (j < 12)
         {
             fSpeedMod = 1f - fMosMod * ((float)(j - 8) / 4f);
         }
         else if (j < 16)
         {
             fSpeedMod = fMosBas + fMosMod * ((float)(j - 12) / 4f);
         }
         rand.NextDouble();
         _Effect_MovingAnimated eff2 = Program.GetTheGame()._EffectMaster_AddEffect(new _Effect_MovingAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects.Particle_DustCloudSmall01, v2Dir * 1.6f * fSpeedMod, 40, 20, 0.93f)) as _Effect_MovingAnimated;
         eff2.xRenderComponent.fVirtualHeight += this.xRenderComponent.fVirtualHeight;
         (eff2.xRenderComponent as AnimatedRenderComponent).fAnimationTimeWarp = 1.3f;
         eff2.fRotationMod = (float)rand.NextDouble() * 0.5f - 0.25f;
         eff2.xRenderComponent.cColor = Color.White;
     }
     if (this.iChargeLevel >= 3)
     {
         SortedAnimated xSor = Program.game._EffectMaster_AddEffect(new SortedAnimated(this.xTransform.v2Pos, SortedAnimated.SortedAnimatedEffects._SkillEffects_TwoHand_ThrowExplosion)) as SortedAnimated;
         xSor.xRenderComponent.fVirtualHeight = this.xThrowAtEnd.xRenderComponent.fVirtualHeight + 1f;
         if (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client)
         {
             (this.xAttackPhaseEnemy.lxCurrentColliders[0] as SphereCollider).fRadius += 5f;
             (this.xAttackPhaseEnvironment.lxCurrentColliders[0] as SphereCollider).fRadius += 5f;
             this.xAttackPhaseEnemy.RegisterCurrent();
             this.xAttackPhaseEnemy.lxHitEntities.Clear();
             this.xAttackPhaseEnvironment.lxHitEntities.Clear();
             this.xAttackPhaseEnemy.xStats.fDamageModifier *= 1.5f;
         }
     }
     this.bStopped = true;
 }
 public _Effect_MovingAnimated(SortedAnimated.SortedAnimatedEffects enEffect, Vector2 p_v2TravelDirSpeed, int p_iSurviveTime)
     : base(enEffect)
 {
     this.v2TravelDirSpeed = p_v2TravelDirSpeed;
     this.iSurviveTime = p_iSurviveTime;
 }
 public void AddFencePart(Vector2 v2Pos)
 {
     SortedAnimated mos = new SortedAnimated(v2Pos, SortedAnimated.SortedAnimatedEffects._Unique_FlyingTemple_LaserFenceGreen);
     Program.game._EffectMaster_AddEffect(mos);
 }