Guest User

YandereScript

a guest
Jan 3rd, 2019
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 186.76 KB | None | 0 0
  1. using System;
  2. using System.Collections;
  3. using HighlightingSystem;
  4. using Pathfinding;
  5. using UnityEngine;
  6.  
  7. public class YandereScript : MonoBehaviour
  8. {
  9.     private void Start()
  10.     {
  11.         this.MyRenderer.materials[2].SetFloat("_BlendAmount1", 0f);
  12.         this.CharacterAnimation = this.Character.GetComponent<Animation>();
  13.         this.GreyTarget = 1f - SchoolGlobals.SchoolAtmosphere;
  14.         this.SetAnimationLayers();
  15.         this.UpdateNumbness();
  16.         this.RightEyeOrigin = this.RightEye.localPosition;
  17.         this.LeftEyeOrigin = this.LeftEye.localPosition;
  18.         this.CharacterAnimation["f02_yanderePose_00"].weight = 0f;
  19.         this.CharacterAnimation["f02_cameraPose_00"].weight = 0f;
  20.         this.CharacterAnimation["f02_gazerSnap_00"].speed = 2f;
  21.         ColorCorrectionCurves[] components = Camera.main.GetComponents<ColorCorrectionCurves>();
  22.         Vignetting[] components2 = Camera.main.GetComponents<Vignetting>();
  23.         this.YandereColorCorrection = components[1];
  24.         this.Vignette = components2[1];
  25.         this.ResetYandereEffects();
  26.         this.ResetSenpaiEffects();
  27.         this.Sanity = 100f;
  28.         this.Bloodiness = 0f;
  29.         this.SetUniform();
  30.         this.EasterEggMenu.transform.localPosition = new Vector3(this.EasterEggMenu.transform.localPosition.x, 0f, this.EasterEggMenu.transform.localPosition.z);
  31.         this.ProgressBar.transform.parent.gameObject.SetActive(false);
  32.         this.Smartphone.transform.parent.gameObject.SetActive(false);
  33.         this.ObstacleDetector.gameObject.SetActive(false);
  34.         this.SithBeam[1].gameObject.SetActive(false);
  35.         this.SithBeam[2].gameObject.SetActive(false);
  36.         this.PunishedAccessories.SetActive(false);
  37.         this.SukebanAccessories.SetActive(false);
  38.         this.FalconShoulderpad.SetActive(false);
  39.         this.CensorSteam[0].SetActive(false);
  40.         this.CensorSteam[1].SetActive(false);
  41.         this.CensorSteam[2].SetActive(false);
  42.         this.CensorSteam[3].SetActive(false);
  43.         this.FloatingShovel.SetActive(false);
  44.         this.BlackEyePatch.SetActive(false);
  45.         this.EasterEggMenu.SetActive(false);
  46.         this.FalconNipple1.SetActive(false);
  47.         this.FalconNipple2.SetActive(false);
  48.         this.PunishedScarf.SetActive(false);
  49.         this.FalconBuckle.SetActive(false);
  50.         this.FalconHelmet.SetActive(false);
  51.         this.TornadoDress.SetActive(false);
  52.         this.Stand.Stand.SetActive(false);
  53.         this.TornadoHair.SetActive(false);
  54.         this.MemeGlasses.SetActive(false);
  55.         this.CirnoWings.SetActive(false);
  56.         this.KONGlasses.SetActive(false);
  57.         this.EbolaWings.SetActive(false);
  58.         this.Microphone.SetActive(false);
  59.         this.Poisons[1].SetActive(false);
  60.         this.Poisons[2].SetActive(false);
  61.         this.Poisons[3].SetActive(false);
  62.         this.BladeHair.SetActive(false);
  63.         this.CirnoHair.SetActive(false);
  64.         this.EbolaHair.SetActive(false);
  65.         this.FalconGun.SetActive(false);
  66.         this.EyepatchL.SetActive(false);
  67.         this.EyepatchR.SetActive(false);
  68.         this.ZipTie[0].SetActive(false);
  69.         this.ZipTie[1].SetActive(false);
  70.         this.Shoes[0].SetActive(false);
  71.         this.Shoes[1].SetActive(false);
  72.         this.Phone.SetActive(false);
  73.         this.Cape.SetActive(false);
  74.         this.OriginalIdleAnim = this.IdleAnim;
  75.         this.OriginalWalkAnim = this.WalkAnim;
  76.         this.OriginalRunAnim = this.RunAnim;
  77.         this.ID = 1;
  78.         while (this.ID < this.Accessories.Length)
  79.         {
  80.             this.Accessories[this.ID].SetActive(false);
  81.             this.ID++;
  82.         }
  83.         foreach (GameObject gameObject in this.PunishedArm)
  84.         {
  85.             gameObject.SetActive(false);
  86.         }
  87.         foreach (GameObject gameObject2 in this.GaloAccessories)
  88.         {
  89.             gameObject2.SetActive(false);
  90.         }
  91.         this.ID = 1;
  92.         while (this.ID < this.CyborgParts.Length)
  93.         {
  94.             this.CyborgParts[this.ID].SetActive(false);
  95.             this.ID++;
  96.         }
  97.         this.ID = 0;
  98.         while (this.ID < this.KLKParts.Length)
  99.         {
  100.             this.KLKParts[this.ID].SetActive(false);
  101.             this.ID++;
  102.         }
  103.         this.ID = 0;
  104.         while (this.ID < this.BanchoAccessories.Length)
  105.         {
  106.             this.BanchoAccessories[this.ID].SetActive(false);
  107.             this.ID++;
  108.         }
  109.         if (PlayerGlobals.PantiesEquipped == 5)
  110.         {
  111.             this.RunSpeed += 1f;
  112.         }
  113.         if (PlayerGlobals.Headset)
  114.         {
  115.             this.Inventory.Headset = true;
  116.         }
  117.         this.UpdateHair();
  118.         this.ClubAccessory();
  119.         if (MissionModeGlobals.MissionMode || GameGlobals.LoveSick)
  120.         {
  121.             this.NoDebug = true;
  122.         }
  123.         if (this.StudentManager.Students[33] != null)
  124.         {
  125.             UnityEngine.Object.Destroy(base.gameObject);
  126.         }
  127.     }
  128.  
  129.     public float Sanity
  130.     {
  131.         get
  132.         {
  133.             return this.sanity;
  134.         }
  135.         set
  136.         {
  137.             this.sanity = Mathf.Clamp(value, 0f, 100f);
  138.             if (this.sanity > 66.66666f)
  139.             {
  140.                 this.HeartRate.SetHeartRateColour(this.HeartRate.NormalColour);
  141.                 this.SanityWarning = false;
  142.             }
  143.             else if (this.sanity > 33.33333f)
  144.             {
  145.                 this.HeartRate.SetHeartRateColour(this.HeartRate.MediumColour);
  146.                 this.SanityWarning = false;
  147.                 if (this.PreviousSanity < 33.33333f)
  148.                 {
  149.                     this.StudentManager.UpdateStudents();
  150.                 }
  151.             }
  152.             else
  153.             {
  154.                 this.HeartRate.SetHeartRateColour(this.HeartRate.BadColour);
  155.                 if (!this.SanityWarning)
  156.                 {
  157.                     this.NotificationManager.DisplayNotification(NotificationType.Insane);
  158.                     this.SanityWarning = true;
  159.                 }
  160.             }
  161.             this.HeartRate.BeatsPerMinute = (int)(240f - this.sanity * 1.8f);
  162.             if (this.MyRenderer.sharedMesh != this.NudeMesh)
  163.             {
  164.                 if (!this.Slender)
  165.                 {
  166.                     this.MyRenderer.materials[2].SetFloat("_BlendAmount", 1f - this.sanity / 100f);
  167.                 }
  168.                 else
  169.                 {
  170.                     this.MyRenderer.materials[2].SetFloat("_BlendAmount", 0f);
  171.                 }
  172.             }
  173.             else
  174.             {
  175.                 this.MyRenderer.materials[2].SetFloat("_BlendAmount", 0f);
  176.             }
  177.             this.PreviousSanity = this.sanity;
  178.             this.Hairstyles[2].GetComponent<SkinnedMeshRenderer>().SetBlendShapeWeight(0, this.Sanity);
  179.         }
  180.     }
  181.  
  182.     public float Bloodiness
  183.     {
  184.         get
  185.         {
  186.             return this.bloodiness;
  187.         }
  188.         set
  189.         {
  190.             this.bloodiness = Mathf.Clamp(value, 0f, 100f);
  191.             if (!this.BloodyWarning && this.Bloodiness > 0f)
  192.             {
  193.                 this.NotificationManager.DisplayNotification(NotificationType.Bloody);
  194.                 this.BloodyWarning = true;
  195.                 if (this.Schoolwear > 0)
  196.                 {
  197.                     this.Police.BloodyClothing++;
  198.                 }
  199.             }
  200.             this.MyProjector.enabled = true;
  201.             if (this.Bloodiness == 100f)
  202.             {
  203.                 this.MyProjector.material.mainTexture = this.BloodTextures[5];
  204.             }
  205.             else if (this.Bloodiness >= 80f)
  206.             {
  207.                 this.MyProjector.material.mainTexture = this.BloodTextures[4];
  208.             }
  209.             else if (this.Bloodiness >= 60f)
  210.             {
  211.                 this.MyProjector.material.mainTexture = this.BloodTextures[3];
  212.             }
  213.             else if (this.Bloodiness >= 40f)
  214.             {
  215.                 this.MyProjector.material.mainTexture = this.BloodTextures[2];
  216.             }
  217.             else if (this.Bloodiness >= 20f)
  218.             {
  219.                 this.MyProjector.material.mainTexture = this.BloodTextures[1];
  220.             }
  221.             else
  222.             {
  223.                 this.MyProjector.enabled = false;
  224.                 this.BloodyWarning = false;
  225.             }
  226.             this.StudentManager.UpdateBooths();
  227.             this.MyLocker.UpdateButtons();
  228.             this.Outline.h.ReinitMaterials();
  229.         }
  230.     }
  231.  
  232.     public WeaponScript EquippedWeapon
  233.     {
  234.         get
  235.         {
  236.             return this.Weapon[this.Equipped];
  237.         }
  238.         set
  239.         {
  240.             this.Weapon[this.Equipped] = value;
  241.         }
  242.     }
  243.  
  244.     public bool Armed
  245.     {
  246.         get
  247.         {
  248.             return this.EquippedWeapon != null;
  249.         }
  250.     }
  251.  
  252.     public SanityType SanityType
  253.     {
  254.         get
  255.         {
  256.             if (this.Sanity / 100f > 0.6666667f)
  257.             {
  258.                 return SanityType.High;
  259.             }
  260.             if (this.Sanity / 100f > 0.333333343f)
  261.             {
  262.                 return SanityType.Medium;
  263.             }
  264.             return SanityType.Low;
  265.         }
  266.     }
  267.  
  268.     public string GetSanityString(SanityType sanityType)
  269.     {
  270.         if (sanityType == SanityType.High)
  271.         {
  272.             return "High";
  273.         }
  274.         if (sanityType == SanityType.Medium)
  275.         {
  276.             return "Med";
  277.         }
  278.         return "Low";
  279.     }
  280.  
  281.     public Vector3 HeadPosition
  282.     {
  283.         get
  284.         {
  285.             return new Vector3(base.transform.position.x, this.Hips.position.y + 0.2f, base.transform.position.z);
  286.         }
  287.     }
  288.  
  289.     public void SetAnimationLayers()
  290.     {
  291.         this.CharacterAnimation["f02_yanderePose_00"].layer = 1;
  292.         this.CharacterAnimation.Play("f02_yanderePose_00");
  293.         this.CharacterAnimation["f02_yanderePose_00"].weight = 0f;
  294.         this.CharacterAnimation["f02_shy_00"].layer = 2;
  295.         this.CharacterAnimation.Play("f02_shy_00");
  296.         this.CharacterAnimation["f02_shy_00"].weight = 0f;
  297.         this.CharacterAnimation["f02_singleSaw_00"].layer = 3;
  298.         this.CharacterAnimation.Play("f02_singleSaw_00");
  299.         this.CharacterAnimation["f02_singleSaw_00"].weight = 0f;
  300.         this.CharacterAnimation["f02_fist_00"].layer = 4;
  301.         this.CharacterAnimation.Play("f02_fist_00");
  302.         this.CharacterAnimation["f02_fist_00"].weight = 0f;
  303.         this.CharacterAnimation["f02_mopping_00"].layer = 5;
  304.         this.CharacterAnimation["f02_mopping_00"].speed = 2f;
  305.         this.CharacterAnimation.Play("f02_mopping_00");
  306.         this.CharacterAnimation["f02_mopping_00"].weight = 0f;
  307.         this.CharacterAnimation["f02_carry_00"].layer = 6;
  308.         this.CharacterAnimation.Play("f02_carry_00");
  309.         this.CharacterAnimation["f02_carry_00"].weight = 0f;
  310.         this.CharacterAnimation["f02_mopCarry_00"].layer = 7;
  311.         this.CharacterAnimation.Play("f02_mopCarry_00");
  312.         this.CharacterAnimation["f02_mopCarry_00"].weight = 0f;
  313.         this.CharacterAnimation["f02_bucketCarry_00"].layer = 8;
  314.         this.CharacterAnimation.Play("f02_bucketCarry_00");
  315.         this.CharacterAnimation["f02_bucketCarry_00"].weight = 0f;
  316.         this.CharacterAnimation["f02_cameraPose_00"].layer = 9;
  317.         this.CharacterAnimation.Play("f02_cameraPose_00");
  318.         this.CharacterAnimation["f02_cameraPose_00"].weight = 0f;
  319.         this.CharacterAnimation["f02_grip_00"].layer = 10;
  320.         this.CharacterAnimation.Play("f02_grip_00");
  321.         this.CharacterAnimation["f02_grip_00"].weight = 0f;
  322.         this.CharacterAnimation["f02_holdHead_00"].layer = 11;
  323.         this.CharacterAnimation.Play("f02_holdHead_00");
  324.         this.CharacterAnimation["f02_holdHead_00"].weight = 0f;
  325.         this.CharacterAnimation["f02_holdTorso_00"].layer = 12;
  326.         this.CharacterAnimation.Play("f02_holdTorso_00");
  327.         this.CharacterAnimation["f02_holdTorso_00"].weight = 0f;
  328.         this.CharacterAnimation["f02_carryCan_00"].layer = 13;
  329.         this.CharacterAnimation.Play("f02_carryCan_00");
  330.         this.CharacterAnimation["f02_carryCan_00"].weight = 0f;
  331.         this.CharacterAnimation["f02_leftGrip_00"].layer = 14;
  332.         this.CharacterAnimation.Play("f02_leftGrip_00");
  333.         this.CharacterAnimation["f02_leftGrip_00"].weight = 0f;
  334.         this.CharacterAnimation["f02_carryShoulder_00"].layer = 15;
  335.         this.CharacterAnimation.Play("f02_carryShoulder_00");
  336.         this.CharacterAnimation["f02_carryShoulder_00"].weight = 0f;
  337.         this.CharacterAnimation[this.CreepyIdles[1]].layer = 16;
  338.         this.CharacterAnimation.Play(this.CreepyIdles[1]);
  339.         this.CharacterAnimation[this.CreepyIdles[1]].weight = 0f;
  340.         this.CharacterAnimation[this.CreepyIdles[2]].layer = 17;
  341.         this.CharacterAnimation.Play(this.CreepyIdles[2]);
  342.         this.CharacterAnimation[this.CreepyIdles[2]].weight = 0f;
  343.         this.CharacterAnimation[this.CreepyIdles[3]].layer = 18;
  344.         this.CharacterAnimation.Play(this.CreepyIdles[3]);
  345.         this.CharacterAnimation[this.CreepyIdles[3]].weight = 0f;
  346.         this.CharacterAnimation[this.CreepyIdles[4]].layer = 19;
  347.         this.CharacterAnimation.Play(this.CreepyIdles[4]);
  348.         this.CharacterAnimation[this.CreepyIdles[4]].weight = 0f;
  349.         this.CharacterAnimation[this.CreepyIdles[5]].layer = 20;
  350.         this.CharacterAnimation.Play(this.CreepyIdles[5]);
  351.         this.CharacterAnimation[this.CreepyIdles[5]].weight = 0f;
  352.         this.CharacterAnimation[this.CreepyWalks[1]].layer = 21;
  353.         this.CharacterAnimation.Play(this.CreepyWalks[1]);
  354.         this.CharacterAnimation[this.CreepyWalks[1]].weight = 0f;
  355.         this.CharacterAnimation[this.CreepyWalks[2]].layer = 22;
  356.         this.CharacterAnimation.Play(this.CreepyWalks[2]);
  357.         this.CharacterAnimation[this.CreepyWalks[2]].weight = 0f;
  358.         this.CharacterAnimation[this.CreepyWalks[3]].layer = 23;
  359.         this.CharacterAnimation.Play(this.CreepyWalks[3]);
  360.         this.CharacterAnimation[this.CreepyWalks[3]].weight = 0f;
  361.         this.CharacterAnimation[this.CreepyWalks[4]].layer = 24;
  362.         this.CharacterAnimation.Play(this.CreepyWalks[4]);
  363.         this.CharacterAnimation[this.CreepyWalks[4]].weight = 0f;
  364.         this.CharacterAnimation[this.CreepyWalks[5]].layer = 25;
  365.         this.CharacterAnimation.Play(this.CreepyWalks[5]);
  366.         this.CharacterAnimation[this.CreepyWalks[5]].weight = 0f;
  367.         this.CharacterAnimation["f02_carryDramatic_00"].layer = 26;
  368.         this.CharacterAnimation.Play("f02_carryDramatic_00");
  369.         this.CharacterAnimation["f02_carryDramatic_00"].weight = 0f;
  370.         this.CharacterAnimation["f02_dipping_00"].speed = 2f;
  371.         this.CharacterAnimation["f02_stripping_00"].speed = 1.5f;
  372.         this.CharacterAnimation["f02_falconIdle_00"].speed = 2f;
  373.         this.CharacterAnimation["f02_carryIdleA_00"].speed = 1.75f;
  374.         this.CharacterAnimation["CyborgNinja_Run_Armed"].speed = 2f;
  375.         this.CharacterAnimation["CyborgNinja_Run_Unarmed"].speed = 2f;
  376.     }
  377.  
  378.     private void Update()
  379.     {
  380.         if (Input.GetKeyDown(KeyCode.LeftAlt))
  381.         {
  382.             this.CinematicCamera.SetActive(false);
  383.         }
  384.         AudioSource component = base.GetComponent<AudioSource>();
  385.         if (!this.PauseScreen.Show)
  386.         {
  387.             this.UpdateMovement();
  388.             this.UpdatePoisoning();
  389.             if (!this.Laughing)
  390.             {
  391.                 component.volume -= Time.deltaTime * 2f;
  392.             }
  393.             if (!this.Mopping)
  394.             {
  395.                 this.CharacterAnimation["f02_mopping_00"].weight = Mathf.Lerp(this.CharacterAnimation["f02_mopping_00"].weight, 0f, Time.deltaTime * 10f);
  396.             }
  397.             else
  398.             {
  399.                 this.CharacterAnimation["f02_mopping_00"].weight = Mathf.Lerp(this.CharacterAnimation["f02_mopping_00"].weight, 1f, Time.deltaTime * 10f);
  400.                 if (Input.GetButtonUp("A") || Input.GetKeyDown(KeyCode.Escape))
  401.                 {
  402.                     this.Mopping = false;
  403.                 }
  404.             }
  405.             if (this.LaughIntensity < 10f)
  406.             {
  407.                 this.ID = 0;
  408.                 while (this.ID < this.CarryAnims.Length)
  409.                 {
  410.                     string name = this.CarryAnims[this.ID];
  411.                     if (this.PickUp != null && this.CarryAnimID == this.ID && !this.Mopping && !this.Dipping && !this.Pouring && !this.BucketDropping && !this.Digging && !this.Burying)
  412.                     {
  413.                         this.CharacterAnimation[name].weight = Mathf.Lerp(this.CharacterAnimation[name].weight, 1f, Time.deltaTime * 10f);
  414.                     }
  415.                     else
  416.                     {
  417.                         this.CharacterAnimation[name].weight = Mathf.Lerp(this.CharacterAnimation[name].weight, 0f, Time.deltaTime * 10f);
  418.                     }
  419.                     this.ID++;
  420.                 }
  421.             }
  422.             else if (this.Armed)
  423.             {
  424.                 this.CharacterAnimation["f02_mopCarry_00"].weight = Mathf.Lerp(this.CharacterAnimation["f02_mopCarry_00"].weight, 1f, Time.deltaTime * 10f);
  425.             }
  426.             if (this.Noticed && !this.Attacking)
  427.             {
  428.                 if (!this.Collapse)
  429.                 {
  430.                     this.CharacterAnimation.CrossFade("f02_scaredIdle_00");
  431.                     this.targetRotation = Quaternion.LookRotation(this.Senpai.position - base.transform.position);
  432.                     base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  433.                     base.transform.localEulerAngles = new Vector3(0f, base.transform.localEulerAngles.y, base.transform.localEulerAngles.z);
  434.                 }
  435.                 else if (this.CharacterAnimation["f02_down_22"].time >= this.CharacterAnimation["f02_down_22"].length)
  436.                 {
  437.                     this.CharacterAnimation.CrossFade("f02_down_23");
  438.                 }
  439.             }
  440.             this.UpdateEffects();
  441.             this.UpdateTalking();
  442.             this.UpdateAttacking();
  443.             this.UpdateSlouch();
  444.             if (!this.Noticed)
  445.             {
  446.                 this.RightYandereEye.material.color = new Color(this.RightYandereEye.material.color.r, this.RightYandereEye.material.color.g, this.RightYandereEye.material.color.b, 1f - this.Sanity / 100f);
  447.                 this.LeftYandereEye.material.color = new Color(this.LeftYandereEye.material.color.r, this.LeftYandereEye.material.color.g, this.LeftYandereEye.material.color.b, 1f - this.Sanity / 100f);
  448.                 this.EyeShrink = Mathf.Lerp(this.EyeShrink, 0.5f * (1f - this.Sanity / 100f), Time.deltaTime * 10f);
  449.             }
  450.             this.UpdateTwitch();
  451.             this.UpdateWarnings();
  452.             this.UpdateDebugFunctionality();
  453.             if (base.transform.position.y < 0f)
  454.             {
  455.                 base.transform.position = new Vector3(base.transform.position.x, 0f, base.transform.position.z);
  456.             }
  457.             if (base.transform.position.z < -99.5f)
  458.             {
  459.                 base.transform.position = new Vector3(base.transform.position.x, base.transform.position.y, -99.5f);
  460.             }
  461.             base.transform.eulerAngles = new Vector3(0f, base.transform.eulerAngles.y, 0f);
  462.         }
  463.         else
  464.         {
  465.             component.volume -= 0.333333343f;
  466.         }
  467.     }
  468.  
  469.     private void GoToPKDir(PKDirType pkDir, string sansAnim, Vector3 ragdollLocalPos)
  470.     {
  471.         this.CharacterAnimation.CrossFade(sansAnim);
  472.         this.RagdollPK.transform.localPosition = ragdollLocalPos;
  473.         if (this.PKDir != pkDir)
  474.         {
  475.             AudioSource.PlayClipAtPoint(this.Slam, base.transform.position + Vector3.up);
  476.         }
  477.         this.PKDir = pkDir;
  478.     }
  479.  
  480.     private void UpdateMovement()
  481.     {
  482.         AudioSource component = base.GetComponent<AudioSource>();
  483.         if (this.CanMove)
  484.         {
  485.             this.MyController.Move(Physics.gravity * Time.deltaTime);
  486.             this.v = Input.GetAxis("Vertical");
  487.             this.h = Input.GetAxis("Horizontal");
  488.             this.FlapSpeed = Mathf.Abs(this.v) + Mathf.Abs(this.h);
  489.             if (!this.Aiming)
  490.             {
  491.                 Vector3 a = this.MainCamera.transform.TransformDirection(Vector3.forward);
  492.                 a.y = 0f;
  493.                 a = a.normalized;
  494.                 Vector3 a2 = new Vector3(a.z, 0f, -a.x);
  495.                 this.targetDirection = this.h * a2 + this.v * a;
  496.                 if (this.targetDirection != Vector3.zero)
  497.                 {
  498.                     this.targetRotation = Quaternion.LookRotation(this.targetDirection);
  499.                     base.transform.rotation = Quaternion.Lerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  500.                 }
  501.                 else
  502.                 {
  503.                     this.targetRotation = new Quaternion(0f, 0f, 0f, 0f);
  504.                 }
  505.                 if (this.v != 0f || this.h != 0f)
  506.                 {
  507.                     if (Input.GetButton("LB") && Vector3.Distance(base.transform.position, this.Senpai.position) > 1f)
  508.                     {
  509.                         if (this.Stance.Current == StanceType.Crouching)
  510.                         {
  511.                             this.CharacterAnimation.CrossFade(this.CrouchRunAnim);
  512.                             this.MyController.Move(base.transform.forward * (this.CrouchRunSpeed + (float)(ClassGlobals.PhysicalGrade + PlayerGlobals.SpeedBonus) * 0.25f) * Time.deltaTime);
  513.                         }
  514.                         else if (!this.Dragging && !this.Mopping)
  515.                         {
  516.                             this.CharacterAnimation.CrossFade(this.RunAnim);
  517.                             this.MyController.Move(base.transform.forward * (this.RunSpeed + (float)(ClassGlobals.PhysicalGrade + PlayerGlobals.SpeedBonus) * 0.25f) * Time.deltaTime);
  518.                         }
  519.                         else if (this.Mopping)
  520.                         {
  521.                             this.CharacterAnimation.CrossFade(this.WalkAnim);
  522.                             this.MyController.Move(base.transform.forward * (this.WalkSpeed * Time.deltaTime));
  523.                         }
  524.                         if (this.Stance.Current == StanceType.Crouching)
  525.                         {
  526.                         }
  527.                         if (this.Stance.Current == StanceType.Crawling)
  528.                         {
  529.                             this.Stance.Current = StanceType.Crouching;
  530.                             this.Crouch();
  531.                         }
  532.                     }
  533.                     else if (!this.Dragging)
  534.                     {
  535.                         if (this.Stance.Current == StanceType.Crawling)
  536.                         {
  537.                             this.CharacterAnimation.CrossFade(this.CrawlWalkAnim);
  538.                             this.MyController.Move(base.transform.forward * (this.CrawlSpeed * Time.deltaTime));
  539.                         }
  540.                         else if (this.Stance.Current == StanceType.Crouching)
  541.                         {
  542.                             this.CharacterAnimation[this.CrouchWalkAnim].speed = 1f;
  543.                             this.CharacterAnimation.CrossFade(this.CrouchWalkAnim);
  544.                             this.MyController.Move(base.transform.forward * (this.CrouchWalkSpeed * Time.deltaTime));
  545.                         }
  546.                         else
  547.                         {
  548.                             this.CharacterAnimation.CrossFade(this.WalkAnim);
  549.                             if (this.NearSenpai)
  550.                             {
  551.                                 for (int i = 1; i < 6; i++)
  552.                                 {
  553.                                     if (i != this.Creepiness)
  554.                                     {
  555.                                         this.CharacterAnimation[this.CreepyIdles[i]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyIdles[i]].weight, 0f, Time.deltaTime);
  556.                                         this.CharacterAnimation[this.CreepyWalks[i]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyWalks[i]].weight, 0f, Time.deltaTime);
  557.                                     }
  558.                                 }
  559.                                 this.CharacterAnimation[this.CreepyIdles[this.Creepiness]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyIdles[this.Creepiness]].weight, 0f, Time.deltaTime);
  560.                                 this.CharacterAnimation[this.CreepyWalks[this.Creepiness]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyWalks[this.Creepiness]].weight, 1f, Time.deltaTime);
  561.                             }
  562.                             this.MyController.Move(base.transform.forward * (this.WalkSpeed * Time.deltaTime));
  563.                         }
  564.                     }
  565.                     else
  566.                     {
  567.                         this.CharacterAnimation.CrossFade("f02_dragWalk_01");
  568.                         this.MyController.Move(base.transform.forward * (this.WalkSpeed * Time.deltaTime));
  569.                     }
  570.                 }
  571.                 else if (!this.Dragging)
  572.                 {
  573.                     if (this.Stance.Current == StanceType.Crawling)
  574.                     {
  575.                         this.CharacterAnimation.CrossFade(this.CrawlIdleAnim);
  576.                     }
  577.                     else if (this.Stance.Current == StanceType.Crouching)
  578.                     {
  579.                         this.CharacterAnimation.CrossFade(this.CrouchIdleAnim);
  580.                     }
  581.                     else
  582.                     {
  583.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  584.                         if (this.NearSenpai)
  585.                         {
  586.                             for (int j = 1; j < 6; j++)
  587.                             {
  588.                                 if (j != this.Creepiness)
  589.                                 {
  590.                                     this.CharacterAnimation[this.CreepyIdles[j]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyIdles[j]].weight, 0f, Time.deltaTime);
  591.                                     this.CharacterAnimation[this.CreepyWalks[j]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyWalks[j]].weight, 0f, Time.deltaTime);
  592.                                 }
  593.                             }
  594.                             this.CharacterAnimation[this.CreepyIdles[this.Creepiness]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyIdles[this.Creepiness]].weight, 1f, Time.deltaTime);
  595.                             this.CharacterAnimation[this.CreepyWalks[this.Creepiness]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyWalks[this.Creepiness]].weight, 0f, Time.deltaTime);
  596.                         }
  597.                     }
  598.                 }
  599.                 else
  600.                 {
  601.                     this.CharacterAnimation.CrossFade("f02_dragIdle_02");
  602.                 }
  603.             }
  604.             else
  605.             {
  606.                 if (this.v != 0f || this.h != 0f)
  607.                 {
  608.                     if (this.Stance.Current == StanceType.Crawling)
  609.                     {
  610.                         this.CharacterAnimation.CrossFade(this.CrawlWalkAnim);
  611.                         this.MyController.Move(base.transform.forward * (this.CrawlSpeed * Time.deltaTime * this.v));
  612.                         this.MyController.Move(base.transform.right * (this.CrawlSpeed * Time.deltaTime * this.h));
  613.                     }
  614.                     else if (this.Stance.Current == StanceType.Crouching)
  615.                     {
  616.                         this.CharacterAnimation.CrossFade(this.CrouchWalkAnim);
  617.                         this.MyController.Move(base.transform.forward * (this.CrouchWalkSpeed * Time.deltaTime * this.v));
  618.                         this.MyController.Move(base.transform.right * (this.CrouchWalkSpeed * Time.deltaTime * this.h));
  619.                     }
  620.                     else
  621.                     {
  622.                         this.CharacterAnimation.CrossFade(this.WalkAnim);
  623.                         this.MyController.Move(base.transform.forward * (this.WalkSpeed * Time.deltaTime * this.v));
  624.                         this.MyController.Move(base.transform.right * (this.WalkSpeed * Time.deltaTime * this.h));
  625.                     }
  626.                 }
  627.                 else if (this.Stance.Current == StanceType.Crawling)
  628.                 {
  629.                     this.CharacterAnimation.CrossFade(this.CrawlIdleAnim);
  630.                 }
  631.                 else if (this.Stance.Current == StanceType.Crouching)
  632.                 {
  633.                     this.CharacterAnimation.CrossFade(this.CrouchIdleAnim);
  634.                 }
  635.                 else
  636.                 {
  637.                     this.CharacterAnimation.CrossFade(this.IdleAnim);
  638.                 }
  639.                 this.Bend += Input.GetAxis("Mouse Y") * 8f;
  640.                 if (this.Stance.Current == StanceType.Crawling)
  641.                 {
  642.                     if (this.Bend < 0f)
  643.                     {
  644.                         this.Bend = 0f;
  645.                     }
  646.                 }
  647.                 else if (this.Stance.Current == StanceType.Crouching)
  648.                 {
  649.                     if (this.Bend < -45f)
  650.                     {
  651.                         this.Bend = -45f;
  652.                     }
  653.                 }
  654.                 else if (this.Bend < -85f)
  655.                 {
  656.                     this.Bend = -85f;
  657.                 }
  658.                 if (this.Bend > 85f)
  659.                 {
  660.                     this.Bend = 85f;
  661.                 }
  662.                 base.transform.localEulerAngles = new Vector3(base.transform.localEulerAngles.x, base.transform.localEulerAngles.y + Input.GetAxis("Mouse X") * 8f, base.transform.localEulerAngles.z);
  663.             }
  664.             if (!this.NearSenpai)
  665.             {
  666.                 if (!Input.GetButton("A") && !Input.GetButton("B") && !Input.GetButton("X") && !Input.GetButton("Y") && this.StudentManager.Clock.Timer > 1f && (Input.GetAxis("LT") > 0.5f || Input.GetMouseButton(1)))
  667.                 {
  668.                     if (this.Inventory.RivalPhone && Input.GetButtonDown("LB"))
  669.                     {
  670.                         this.CharacterAnimation["f02_cameraPose_00"].weight = 0f;
  671.                         if (!this.RivalPhone)
  672.                         {
  673.                             this.SmartphoneRenderer.material.mainTexture = this.RivalPhoneTexture;
  674.                             this.RivalPhone = true;
  675.                         }
  676.                         else
  677.                         {
  678.                             this.SmartphoneRenderer.material.mainTexture = this.YanderePhoneTexture;
  679.                             this.RivalPhone = false;
  680.                         }
  681.                     }
  682.                     if (Input.GetAxis("LT") > 0.5f)
  683.                     {
  684.                         this.UsingController = true;
  685.                     }
  686.                     if (!this.Aiming)
  687.                     {
  688.                         if (this.CameraEffects.OneCamera)
  689.                         {
  690.                             this.MainCamera.clearFlags = CameraClearFlags.Color;
  691.                             this.MainCamera.farClipPlane = 0.02f;
  692.                             this.HandCamera.GetComponent<Camera>().clearFlags = CameraClearFlags.Color;
  693.                         }
  694.                         else
  695.                         {
  696.                             this.MainCamera.clearFlags = CameraClearFlags.Skybox;
  697.                             this.MainCamera.farClipPlane = (float)OptionGlobals.DrawDistance;
  698.                             this.HandCamera.GetComponent<Camera>().clearFlags = CameraClearFlags.Depth;
  699.                         }
  700.                         base.transform.eulerAngles = new Vector3(base.transform.eulerAngles.x, this.MainCamera.transform.eulerAngles.y, base.transform.eulerAngles.z);
  701.                         this.CharacterAnimation.Play(this.IdleAnim);
  702.                         this.Smartphone.transform.parent.gameObject.SetActive(true);
  703.                         this.DisableHairAndAccessories();
  704.                         this.ShoulderCamera.AimingCamera = true;
  705.                         this.Obscurance.enabled = false;
  706.                         this.HandCamera.SetActive(true);
  707.                         this.YandereVision = false;
  708.                         this.Blur.enabled = true;
  709.                         this.Mopping = false;
  710.                         this.Aiming = true;
  711.                         this.EmptyHands();
  712.                         if (this.Inventory.RivalPhone)
  713.                         {
  714.                             this.PhonePromptBar.Panel.enabled = true;
  715.                             this.PhonePromptBar.Show = true;
  716.                         }
  717.                         Time.timeScale = 1f;
  718.                     }
  719.                 }
  720.                 if (!this.Aiming && !this.Accessories[9].activeInHierarchy && !this.Accessories[16].activeInHierarchy)
  721.                 {
  722.                     if (Input.GetButton("RB"))
  723.                     {
  724.                         if (this.BlackRobe.activeInHierarchy)
  725.                         {
  726.                             if (Input.GetButtonDown("RB"))
  727.                             {
  728.                                 AudioSource.PlayClipAtPoint(this.SithOn, base.transform.position);
  729.                             }
  730.                             this.SithTrailEnd1.localPosition = new Vector3(-1f, 0f, 0f);
  731.                             this.SithTrailEnd2.localPosition = new Vector3(1f, 0f, 0f);
  732.                             this.Beam[0].Play();
  733.                             this.Beam[1].Play();
  734.                             this.Beam[2].Play();
  735.                             this.Beam[3].Play();
  736.                             if (Input.GetButtonDown("X"))
  737.                             {
  738.                                 this.CharacterAnimation.Play("f02_sithAttack_00");
  739.                                 this.SithBeam[1].Damage = 10f;
  740.                                 this.SithBeam[2].Damage = 10f;
  741.                                 this.SithAttacking = true;
  742.                                 this.CanMove = false;
  743.                                 this.SithPrefix = string.Empty;
  744.                             }
  745.                             if (Input.GetButtonDown("Y"))
  746.                             {
  747.                                 this.CharacterAnimation.Play("f02_sithAttackHard_00");
  748.                                 this.SithBeam[1].Damage = 20f;
  749.                                 this.SithBeam[2].Damage = 20f;
  750.                                 this.SithAttacking = true;
  751.                                 this.CanMove = false;
  752.                                 this.SithPrefix = "Hard";
  753.                             }
  754.                         }
  755.                         this.YandereTimer += Time.deltaTime;
  756.                         if (this.YandereTimer > 0.5f)
  757.                         {
  758.                             if (!this.Sans && !this.BlackRobe.activeInHierarchy)
  759.                             {
  760.                                 this.YandereVision = true;
  761.                             }
  762.                             else if (this.Sans)
  763.                             {
  764.                                 this.SansEyes[0].SetActive(true);
  765.                                 this.SansEyes[1].SetActive(true);
  766.                                 this.GlowEffect.Play();
  767.                                 this.SummonBones = true;
  768.                                 this.YandereTimer = 0f;
  769.                                 this.CanMove = false;
  770.                             }
  771.                         }
  772.                     }
  773.                     else
  774.                     {
  775.                         if (this.BlackRobe.activeInHierarchy)
  776.                         {
  777.                             this.SithTrailEnd1.localPosition = new Vector3(0f, 0f, 0f);
  778.                             this.SithTrailEnd2.localPosition = new Vector3(0f, 0f, 0f);
  779.                             if (Input.GetButtonUp("RB"))
  780.                             {
  781.                                 AudioSource.PlayClipAtPoint(this.SithOff, base.transform.position);
  782.                             }
  783.                             this.Beam[0].Stop();
  784.                             this.Beam[1].Stop();
  785.                             this.Beam[2].Stop();
  786.                             this.Beam[3].Stop();
  787.                         }
  788.                         if (this.YandereVision)
  789.                         {
  790.                             this.Obscurance.enabled = false;
  791.                             this.YandereVision = false;
  792.                         }
  793.                     }
  794.                     if (Input.GetButtonUp("RB"))
  795.                     {
  796.                         if (this.Stance.Current != StanceType.Crouching && this.Stance.Current != StanceType.Crawling && this.YandereTimer < 0.5f && !this.Dragging && !this.Carrying && !this.Laughing)
  797.                         {
  798.                             if (this.Sans)
  799.                             {
  800.                                 this.BlasterStage++;
  801.                                 if (this.BlasterStage > 5)
  802.                                 {
  803.                                     this.BlasterStage = 1;
  804.                                 }
  805.                                 GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.BlasterSet[this.BlasterStage], base.transform.position, Quaternion.identity);
  806.                                 gameObject.transform.position = base.transform.position;
  807.                                 gameObject.transform.rotation = base.transform.rotation;
  808.                                 AudioSource.PlayClipAtPoint(this.BlasterClip, base.transform.position + Vector3.up);
  809.                                 this.CharacterAnimation["f02_sansBlaster_00"].time = 0f;
  810.                                 this.CharacterAnimation.Play("f02_sansBlaster_00");
  811.                                 this.SansEyes[0].SetActive(true);
  812.                                 this.SansEyes[1].SetActive(true);
  813.                                 this.GlowEffect.Play();
  814.                                 this.Blasting = true;
  815.                                 this.CanMove = false;
  816.                             }
  817.                             else if (!this.BlackRobe.activeInHierarchy)
  818.                             {
  819.                                 if (this.Gazing)
  820.                                 {
  821.                                     this.CharacterAnimation["f02_gazerSnap_00"].time = 0f;
  822.                                     this.CharacterAnimation.CrossFade("f02_gazerSnap_00");
  823.                                     this.Snapping = true;
  824.                                     this.CanMove = false;
  825.                                 }
  826.                                 else if (!this.FalconHelmet.activeInHierarchy && this.Barcode.activeInHierarchy)
  827.                                 {
  828.                                     if (!this.Xtan)
  829.                                     {
  830.                                         if (!this.CirnoHair.activeInHierarchy && !this.TornadoHair.activeInHierarchy && !this.BladeHair.activeInHierarchy)
  831.                                         {
  832.                                             this.LaughAnim = "f02_laugh_01";
  833.                                             this.LaughClip = this.Laugh1;
  834.                                             this.LaughIntensity += 1f;
  835.                                             component.clip = this.LaughClip;
  836.                                             component.time = 0f;
  837.                                             component.Play();
  838.                                         }
  839.                                         UnityEngine.Object.Instantiate<GameObject>(this.GiggleDisc, base.transform.position + Vector3.up, Quaternion.identity);
  840.                                         component.volume = 1f;
  841.                                         this.LaughTimer = 0.5f;
  842.                                         this.Laughing = true;
  843.                                         this.CanMove = false;
  844.                                     }
  845.                                     else if (this.LongHair[0].gameObject.activeInHierarchy)
  846.                                     {
  847.                                         this.LongHair[0].gameObject.SetActive(false);
  848.                                         this.BlackEyePatch.SetActive(false);
  849.                                         this.SlenderHair[0].transform.parent.gameObject.SetActive(true);
  850.                                         this.SlenderHair[0].SetActive(true);
  851.                                         this.SlenderHair[1].SetActive(true);
  852.                                     }
  853.                                     else
  854.                                     {
  855.                                         this.LongHair[0].gameObject.SetActive(true);
  856.                                         this.BlackEyePatch.SetActive(true);
  857.                                         this.SlenderHair[0].transform.parent.gameObject.SetActive(true);
  858.                                         this.SlenderHair[0].SetActive(false);
  859.                                         this.SlenderHair[1].SetActive(false);
  860.                                     }
  861.                                 }
  862.                                 else if (!this.Punching)
  863.                                 {
  864.                                     if (this.FalconHelmet.activeInHierarchy)
  865.                                     {
  866.                                         GameObject gameObject2 = UnityEngine.Object.Instantiate<GameObject>(this.FalconWindUp);
  867.                                         gameObject2.transform.parent = this.ItemParent;
  868.                                         gameObject2.transform.localPosition = Vector3.zero;
  869.                                         AudioClipPlayer.PlayAttached(this.FalconPunchVoice, this.MainCamera.transform, 5f, 10f);
  870.                                         this.CharacterAnimation["f02_falconPunch_00"].time = 0f;
  871.                                         this.CharacterAnimation.Play("f02_falconPunch_00");
  872.                                         this.FalconSpeed = 0f;
  873.                                     }
  874.                                     else
  875.                                     {
  876.                                         GameObject gameObject3 = UnityEngine.Object.Instantiate<GameObject>(this.FalconWindUp);
  877.                                         gameObject3.transform.parent = this.ItemParent;
  878.                                         gameObject3.transform.localPosition = Vector3.zero;
  879.                                         AudioSource.PlayClipAtPoint(this.OnePunchVoices[UnityEngine.Random.Range(0, this.OnePunchVoices.Length)], base.transform.position + Vector3.up);
  880.                                         this.CharacterAnimation["f02_onePunch_00"].time = 0f;
  881.                                         this.CharacterAnimation.CrossFade("f02_onePunch_00", 0.15f);
  882.                                     }
  883.                                     this.Punching = true;
  884.                                     this.CanMove = false;
  885.                                 }
  886.                             }
  887.                         }
  888.                         this.YandereTimer = 0f;
  889.                     }
  890.                 }
  891.                 if (!Input.GetButton("LB"))
  892.                 {
  893.                     if (this.Stance.Current != StanceType.Crouching && this.Stance.Current != StanceType.Crawling)
  894.                     {
  895.                         if (Input.GetButtonDown("RS"))
  896.                         {
  897.                             this.Obscurance.enabled = false;
  898.                             this.CrouchButtonDown = true;
  899.                             this.YandereVision = false;
  900.                             this.Stance.Current = StanceType.Crouching;
  901.                             this.Crouch();
  902.                             this.EmptyHands();
  903.                         }
  904.                     }
  905.                     else
  906.                     {
  907.                         if (this.Stance.Current == StanceType.Crouching)
  908.                         {
  909.                             if (Input.GetButton("RS") && !this.CameFromCrouch)
  910.                             {
  911.                                 this.CrawlTimer += Time.deltaTime;
  912.                             }
  913.                             if (this.CrawlTimer > 0.5f)
  914.                             {
  915.                                 this.EmptyHands();
  916.                                 this.Obscurance.enabled = false;
  917.                                 this.YandereVision = false;
  918.                                 this.Stance.Current = StanceType.Crawling;
  919.                                 this.CrawlTimer = 0f;
  920.                                 this.Crawl();
  921.                             }
  922.                             else if (Input.GetButtonUp("RS") && !this.CrouchButtonDown && !this.CameFromCrouch)
  923.                             {
  924.                                 this.Stance.Current = StanceType.Standing;
  925.                                 this.CrawlTimer = 0f;
  926.                                 this.Uncrouch();
  927.                             }
  928.                         }
  929.                         else if (Input.GetButtonDown("RS"))
  930.                         {
  931.                             this.CameFromCrouch = true;
  932.                             this.Stance.Current = StanceType.Crouching;
  933.                             this.Crouch();
  934.                         }
  935.                         if (Input.GetButtonUp("RS"))
  936.                         {
  937.                             this.CrouchButtonDown = false;
  938.                             this.CameFromCrouch = false;
  939.                             this.CrawlTimer = 0f;
  940.                         }
  941.                     }
  942.                 }
  943.             }
  944.             if (this.Aiming)
  945.             {
  946.                 this.CharacterAnimation["f02_cameraPose_00"].weight = Mathf.Lerp(this.CharacterAnimation["f02_cameraPose_00"].weight, 1f, Time.deltaTime * 10f);
  947.                 if (this.ClubAccessories[7].activeInHierarchy && (Input.GetAxis("DpadY") != 0f || Input.GetAxis("Mouse ScrollWheel") != 0f || Input.GetKey(KeyCode.Tab) || Input.GetKey(KeyCode.LeftShift)))
  948.                 {
  949.                     if (Input.GetKey(KeyCode.Tab))
  950.                     {
  951.                         this.Smartphone.fieldOfView -= Time.deltaTime * 100f;
  952.                     }
  953.                     if (Input.GetKey(KeyCode.LeftShift))
  954.                     {
  955.                         this.Smartphone.fieldOfView += Time.deltaTime * 100f;
  956.                     }
  957.                     this.Smartphone.fieldOfView -= Input.GetAxis("DpadY");
  958.                     this.Smartphone.fieldOfView -= Input.GetAxis("Mouse ScrollWheel") * 10f;
  959.                     if (this.Smartphone.fieldOfView > 60f)
  960.                     {
  961.                         this.Smartphone.fieldOfView = 60f;
  962.                     }
  963.                     if (this.Smartphone.fieldOfView < 30f)
  964.                     {
  965.                         this.Smartphone.fieldOfView = 30f;
  966.                     }
  967.                 }
  968.                 if (Input.GetAxis("RT") != 0f || Input.GetMouseButtonDown(0) || Input.GetButtonDown("RB"))
  969.                 {
  970.                     this.FixCamera();
  971.                     this.PauseScreen.CorrectingTime = false;
  972.                     Time.timeScale = 0.0001f;
  973.                     this.CanMove = false;
  974.                     this.Shutter.Snap();
  975.                 }
  976.                 if (Time.timeScale > 0.0001f && ((this.UsingController && Input.GetAxis("LT") < 0.5f) || (!this.UsingController && !Input.GetMouseButton(1))))
  977.                 {
  978.                     this.StopAiming();
  979.                 }
  980.                 if (Input.GetKey(KeyCode.LeftAlt))
  981.                 {
  982.                     if (!this.CinematicCamera.activeInHierarchy)
  983.                     {
  984.                         if (this.CinematicTimer > 0f)
  985.                         {
  986.                             this.CinematicCamera.transform.eulerAngles = this.Smartphone.transform.eulerAngles;
  987.                             this.CinematicCamera.transform.position = this.Smartphone.transform.position;
  988.                             this.CinematicCamera.SetActive(true);
  989.                             this.CinematicTimer = 0f;
  990.                             this.StopAiming();
  991.                         }
  992.                         this.CinematicTimer += 1f;
  993.                     }
  994.                 }
  995.                 else
  996.                 {
  997.                     this.CinematicTimer = 0f;
  998.                 }
  999.             }
  1000.             if (this.Gloved)
  1001.             {
  1002.                 if (!this.Chased && this.Chasers == 0)
  1003.                 {
  1004.                     if (this.InputDevice.Type == InputDeviceType.Gamepad)
  1005.                     {
  1006.                         if (Input.GetAxis("DpadY") < -0.5f)
  1007.                         {
  1008.                             this.GloveTimer += Time.deltaTime;
  1009.                             if (this.GloveTimer > 0.5f)
  1010.                             {
  1011.                                 this.CharacterAnimation.CrossFade("f02_removeGloves_00");
  1012.                                 this.Degloving = true;
  1013.                                 this.CanMove = false;
  1014.                             }
  1015.                         }
  1016.                         else
  1017.                         {
  1018.                             this.GloveTimer = 0f;
  1019.                         }
  1020.                     }
  1021.                     else if (Input.GetKey(KeyCode.Alpha1))
  1022.                     {
  1023.                         this.GloveTimer += Time.deltaTime;
  1024.                         if (this.GloveTimer > 0.1f)
  1025.                         {
  1026.                             this.CharacterAnimation.CrossFade("f02_removeGloves_00");
  1027.                             this.Degloving = true;
  1028.                             this.CanMove = false;
  1029.                         }
  1030.                     }
  1031.                     else
  1032.                     {
  1033.                         this.GloveTimer = 0f;
  1034.                     }
  1035.                 }
  1036.                 else
  1037.                 {
  1038.                     this.GloveTimer = 0f;
  1039.                 }
  1040.             }
  1041.             if (this.Weapon[1] != null && this.DropTimer[2] == 0f)
  1042.             {
  1043.                 if (this.InputDevice.Type == InputDeviceType.Gamepad)
  1044.                 {
  1045.                     if (Input.GetAxis("DpadX") < -0.5f)
  1046.                     {
  1047.                         this.DropWeapon(1);
  1048.                     }
  1049.                     else
  1050.                     {
  1051.                         this.DropTimer[1] = 0f;
  1052.                     }
  1053.                 }
  1054.                 else if (Input.GetKey(KeyCode.Alpha2))
  1055.                 {
  1056.                     this.DropWeapon(1);
  1057.                 }
  1058.                 else
  1059.                 {
  1060.                     this.DropTimer[1] = 0f;
  1061.                 }
  1062.             }
  1063.             if (this.Weapon[2] != null && this.DropTimer[1] == 0f)
  1064.             {
  1065.                 if (this.InputDevice.Type == InputDeviceType.Gamepad)
  1066.                 {
  1067.                     if (Input.GetAxis("DpadX") > 0.5f)
  1068.                     {
  1069.                         this.DropWeapon(2);
  1070.                     }
  1071.                     else
  1072.                     {
  1073.                         this.DropTimer[2] = 0f;
  1074.                     }
  1075.                 }
  1076.                 else if (Input.GetKey(KeyCode.Alpha3))
  1077.                 {
  1078.                     this.DropWeapon(2);
  1079.                 }
  1080.                 else
  1081.                 {
  1082.                     this.DropTimer[2] = 0f;
  1083.                 }
  1084.             }
  1085.             if (Input.GetButtonDown("LS") || Input.GetKeyDown(KeyCode.T))
  1086.             {
  1087.                 if (this.NewTrail != null)
  1088.                 {
  1089.                     UnityEngine.Object.Destroy(this.NewTrail);
  1090.                 }
  1091.                 this.NewTrail = UnityEngine.Object.Instantiate<GameObject>(this.Trail, base.transform.position + base.transform.forward * 0.5f + Vector3.up * 0.1f, Quaternion.identity);
  1092.                 this.NewTrail.GetComponent<AIPath>().target = this.Homeroom;
  1093.             }
  1094.             if (this.Armed)
  1095.             {
  1096.                 this.ID = 0;
  1097.                 while (this.ID < this.ArmedAnims.Length)
  1098.                 {
  1099.                     string name = this.ArmedAnims[this.ID];
  1100.                     this.CharacterAnimation[name].weight = Mathf.Lerp(this.CharacterAnimation[name].weight, (this.EquippedWeapon.AnimID != this.ID) ? 0f : 1f, Time.deltaTime * 10f);
  1101.                     this.ID++;
  1102.                 }
  1103.             }
  1104.             else
  1105.             {
  1106.                 this.StopArmedAnim();
  1107.             }
  1108.             if (this.TheftTimer > 0f)
  1109.             {
  1110.                 this.TheftTimer = Mathf.MoveTowards(this.TheftTimer, 0f, Time.deltaTime);
  1111.             }
  1112.             if (this.Eating)
  1113.             {
  1114.                 this.FollowHips = false;
  1115.                 this.Attacking = false;
  1116.                 this.CanMove = true;
  1117.                 this.Eating = false;
  1118.                 this.EatPhase = 0;
  1119.             }
  1120.         }
  1121.         else
  1122.         {
  1123.             this.StopArmedAnim();
  1124.             if (this.Dumping)
  1125.             {
  1126.                 this.targetRotation = Quaternion.LookRotation(this.Incinerator.transform.position - base.transform.position);
  1127.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1128.                 this.MoveTowardsTarget(this.Incinerator.transform.position + Vector3.right * -2f);
  1129.                 if (this.DumpTimer == 0f && this.Carrying)
  1130.                 {
  1131.                     this.CharacterAnimation["f02_carryDisposeA_00"].time = 2.5f;
  1132.                 }
  1133.                 this.DumpTimer += Time.deltaTime;
  1134.                 if (this.DumpTimer > 1f)
  1135.                 {
  1136.                     if (!this.Ragdoll.GetComponent<RagdollScript>().Dumped)
  1137.                     {
  1138.                         this.DumpRagdoll(RagdollDumpType.Incinerator);
  1139.                     }
  1140.                     this.CharacterAnimation.CrossFade("f02_carryDisposeA_00");
  1141.                     if (this.CharacterAnimation["f02_carryDisposeA_00"].time >= this.CharacterAnimation["f02_carryDisposeA_00"].length)
  1142.                     {
  1143.                         this.Incinerator.Prompt.enabled = true;
  1144.                         this.Incinerator.Ready = true;
  1145.                         this.Incinerator.Open = false;
  1146.                         this.Dragging = false;
  1147.                         this.Dumping = false;
  1148.                         this.CanMove = true;
  1149.                         this.Ragdoll = null;
  1150.                         this.StopCarrying();
  1151.                         this.DumpTimer = 0f;
  1152.                     }
  1153.                 }
  1154.             }
  1155.             if (this.Chipping)
  1156.             {
  1157.                 this.targetRotation = Quaternion.LookRotation(this.WoodChipper.gameObject.transform.position - base.transform.position);
  1158.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1159.                 this.MoveTowardsTarget(this.WoodChipper.DumpPoint.position);
  1160.                 if (this.DumpTimer == 0f && this.Carrying)
  1161.                 {
  1162.                     this.CharacterAnimation["f02_carryDisposeA_00"].time = 2.5f;
  1163.                 }
  1164.                 this.DumpTimer += Time.deltaTime;
  1165.                 if (this.DumpTimer > 1f)
  1166.                 {
  1167.                     if (!this.Ragdoll.GetComponent<RagdollScript>().Dumped)
  1168.                     {
  1169.                         this.DumpRagdoll(RagdollDumpType.WoodChipper);
  1170.                     }
  1171.                     this.CharacterAnimation.CrossFade("f02_carryDisposeA_00");
  1172.                     if (this.CharacterAnimation["f02_carryDisposeA_00"].time >= this.CharacterAnimation["f02_carryDisposeA_00"].length)
  1173.                     {
  1174.                         this.WoodChipper.Prompt.HideButton[0] = false;
  1175.                         this.WoodChipper.Prompt.HideButton[3] = true;
  1176.                         this.WoodChipper.Occupied = true;
  1177.                         this.WoodChipper.Open = false;
  1178.                         this.Dragging = false;
  1179.                         this.Chipping = false;
  1180.                         this.CanMove = true;
  1181.                         this.Ragdoll = null;
  1182.                         this.StopCarrying();
  1183.                         this.DumpTimer = 0f;
  1184.                     }
  1185.                 }
  1186.             }
  1187.             if (this.TranquilHiding)
  1188.             {
  1189.                 this.targetRotation = Quaternion.LookRotation(this.TranqCase.transform.position - base.transform.position);
  1190.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1191.                 this.MoveTowardsTarget(this.TranqCase.transform.position + Vector3.right * 1.4f);
  1192.                 if (this.DumpTimer == 0f && this.Carrying)
  1193.                 {
  1194.                     this.CharacterAnimation["f02_carryDisposeA_00"].time = 2.5f;
  1195.                 }
  1196.                 this.DumpTimer += Time.deltaTime;
  1197.                 if (this.DumpTimer > 1f)
  1198.                 {
  1199.                     if (!this.Ragdoll.GetComponent<RagdollScript>().Dumped)
  1200.                     {
  1201.                         this.DumpRagdoll(RagdollDumpType.TranqCase);
  1202.                     }
  1203.                     this.CharacterAnimation.CrossFade("f02_carryDisposeA_00");
  1204.                     if (this.CharacterAnimation["f02_carryDisposeA_00"].time >= this.CharacterAnimation["f02_carryDisposeA_00"].length)
  1205.                     {
  1206.                         this.TranquilHiding = false;
  1207.                         this.Dragging = false;
  1208.                         this.Dumping = false;
  1209.                         this.CanMove = true;
  1210.                         this.Ragdoll = null;
  1211.                         this.StopCarrying();
  1212.                         this.DumpTimer = 0f;
  1213.                     }
  1214.                 }
  1215.             }
  1216.             if (this.Dipping)
  1217.             {
  1218.                 if (this.Bucket != null)
  1219.                 {
  1220.                     this.targetRotation = Quaternion.LookRotation(new Vector3(this.Bucket.transform.position.x, base.transform.position.y, this.Bucket.transform.position.z) - base.transform.position);
  1221.                     base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1222.                 }
  1223.                 this.CharacterAnimation.CrossFade("f02_dipping_00");
  1224.                 if (this.CharacterAnimation["f02_dipping_00"].time >= this.CharacterAnimation["f02_dipping_00"].length * 0.5f)
  1225.                 {
  1226.                     this.Mop.Bleached = true;
  1227.                     this.Mop.Sparkles.Play();
  1228.                     if (this.Mop.Bloodiness > 0f)
  1229.                     {
  1230.                         if (this.Bucket != null)
  1231.                         {
  1232.                             this.Bucket.Bloodiness += this.Mop.Bloodiness / 2f;
  1233.                             this.Bucket.UpdateAppearance = true;
  1234.                         }
  1235.                         this.Mop.Bloodiness = 0f;
  1236.                         this.Mop.UpdateBlood();
  1237.                     }
  1238.                 }
  1239.                 if (this.CharacterAnimation["f02_dipping_00"].time >= this.CharacterAnimation["f02_dipping_00"].length)
  1240.                 {
  1241.                     this.CharacterAnimation["f02_dipping_00"].time = 0f;
  1242.                     this.Mop.Prompt.enabled = true;
  1243.                     this.Dipping = false;
  1244.                     this.CanMove = true;
  1245.                 }
  1246.             }
  1247.             if (this.Pouring)
  1248.             {
  1249.                 this.MoveTowardsTarget(this.Stool.position);
  1250.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.Stool.rotation, 10f * Time.deltaTime);
  1251.                 string text = "f02_bucketDump" + this.PourHeight + "_00";
  1252.                 AnimationState animationState = this.CharacterAnimation[text];
  1253.                 this.CharacterAnimation.CrossFade(text, 0f);
  1254.                 if (animationState.time >= this.PourTime && !this.PickUp.Bucket.Poured)
  1255.                 {
  1256.                     if (this.PickUp.Bucket.Gasoline)
  1257.                     {
  1258.                         this.PickUp.Bucket.PourEffect.main.startColor = new Color(1f, 1f, 0f, 0.5f);
  1259.                         UnityEngine.Object.Instantiate<GameObject>(this.PickUp.Bucket.GasCollider, this.PickUp.Bucket.PourEffect.transform.position + this.PourDistance * base.transform.forward, Quaternion.identity);
  1260.                     }
  1261.                     else if (this.PickUp.Bucket.Bloodiness < 50f)
  1262.                     {
  1263.                         this.PickUp.Bucket.PourEffect.main.startColor = new Color(0f, 1f, 1f, 0.5f);
  1264.                         UnityEngine.Object.Instantiate<GameObject>(this.PickUp.Bucket.WaterCollider, this.PickUp.Bucket.PourEffect.transform.position + this.PourDistance * base.transform.forward, Quaternion.identity);
  1265.                     }
  1266.                     else
  1267.                     {
  1268.                         this.PickUp.Bucket.PourEffect.main.startColor = new Color(0.5f, 0f, 0f, 0.5f);
  1269.                         UnityEngine.Object.Instantiate<GameObject>(this.PickUp.Bucket.BloodCollider, this.PickUp.Bucket.PourEffect.transform.position + this.PourDistance * base.transform.forward, Quaternion.identity);
  1270.                     }
  1271.                     this.PickUp.Bucket.PourEffect.Play();
  1272.                     this.PickUp.Bucket.Poured = true;
  1273.                     this.PickUp.Bucket.Empty();
  1274.                 }
  1275.                 if (animationState.time >= animationState.length)
  1276.                 {
  1277.                     animationState.time = 0f;
  1278.                     this.PickUp.Bucket.Poured = false;
  1279.                     this.Pouring = false;
  1280.                     this.CanMove = true;
  1281.                 }
  1282.             }
  1283.             if (this.Laughing)
  1284.             {
  1285.                 if (this.Hairstyles[14].activeInHierarchy)
  1286.                 {
  1287.                     this.LaughAnim = "storepower_20";
  1288.                     this.LaughClip = this.ChargeUp;
  1289.                 }
  1290.                 if (this.Stand.Stand.activeInHierarchy)
  1291.                 {
  1292.                     this.LaughAnim = "f02_jojoAttack_00";
  1293.                     this.LaughClip = this.YanYan;
  1294.                 }
  1295.                 else if (this.FlameDemonic)
  1296.                 {
  1297.                     float axis = Input.GetAxis("Vertical");
  1298.                     float axis2 = Input.GetAxis("Horizontal");
  1299.                     Vector3 a3 = this.MainCamera.transform.TransformDirection(Vector3.forward);
  1300.                     a3.y = 0f;
  1301.                     a3 = a3.normalized;
  1302.                     Vector3 a4 = new Vector3(a3.z, 0f, -a3.x);
  1303.                     Vector3 vector = axis2 * a4 + axis * a3;
  1304.                     if (vector != Vector3.zero)
  1305.                     {
  1306.                         this.targetRotation = Quaternion.LookRotation(vector);
  1307.                         base.transform.rotation = Quaternion.Lerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1308.                     }
  1309.                     this.LaughAnim = "f02_demonAttack_00";
  1310.                     this.CirnoTimer -= Time.deltaTime;
  1311.                     if (this.CirnoTimer < 0f)
  1312.                     {
  1313.                         GameObject gameObject4 = UnityEngine.Object.Instantiate<GameObject>(this.Fireball, this.RightHand.position, base.transform.rotation);
  1314.                         gameObject4.transform.localEulerAngles += new Vector3(UnityEngine.Random.Range(0f, 22.5f), UnityEngine.Random.Range(-22.5f, 22.5f), UnityEngine.Random.Range(-22.5f, 22.5f));
  1315.                         GameObject gameObject5 = UnityEngine.Object.Instantiate<GameObject>(this.Fireball, this.LeftHand.position, base.transform.rotation);
  1316.                         gameObject5.transform.localEulerAngles += new Vector3(UnityEngine.Random.Range(0f, 22.5f), UnityEngine.Random.Range(-22.5f, 22.5f), UnityEngine.Random.Range(-22.5f, 22.5f));
  1317.                         this.CirnoTimer = 0.1f;
  1318.                     }
  1319.                 }
  1320.                 else if (this.CirnoHair.activeInHierarchy)
  1321.                 {
  1322.                     float axis3 = Input.GetAxis("Vertical");
  1323.                     float axis4 = Input.GetAxis("Horizontal");
  1324.                     Vector3 a5 = this.MainCamera.transform.TransformDirection(Vector3.forward);
  1325.                     a5.y = 0f;
  1326.                     a5 = a5.normalized;
  1327.                     Vector3 a6 = new Vector3(a5.z, 0f, -a5.x);
  1328.                     Vector3 vector2 = axis4 * a6 + axis3 * a5;
  1329.                     if (vector2 != Vector3.zero)
  1330.                     {
  1331.                         this.targetRotation = Quaternion.LookRotation(vector2);
  1332.                         base.transform.rotation = Quaternion.Lerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1333.                     }
  1334.                     this.LaughAnim = "f02_cirnoAttack_00";
  1335.                     this.CirnoTimer -= Time.deltaTime;
  1336.                     if (this.CirnoTimer < 0f)
  1337.                     {
  1338.                         GameObject gameObject6 = UnityEngine.Object.Instantiate<GameObject>(this.CirnoIceAttack, base.transform.position + base.transform.up * 1.4f, base.transform.rotation);
  1339.                         gameObject6.transform.localEulerAngles += new Vector3(UnityEngine.Random.Range(-5f, 5f), UnityEngine.Random.Range(-5f, 5f), UnityEngine.Random.Range(-5f, 5f));
  1340.                         component.PlayOneShot(this.CirnoIceClip);
  1341.                         this.CirnoTimer = 0.1f;
  1342.                     }
  1343.                 }
  1344.                 else if (this.TornadoHair.activeInHierarchy)
  1345.                 {
  1346.                     this.LaughAnim = "f02_tornadoAttack_00";
  1347.                     this.CirnoTimer -= Time.deltaTime;
  1348.                     if (this.CirnoTimer < 0f)
  1349.                     {
  1350.                         GameObject gameObject7 = UnityEngine.Object.Instantiate<GameObject>(this.TornadoAttack, base.transform.forward * 5f + new Vector3(base.transform.position.x + UnityEngine.Random.Range(-5f, 5f), base.transform.position.y, base.transform.position.z + UnityEngine.Random.Range(-5f, 5f)), base.transform.rotation);
  1351.                         while (Vector3.Distance(base.transform.position, gameObject7.transform.position) < 1f)
  1352.                         {
  1353.                             gameObject7.transform.position = base.transform.forward * 5f + new Vector3(base.transform.position.x + UnityEngine.Random.Range(-5f, 5f), base.transform.position.y, base.transform.position.z + UnityEngine.Random.Range(-5f, 5f));
  1354.                         }
  1355.                         this.CirnoTimer = 0.1f;
  1356.                     }
  1357.                 }
  1358.                 else if (this.BladeHair.activeInHierarchy)
  1359.                 {
  1360.                     this.LaughAnim = "f02_spin_00";
  1361.                     base.transform.localEulerAngles = new Vector3(base.transform.localEulerAngles.x, base.transform.localEulerAngles.y + Time.deltaTime * 360f * 2f, base.transform.localEulerAngles.z);
  1362.                     this.BladeHairCollider1.enabled = true;
  1363.                     this.BladeHairCollider2.enabled = true;
  1364.                 }
  1365.                 else if (this.BanchoActive)
  1366.                 {
  1367.                     this.BanchoFlurry.MyCollider.enabled = true;
  1368.                     this.LaughAnim = "f02_banchoFlurry_00";
  1369.                 }
  1370.                 else if (component.clip != this.LaughClip)
  1371.                 {
  1372.                     component.clip = this.LaughClip;
  1373.                     component.time = 0f;
  1374.                     component.Play();
  1375.                 }
  1376.                 this.CharacterAnimation.CrossFade(this.LaughAnim);
  1377.                 if (Input.GetButtonDown("RB"))
  1378.                 {
  1379.                     this.LaughIntensity += 1f;
  1380.                     if (this.LaughIntensity <= 5f)
  1381.                     {
  1382.                         this.LaughAnim = "f02_laugh_01";
  1383.                         this.LaughClip = this.Laugh1;
  1384.                         this.LaughTimer = 0.5f;
  1385.                     }
  1386.                     else if (this.LaughIntensity <= 10f)
  1387.                     {
  1388.                         this.LaughAnim = "f02_laugh_02";
  1389.                         this.LaughClip = this.Laugh2;
  1390.                         this.LaughTimer = 1f;
  1391.                     }
  1392.                     else if (this.LaughIntensity <= 15f)
  1393.                     {
  1394.                         this.LaughAnim = "f02_laugh_03";
  1395.                         this.LaughClip = this.Laugh3;
  1396.                         this.LaughTimer = 1.5f;
  1397.                     }
  1398.                     else if (this.LaughIntensity <= 20f)
  1399.                     {
  1400.                         GameObject gameObject8 = UnityEngine.Object.Instantiate<GameObject>(this.AlarmDisc, base.transform.position + Vector3.up, Quaternion.identity);
  1401.                         gameObject8.GetComponent<AlarmDiscScript>().NoScream = true;
  1402.                         this.LaughAnim = "f02_laugh_04";
  1403.                         this.LaughClip = this.Laugh4;
  1404.                         this.LaughTimer = 2f;
  1405.                     }
  1406.                     else
  1407.                     {
  1408.                         GameObject gameObject9 = UnityEngine.Object.Instantiate<GameObject>(this.AlarmDisc, base.transform.position + Vector3.up, Quaternion.identity);
  1409.                         gameObject9.GetComponent<AlarmDiscScript>().NoScream = true;
  1410.                         this.LaughAnim = "f02_laugh_04";
  1411.                         this.LaughIntensity = 20f;
  1412.                         this.LaughTimer = 2f;
  1413.                     }
  1414.                 }
  1415.                 if (this.LaughIntensity > 15f)
  1416.                 {
  1417.                     this.Sanity += Time.deltaTime * 10f;
  1418.                 }
  1419.                 this.LaughTimer -= Time.deltaTime;
  1420.                 if (this.LaughTimer <= 0f)
  1421.                 {
  1422.                     this.StopLaughing();
  1423.                 }
  1424.             }
  1425.             if (this.TimeSkipping)
  1426.             {
  1427.                 base.transform.position = new Vector3(base.transform.position.x, this.TimeSkipHeight, base.transform.position.z);
  1428.                 this.CharacterAnimation.CrossFade("f02_timeSkip_00");
  1429.                 this.MyController.Move(base.transform.up * 0.0001f);
  1430.                 this.Sanity += Time.deltaTime * 0.17f;
  1431.             }
  1432.             if (this.DumpsterGrabbing)
  1433.             {
  1434.                 if (Input.GetAxis("Horizontal") > 0.5f || Input.GetAxis("DpadX") > 0.5f)
  1435.                 {
  1436.                     this.CharacterAnimation.CrossFade((this.DumpsterHandle.Direction != -1f) ? "f02_dumpsterPush_00" : "f02_dumpsterPull_00");
  1437.                 }
  1438.                 else if (Input.GetAxis("Horizontal") < -0.5f || Input.GetAxis("DpadX") < -0.5f)
  1439.                 {
  1440.                     this.CharacterAnimation.CrossFade((this.DumpsterHandle.Direction != -1f) ? "f02_dumpsterPull_00" : "f02_dumpsterPush_00");
  1441.                 }
  1442.                 else
  1443.                 {
  1444.                     this.CharacterAnimation.CrossFade("f02_dumpsterGrab_00");
  1445.                 }
  1446.             }
  1447.             if (this.Stripping)
  1448.             {
  1449.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.StudentManager.YandereStripSpot.rotation, 10f * Time.deltaTime);
  1450.                 if (this.CharacterAnimation["f02_stripping_00"].time >= this.CharacterAnimation["f02_stripping_00"].length)
  1451.                 {
  1452.                     this.Stripping = false;
  1453.                     this.CanMove = true;
  1454.                     this.MyLocker.UpdateSchoolwear();
  1455.                 }
  1456.             }
  1457.             if (this.Bathing)
  1458.             {
  1459.                 this.MoveTowardsTarget(this.Stool.position);
  1460.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.Stool.rotation, 10f * Time.deltaTime);
  1461.                 this.CharacterAnimation.CrossFade("f02_stoolBathing_00");
  1462.                 if (this.CharacterAnimation["f02_stoolBathing_00"].time >= this.CharacterAnimation["f02_stoolBathing_00"].length)
  1463.                 {
  1464.                     this.Bloodiness = 0f;
  1465.                     this.Bathing = false;
  1466.                     this.CanMove = true;
  1467.                 }
  1468.             }
  1469.             if (this.Degloving)
  1470.             {
  1471.                 this.CharacterAnimation.CrossFade("f02_removeGloves_00");
  1472.                 if (this.CharacterAnimation["f02_removeGloves_00"].time >= this.CharacterAnimation["f02_removeGloves_00"].length)
  1473.                 {
  1474.                     this.Gloves.GetComponent<Rigidbody>().isKinematic = false;
  1475.                     this.Gloves.transform.parent = null;
  1476.                     this.Gloves.gameObject.SetActive(true);
  1477.                     this.Degloving = false;
  1478.                     this.CanMove = true;
  1479.                     this.Gloved = false;
  1480.                     this.Gloves = null;
  1481.                     this.SetUniform();
  1482.                     Debug.Log("Gloves removed.");
  1483.                 }
  1484.                 else if (this.Chased || this.Chasers > 0 || this.Noticed)
  1485.                 {
  1486.                     this.Degloving = false;
  1487.                     this.GloveTimer = 0f;
  1488.                     if (!this.Noticed)
  1489.                     {
  1490.                         this.CanMove = true;
  1491.                     }
  1492.                 }
  1493.                 else if (this.InputDevice.Type == InputDeviceType.Gamepad)
  1494.                 {
  1495.                     if (Input.GetAxis("DpadY") > -0.5f)
  1496.                     {
  1497.                         this.Degloving = false;
  1498.                         this.CanMove = true;
  1499.                         this.GloveTimer = 0f;
  1500.                     }
  1501.                 }
  1502.                 else if (Input.GetKeyUp(KeyCode.Alpha1))
  1503.                 {
  1504.                     this.Degloving = false;
  1505.                     this.CanMove = true;
  1506.                     this.GloveTimer = 0f;
  1507.                 }
  1508.             }
  1509.             if (this.Struggling)
  1510.             {
  1511.                 if (!this.Won && !this.Lost)
  1512.                 {
  1513.                     this.CharacterAnimation.CrossFade((!this.TargetStudent.Teacher) ? "f02_struggleA_00" : "f02_teacherStruggleA_00");
  1514.                     this.targetRotation = Quaternion.LookRotation(this.TargetStudent.transform.position - base.transform.position);
  1515.                     base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, 10f * Time.deltaTime);
  1516.                 }
  1517.                 else if (this.Won)
  1518.                 {
  1519.                     if (!this.TargetStudent.Teacher)
  1520.                     {
  1521.                         this.CharacterAnimation.CrossFade("f02_struggleWinA_00");
  1522.                         if (this.CharacterAnimation["f02_struggleWinA_00"].time > this.CharacterAnimation["f02_struggleWinA_00"].length - 1f)
  1523.                         {
  1524.                             this.EquippedWeapon.transform.localEulerAngles = Vector3.Lerp(this.EquippedWeapon.transform.localEulerAngles, Vector3.zero, Time.deltaTime * 3.33333f);
  1525.                         }
  1526.                     }
  1527.                     else
  1528.                     {
  1529.                         this.CharacterAnimation.CrossFade("f02_teacherStruggleWinA_00");
  1530.                         this.EquippedWeapon.transform.localEulerAngles = Vector3.Lerp(this.EquippedWeapon.transform.localEulerAngles, Vector3.zero, Time.deltaTime);
  1531.                     }
  1532.                     if (this.StrugglePhase == 0)
  1533.                     {
  1534.                         if ((!this.TargetStudent.Teacher && this.CharacterAnimation["f02_struggleWinA_00"].time > 1.3f) || (this.TargetStudent.Teacher && this.CharacterAnimation["f02_teacherStruggleWinA_00"].time > 0.8f))
  1535.                         {
  1536.                             UnityEngine.Object.Instantiate<GameObject>(this.TargetStudent.StabBloodEffect, (!this.TargetStudent.Teacher) ? this.TargetStudent.Head.position : this.EquippedWeapon.transform.position, Quaternion.identity);
  1537.                             this.Bloodiness += 20f;
  1538.                             this.Sanity -= 20f * this.Numbness;
  1539.                             this.StainWeapon();
  1540.                             this.StrugglePhase++;
  1541.                         }
  1542.                     }
  1543.                     else if (this.StrugglePhase == 1)
  1544.                     {
  1545.                         if (this.TargetStudent.Teacher && this.CharacterAnimation["f02_teacherStruggleWinA_00"].time > 1.3f)
  1546.                         {
  1547.                             UnityEngine.Object.Instantiate<GameObject>(this.TargetStudent.StabBloodEffect, this.EquippedWeapon.transform.position, Quaternion.identity);
  1548.                             this.StrugglePhase++;
  1549.                         }
  1550.                     }
  1551.                     else if (this.StrugglePhase == 2 && this.TargetStudent.Teacher && this.CharacterAnimation["f02_teacherStruggleWinA_00"].time > 2.1f)
  1552.                     {
  1553.                         UnityEngine.Object.Instantiate<GameObject>(this.TargetStudent.StabBloodEffect, this.EquippedWeapon.transform.position, Quaternion.identity);
  1554.                         this.StrugglePhase++;
  1555.                     }
  1556.                     if ((!this.TargetStudent.Teacher && this.CharacterAnimation["f02_struggleWinA_00"].time > this.CharacterAnimation["f02_struggleWinA_00"].length) || (this.TargetStudent.Teacher && this.CharacterAnimation["f02_teacherStruggleWinA_00"].time > this.CharacterAnimation["f02_teacherStruggleWinA_00"].length))
  1557.                     {
  1558.                         this.MyController.radius = 0.2f;
  1559.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  1560.                         this.ShoulderCamera.Struggle = false;
  1561.                         this.Struggling = false;
  1562.                         this.StrugglePhase = 0;
  1563.                         if (this.TargetStudent == this.Pursuer)
  1564.                         {
  1565.                             this.Pursuer = null;
  1566.                             this.Chased = false;
  1567.                         }
  1568.                         this.TargetStudent.BecomeRagdoll();
  1569.                         this.TargetStudent.DeathType = DeathType.Weapon;
  1570.                     }
  1571.                 }
  1572.                 else if (this.Lost)
  1573.                 {
  1574.                     this.CharacterAnimation.CrossFade((!this.TargetStudent.Teacher) ? "f02_struggleLoseA_00" : "f02_teacherStruggleLoseA_00");
  1575.                 }
  1576.             }
  1577.             if (this.ClubActivity)
  1578.             {
  1579.                 if (ClubGlobals.Club == ClubType.Art)
  1580.                 {
  1581.                     this.CharacterAnimation.Play("f02_painting_00");
  1582.                 }
  1583.                 else if (ClubGlobals.Club == ClubType.MartialArts)
  1584.                 {
  1585.                     this.CharacterAnimation.Play("f02_kick_23");
  1586.                     if (this.CharacterAnimation["f02_kick_23"].time >= this.CharacterAnimation["f02_kick_23"].length)
  1587.                     {
  1588.                         this.CharacterAnimation["f02_kick_23"].time = 0f;
  1589.                     }
  1590.                 }
  1591.                 else if (ClubGlobals.Club == ClubType.Photography)
  1592.                 {
  1593.                     this.CharacterAnimation.Play("f02_sit_00");
  1594.                 }
  1595.             }
  1596.             if (this.Possessed)
  1597.             {
  1598.                 this.CharacterAnimation.CrossFade("f02_possessionPose_00");
  1599.             }
  1600.             if (this.Punching)
  1601.             {
  1602.                 if (this.FalconHelmet.activeInHierarchy)
  1603.                 {
  1604.                     if (this.CharacterAnimation["f02_falconPunch_00"].time >= 1f && this.CharacterAnimation["f02_falconPunch_00"].time <= 1.25f)
  1605.                     {
  1606.                         this.FalconSpeed = Mathf.MoveTowards(this.FalconSpeed, 2.5f, Time.deltaTime * 2.5f);
  1607.                     }
  1608.                     else if (this.CharacterAnimation["f02_falconPunch_00"].time >= 1.25f && this.CharacterAnimation["f02_falconPunch_00"].time <= 1.5f)
  1609.                     {
  1610.                         this.FalconSpeed = Mathf.MoveTowards(this.FalconSpeed, 0f, Time.deltaTime * 2.5f);
  1611.                     }
  1612.                     if (this.CharacterAnimation["f02_falconPunch_00"].time >= 1f && this.CharacterAnimation["f02_falconPunch_00"].time <= 1.5f)
  1613.                     {
  1614.                         if (this.NewFalconPunch == null)
  1615.                         {
  1616.                             this.NewFalconPunch = UnityEngine.Object.Instantiate<GameObject>(this.FalconPunch);
  1617.                             this.NewFalconPunch.transform.parent = this.ItemParent;
  1618.                             this.NewFalconPunch.transform.localPosition = Vector3.zero;
  1619.                         }
  1620.                         this.MyController.Move(base.transform.forward * this.FalconSpeed);
  1621.                     }
  1622.                     if (this.CharacterAnimation["f02_falconPunch_00"].time >= this.CharacterAnimation["f02_falconPunch_00"].length)
  1623.                     {
  1624.                         this.NewFalconPunch = null;
  1625.                         this.Punching = false;
  1626.                         this.CanMove = true;
  1627.                     }
  1628.                 }
  1629.                 else
  1630.                 {
  1631.                     if (this.CharacterAnimation["f02_onePunch_00"].time >= 0.833333f && this.CharacterAnimation["f02_onePunch_00"].time <= 1f && this.NewOnePunch == null)
  1632.                     {
  1633.                         this.NewOnePunch = UnityEngine.Object.Instantiate<GameObject>(this.OnePunch);
  1634.                         this.NewOnePunch.transform.parent = this.ItemParent;
  1635.                         this.NewOnePunch.transform.localPosition = Vector3.zero;
  1636.                     }
  1637.                     if (this.CharacterAnimation["f02_onePunch_00"].time >= 2f)
  1638.                     {
  1639.                         this.NewOnePunch = null;
  1640.                         this.Punching = false;
  1641.                         this.CanMove = true;
  1642.                     }
  1643.                 }
  1644.             }
  1645.             if (this.PK)
  1646.             {
  1647.                 if (Input.GetAxis("Vertical") > 0.5f)
  1648.                 {
  1649.                     this.GoToPKDir(PKDirType.Up, "f02_sansUp_00", new Vector3(0f, 3f, 2f));
  1650.                 }
  1651.                 else if (Input.GetAxis("Vertical") < -0.5f)
  1652.                 {
  1653.                     this.GoToPKDir(PKDirType.Down, "f02_sansDown_00", new Vector3(0f, 0f, 2f));
  1654.                 }
  1655.                 else if (Input.GetAxis("Horizontal") > 0.5f)
  1656.                 {
  1657.                     this.GoToPKDir(PKDirType.Right, "f02_sansRight_00", new Vector3(1.5f, 1.5f, 2f));
  1658.                 }
  1659.                 else if (Input.GetAxis("Horizontal") < -0.5f)
  1660.                 {
  1661.                     this.GoToPKDir(PKDirType.Left, "f02_sansLeft_00", new Vector3(-1.5f, 1.5f, 2f));
  1662.                 }
  1663.                 else
  1664.                 {
  1665.                     this.CharacterAnimation.CrossFade("f02_sansHold_00");
  1666.                     this.RagdollPK.transform.localPosition = new Vector3(0f, 1.5f, 2f);
  1667.                     this.PKDir = PKDirType.None;
  1668.                 }
  1669.                 if (Input.GetButtonDown("B"))
  1670.                 {
  1671.                     this.PromptBar.ClearButtons();
  1672.                     this.PromptBar.UpdateButtons();
  1673.                     this.PromptBar.Show = false;
  1674.                     this.Ragdoll.GetComponent<RagdollScript>().StopDragging();
  1675.                     this.SansEyes[0].SetActive(false);
  1676.                     this.SansEyes[1].SetActive(false);
  1677.                     this.GlowEffect.Stop();
  1678.                     this.CanMove = true;
  1679.                     this.PK = false;
  1680.                 }
  1681.             }
  1682.             if (this.SummonBones)
  1683.             {
  1684.                 this.CharacterAnimation.CrossFade("f02_sansBones_00");
  1685.                 if (this.BoneTimer == 0f)
  1686.                 {
  1687.                     UnityEngine.Object.Instantiate<GameObject>(this.Bone, base.transform.position + base.transform.right * UnityEngine.Random.Range(-2.5f, 2.5f) + base.transform.up * -2f + base.transform.forward * UnityEngine.Random.Range(1f, 6f), Quaternion.identity);
  1688.                 }
  1689.                 this.BoneTimer += Time.deltaTime;
  1690.                 if (this.BoneTimer > 0.1f)
  1691.                 {
  1692.                     this.BoneTimer = 0f;
  1693.                 }
  1694.                 if (Input.GetButtonUp("RB"))
  1695.                 {
  1696.                     this.SansEyes[0].SetActive(false);
  1697.                     this.SansEyes[1].SetActive(false);
  1698.                     this.GlowEffect.Stop();
  1699.                     this.SummonBones = false;
  1700.                     this.CanMove = true;
  1701.                 }
  1702.                 if (this.PK)
  1703.                 {
  1704.                     this.PromptBar.ClearButtons();
  1705.                     this.PromptBar.UpdateButtons();
  1706.                     this.PromptBar.Show = false;
  1707.                     this.Ragdoll.GetComponent<RagdollScript>().StopDragging();
  1708.                     this.SansEyes[0].SetActive(false);
  1709.                     this.SansEyes[1].SetActive(false);
  1710.                     this.GlowEffect.Stop();
  1711.                     this.CanMove = true;
  1712.                     this.PK = false;
  1713.                 }
  1714.             }
  1715.             if (this.Blasting)
  1716.             {
  1717.                 if (this.CharacterAnimation["f02_sansBlaster_00"].time >= this.CharacterAnimation["f02_sansBlaster_00"].length - 0.25f)
  1718.                 {
  1719.                     this.SansEyes[0].SetActive(false);
  1720.                     this.SansEyes[1].SetActive(false);
  1721.                     this.GlowEffect.Stop();
  1722.                     this.Blasting = false;
  1723.                     this.CanMove = true;
  1724.                 }
  1725.                 if (this.PK)
  1726.                 {
  1727.                     this.PromptBar.ClearButtons();
  1728.                     this.PromptBar.UpdateButtons();
  1729.                     this.PromptBar.Show = false;
  1730.                     this.Ragdoll.GetComponent<RagdollScript>().StopDragging();
  1731.                     this.SansEyes[0].SetActive(false);
  1732.                     this.SansEyes[1].SetActive(false);
  1733.                     this.GlowEffect.Stop();
  1734.                     this.CanMove = true;
  1735.                     this.PK = false;
  1736.                 }
  1737.             }
  1738.             if (this.Lifting)
  1739.             {
  1740.                 if (!this.HeavyWeight)
  1741.                 {
  1742.                     if (this.CharacterAnimation["f02_carryLiftA_00"].time >= this.CharacterAnimation["f02_carryLiftA_00"].length)
  1743.                     {
  1744.                         this.IdleAnim = this.CarryIdleAnim;
  1745.                         this.WalkAnim = this.CarryWalkAnim;
  1746.                         this.RunAnim = this.CarryRunAnim;
  1747.                         this.CanMove = true;
  1748.                         this.Carrying = true;
  1749.                         this.Lifting = false;
  1750.                     }
  1751.                 }
  1752.                 else if (this.CharacterAnimation["f02_heavyWeightLift_00"].time >= this.CharacterAnimation["f02_heavyWeightLift_00"].length)
  1753.                 {
  1754.                     this.CharacterAnimation[this.CarryAnims[0]].weight = 1f;
  1755.                     this.IdleAnim = this.HeavyIdleAnim;
  1756.                     this.WalkAnim = this.HeavyWalkAnim;
  1757.                     this.RunAnim = this.CarryRunAnim;
  1758.                     this.CanMove = true;
  1759.                     this.Lifting = false;
  1760.                 }
  1761.             }
  1762.             if (this.Dropping)
  1763.             {
  1764.                 this.targetRotation = Quaternion.LookRotation(this.DropSpot.position + this.DropSpot.forward - base.transform.position);
  1765.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1766.                 this.MoveTowardsTarget(this.DropSpot.position);
  1767.                 if (this.Ragdoll != null)
  1768.                 {
  1769.                     this.CurrentRagdoll = this.Ragdoll.GetComponent<RagdollScript>();
  1770.                 }
  1771.                 if (this.DumpTimer == 0f && this.Carrying)
  1772.                 {
  1773.                     this.CurrentRagdoll.CharacterAnimation[this.CurrentRagdoll.DumpedAnim].time = 2.5f;
  1774.                     this.CharacterAnimation["f02_carryDisposeA_00"].time = 2.5f;
  1775.                 }
  1776.                 this.DumpTimer += Time.deltaTime;
  1777.                 if (this.DumpTimer > 1f)
  1778.                 {
  1779.                     if (this.Ragdoll != null)
  1780.                     {
  1781.                         this.CurrentRagdoll.PelvisRoot.localEulerAngles = new Vector3(this.CurrentRagdoll.PelvisRoot.localEulerAngles.x, 0f, this.CurrentRagdoll.PelvisRoot.localEulerAngles.z);
  1782.                         this.CurrentRagdoll.PelvisRoot.localPosition = new Vector3(this.CurrentRagdoll.PelvisRoot.localPosition.x, this.CurrentRagdoll.PelvisRoot.localPosition.y, 0f);
  1783.                     }
  1784.                     this.CameraTarget.position = Vector3.MoveTowards(this.CameraTarget.position, new Vector3(this.Hips.position.x, base.transform.position.y + 1f, this.Hips.position.z), Time.deltaTime * 10f);
  1785.                     if (this.CharacterAnimation["f02_carryDisposeA_00"].time >= 4.5f)
  1786.                     {
  1787.                         this.StopCarrying();
  1788.                     }
  1789.                     else
  1790.                     {
  1791.                         if (this.CurrentRagdoll.StopAnimation)
  1792.                         {
  1793.                             this.CurrentRagdoll.StopAnimation = false;
  1794.                             this.ID = 0;
  1795.                             while (this.ID < this.CurrentRagdoll.AllRigidbodies.Length)
  1796.                             {
  1797.                                 this.CurrentRagdoll.AllRigidbodies[this.ID].isKinematic = true;
  1798.                                 this.ID++;
  1799.                             }
  1800.                         }
  1801.                         this.CharacterAnimation.CrossFade("f02_carryDisposeA_00");
  1802.                         this.CurrentRagdoll.CharacterAnimation.CrossFade(this.CurrentRagdoll.DumpedAnim);
  1803.                         this.Ragdoll.transform.position = base.transform.position;
  1804.                         this.Ragdoll.transform.eulerAngles = base.transform.eulerAngles;
  1805.                     }
  1806.                     if (this.CharacterAnimation["f02_carryDisposeA_00"].time >= this.CharacterAnimation["f02_carryDisposeA_00"].length)
  1807.                     {
  1808.                         this.CameraTarget.localPosition = new Vector3(0f, 1f, 0f);
  1809.                         this.Dropping = false;
  1810.                         this.CanMove = true;
  1811.                         this.DumpTimer = 0f;
  1812.                     }
  1813.                 }
  1814.             }
  1815.             if (this.Dismembering && this.CharacterAnimation["f02_dismember_00"].time >= this.CharacterAnimation["f02_dismember_00"].length)
  1816.             {
  1817.                 this.Ragdoll.GetComponent<RagdollScript>().Dismember();
  1818.                 this.RPGCamera.enabled = true;
  1819.                 this.TargetStudent = null;
  1820.                 this.Dismembering = false;
  1821.                 this.CanMove = true;
  1822.             }
  1823.             if (this.Shoved)
  1824.             {
  1825.                 if (this.CharacterAnimation["f02_shoveA_01"].time >= this.CharacterAnimation["f02_shoveA_01"].length)
  1826.                 {
  1827.                     this.CharacterAnimation.CrossFade(this.IdleAnim);
  1828.                     this.Shoved = false;
  1829.                     if (!this.CannotRecover)
  1830.                     {
  1831.                         this.CanMove = true;
  1832.                     }
  1833.                 }
  1834.                 else if (this.CharacterAnimation["f02_shoveA_01"].time < 0.66666f)
  1835.                 {
  1836.                     this.MyController.Move(base.transform.forward * -1f * this.ShoveSpeed * Time.deltaTime);
  1837.                     this.MyController.Move(Physics.gravity * 0.1f);
  1838.                     if (this.ShoveSpeed > 0f)
  1839.                     {
  1840.                         this.ShoveSpeed = Mathf.MoveTowards(this.ShoveSpeed, 0f, Time.deltaTime * 3f);
  1841.                     }
  1842.                 }
  1843.             }
  1844.             if (this.Attacked && this.CharacterAnimation["f02_swingB_00"].time >= this.CharacterAnimation["f02_swingB_00"].length)
  1845.             {
  1846.                 this.ShoulderCamera.HeartbrokenCamera.SetActive(true);
  1847.                 base.enabled = false;
  1848.             }
  1849.             if (this.Hiding)
  1850.             {
  1851.                 if (!this.Exiting)
  1852.                 {
  1853.                     base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.HidingSpot.rotation, Time.deltaTime * 10f);
  1854.                     this.MoveTowardsTarget(this.HidingSpot.position);
  1855.                     this.CharacterAnimation.CrossFade(this.HideAnim);
  1856.                     if (Input.GetButtonDown("B"))
  1857.                     {
  1858.                         this.PromptBar.ClearButtons();
  1859.                         this.PromptBar.Show = false;
  1860.                         this.Exiting = true;
  1861.                     }
  1862.                 }
  1863.                 else
  1864.                 {
  1865.                     this.MoveTowardsTarget(this.ExitSpot.position);
  1866.                     this.CharacterAnimation.CrossFade(this.IdleAnim);
  1867.                     this.ExitTimer += Time.deltaTime;
  1868.                     if (this.ExitTimer > 1f || Vector3.Distance(base.transform.position, this.ExitSpot.position) < 0.1f)
  1869.                     {
  1870.                         this.MyController.center = new Vector3(this.MyController.center.x, 0.875f, this.MyController.center.z);
  1871.                         this.MyController.radius = 0.2f;
  1872.                         this.MyController.height = 1.55f;
  1873.                         this.ExitTimer = 0f;
  1874.                         this.Exiting = false;
  1875.                         this.CanMove = true;
  1876.                         this.Hiding = false;
  1877.                     }
  1878.                 }
  1879.             }
  1880.             if (this.Tripping)
  1881.             {
  1882.                 if (this.CharacterAnimation["f02_bucketTrip_00"].time >= this.CharacterAnimation["f02_bucketTrip_00"].length)
  1883.                 {
  1884.                     this.CharacterAnimation["f02_bucketTrip_00"].speed = 1f;
  1885.                     this.Tripping = false;
  1886.                     this.CanMove = true;
  1887.                 }
  1888.                 else if (this.CharacterAnimation["f02_bucketTrip_00"].time < 0.5f)
  1889.                 {
  1890.                     this.MyController.Move(base.transform.forward * (Time.deltaTime * 2f));
  1891.                     if (this.CharacterAnimation["f02_bucketTrip_00"].time > 0.333333343f && this.CharacterAnimation["f02_bucketTrip_00"].speed == 1f)
  1892.                     {
  1893.                         this.CharacterAnimation["f02_bucketTrip_00"].speed += 1E-06f;
  1894.                         AudioSource.PlayClipAtPoint(this.Thud, base.transform.position);
  1895.                     }
  1896.                 }
  1897.                 else if (Input.GetButtonDown("A"))
  1898.                 {
  1899.                     this.CharacterAnimation["f02_bucketTrip_00"].speed += 0.1f;
  1900.                 }
  1901.             }
  1902.             if (this.BucketDropping)
  1903.             {
  1904.                 this.targetRotation = Quaternion.LookRotation(this.DropSpot.position + this.DropSpot.forward - base.transform.position);
  1905.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  1906.                 this.MoveTowardsTarget(this.DropSpot.position);
  1907.                 if (this.CharacterAnimation["f02_bucketDrop_00"].time >= this.CharacterAnimation["f02_bucketDrop_00"].length)
  1908.                 {
  1909.                     this.MyController.radius = 0.2f;
  1910.                     this.BucketDropping = false;
  1911.                     this.CanMove = true;
  1912.                 }
  1913.                 else if (this.CharacterAnimation["f02_bucketDrop_00"].time >= 1f && this.PickUp != null)
  1914.                 {
  1915.                     this.PickUp.Bucket.UpdateAppearance = true;
  1916.                     this.PickUp.Bucket.Dropped = true;
  1917.                     this.EmptyHands();
  1918.                 }
  1919.             }
  1920.             if (this.Flicking)
  1921.             {
  1922.                 if (this.CharacterAnimation["f02_flickingMatch_00"].time >= this.CharacterAnimation["f02_flickingMatch_00"].length)
  1923.                 {
  1924.                     this.PickUp.GetComponent<MatchboxScript>().Prompt.enabled = true;
  1925.                     this.Arc.SetActive(true);
  1926.                     this.Flicking = false;
  1927.                     this.CanMove = true;
  1928.                 }
  1929.                 else if (this.CharacterAnimation["f02_flickingMatch_00"].time > 1f && this.Match != null)
  1930.                 {
  1931.                     Rigidbody component2 = this.Match.GetComponent<Rigidbody>();
  1932.                     component2.isKinematic = false;
  1933.                     component2.useGravity = true;
  1934.                     component2.AddRelativeForce(Vector3.right * 250f);
  1935.                     this.Match.transform.parent = null;
  1936.                     this.Match = null;
  1937.                 }
  1938.             }
  1939.             if (this.Rummaging)
  1940.             {
  1941.                 this.MoveTowardsTarget(this.RummageSpot.Target.position);
  1942.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.RummageSpot.Target.rotation, Time.deltaTime * 10f);
  1943.                 this.RummageTimer += Time.deltaTime;
  1944.                 this.ProgressBar.transform.localScale = new Vector3(this.RummageTimer / 10f, this.ProgressBar.transform.localScale.y, this.ProgressBar.transform.localScale.z);
  1945.                 if (this.RummageTimer > 10f)
  1946.                 {
  1947.                     this.RummageSpot.GetReward();
  1948.                     this.ProgressBar.transform.parent.gameObject.SetActive(false);
  1949.                     this.RummageSpot = null;
  1950.                     this.Rummaging = false;
  1951.                     this.RummageTimer = 0f;
  1952.                     this.CanMove = true;
  1953.                 }
  1954.             }
  1955.             if (this.Digging)
  1956.             {
  1957.                 if (this.DigPhase == 1)
  1958.                 {
  1959.                     if (this.CharacterAnimation["f02_shovelDig_00"].time >= 1.66666663f)
  1960.                     {
  1961.                         component.volume = 1f;
  1962.                         component.clip = this.Dig;
  1963.                         component.Play();
  1964.                         this.DigPhase++;
  1965.                     }
  1966.                 }
  1967.                 else if (this.DigPhase == 2)
  1968.                 {
  1969.                     if (this.CharacterAnimation["f02_shovelDig_00"].time >= 3.5f)
  1970.                     {
  1971.                         component.volume = 1f;
  1972.                         component.Play();
  1973.                         this.DigPhase++;
  1974.                     }
  1975.                 }
  1976.                 else if (this.DigPhase == 3)
  1977.                 {
  1978.                     if (this.CharacterAnimation["f02_shovelDig_00"].time >= 5.66666651f)
  1979.                     {
  1980.                         component.volume = 1f;
  1981.                         component.Play();
  1982.                         this.DigPhase++;
  1983.                     }
  1984.                 }
  1985.                 else if (this.DigPhase == 4 && this.CharacterAnimation["f02_shovelDig_00"].time >= this.CharacterAnimation["f02_shovelDig_00"].length)
  1986.                 {
  1987.                     this.EquippedWeapon.gameObject.SetActive(true);
  1988.                     this.FloatingShovel.SetActive(false);
  1989.                     this.RPGCamera.enabled = true;
  1990.                     this.Digging = false;
  1991.                     this.CanMove = true;
  1992.                 }
  1993.             }
  1994.             if (this.Burying)
  1995.             {
  1996.                 if (this.DigPhase == 1)
  1997.                 {
  1998.                     if (this.CharacterAnimation["f02_shovelBury_00"].time >= 2.16666675f)
  1999.                     {
  2000.                         component.volume = 1f;
  2001.                         component.clip = this.Dig;
  2002.                         component.Play();
  2003.                         this.DigPhase++;
  2004.                     }
  2005.                 }
  2006.                 else if (this.DigPhase == 2)
  2007.                 {
  2008.                     if (this.CharacterAnimation["f02_shovelBury_00"].time >= 4.66666651f)
  2009.                     {
  2010.                         component.volume = 1f;
  2011.                         component.Play();
  2012.                         this.DigPhase++;
  2013.                     }
  2014.                 }
  2015.                 else if (this.CharacterAnimation["f02_shovelBury_00"].time >= this.CharacterAnimation["f02_shovelBury_00"].length)
  2016.                 {
  2017.                     this.EquippedWeapon.gameObject.SetActive(true);
  2018.                     this.FloatingShovel.SetActive(false);
  2019.                     this.RPGCamera.enabled = true;
  2020.                     this.Burying = false;
  2021.                     this.CanMove = true;
  2022.                 }
  2023.             }
  2024.             if (this.Pickpocketing && !this.Noticed && this.Caught)
  2025.             {
  2026.                 this.CaughtTimer += Time.deltaTime;
  2027.                 if (this.CaughtTimer > 1f)
  2028.                 {
  2029.                     this.Pickpocketing = false;
  2030.                     this.CaughtTimer = 0f;
  2031.                     this.CanMove = true;
  2032.                     this.Caught = false;
  2033.                 }
  2034.             }
  2035.             if (this.Sprayed)
  2036.             {
  2037.                 if (this.SprayPhase == 0)
  2038.                 {
  2039.                     if ((double)this.CharacterAnimation["f02_sprayed_00"].time > 0.66666)
  2040.                     {
  2041.                         this.Blur.enabled = true;
  2042.                         this.Blur.blurSize += Time.deltaTime;
  2043.                         if (this.Blur.blurSize > (float)this.Blur.blurIterations)
  2044.                         {
  2045.                             this.Blur.blurIterations++;
  2046.                         }
  2047.                     }
  2048.                     if (this.CharacterAnimation["f02_sprayed_00"].time > 5f)
  2049.                     {
  2050.                         this.Police.Darkness.enabled = true;
  2051.                         this.Police.Darkness.color = new Color(0f, 0f, 0f, Mathf.MoveTowards(this.Police.Darkness.color.a, 1f, Time.deltaTime));
  2052.                         if (this.Police.Darkness.color.a == 1f)
  2053.                         {
  2054.                             this.SprayTimer += Time.deltaTime;
  2055.                             if (this.SprayTimer > 1f)
  2056.                             {
  2057.                                 this.CharacterAnimation.Play("f02_tied_00");
  2058.                                 this.RPGCamera.enabled = false;
  2059.                                 this.ZipTie[0].SetActive(true);
  2060.                                 this.ZipTie[1].SetActive(true);
  2061.                                 this.Blur.enabled = false;
  2062.                                 this.SprayTimer = 0f;
  2063.                                 this.SprayPhase++;
  2064.                             }
  2065.                         }
  2066.                     }
  2067.                 }
  2068.                 else if (this.SprayPhase == 1)
  2069.                 {
  2070.                     this.Police.Darkness.color = new Color(0f, 0f, 0f, Mathf.MoveTowards(this.Police.Darkness.color.a, 0f, Time.deltaTime));
  2071.                     if (this.Police.Darkness.color.a == 0f)
  2072.                     {
  2073.                         this.SprayTimer += Time.deltaTime;
  2074.                         if (this.SprayTimer > 1f)
  2075.                         {
  2076.                             this.ShoulderCamera.HeartbrokenCamera.SetActive(true);
  2077.                             this.SprayPhase++;
  2078.                         }
  2079.                     }
  2080.                 }
  2081.             }
  2082.             if (this.SithAttacking)
  2083.             {
  2084.                 if (!this.SithRecovering)
  2085.                 {
  2086.                     if (this.SithBeam[1].Damage == 10f)
  2087.                     {
  2088.                         if (this.SithAttacks == 0 && this.CharacterAnimation[string.Concat(new object[]
  2089.                         {
  2090.                             "f02_sithAttack",
  2091.                             this.SithPrefix,
  2092.                             "_0",
  2093.                             this.SithCombo
  2094.                         })].time >= this.SithSpawnTime[this.SithCombo])
  2095.                         {
  2096.                             UnityEngine.Object.Instantiate<GameObject>(this.SithHitbox, base.transform.position + base.transform.forward * 1f + base.transform.up, base.transform.rotation);
  2097.                             this.SithAttacks++;
  2098.                         }
  2099.                     }
  2100.                     else if (this.SithAttacks == 0)
  2101.                     {
  2102.                         if (this.CharacterAnimation[string.Concat(new object[]
  2103.                         {
  2104.                             "f02_sithAttack",
  2105.                             this.SithPrefix,
  2106.                             "_0",
  2107.                             this.SithCombo
  2108.                         })].time >= this.SithHardSpawnTime1[this.SithCombo])
  2109.                         {
  2110.                             UnityEngine.Object.Instantiate<GameObject>(this.SithHardHitbox, base.transform.position + base.transform.forward * 1f + base.transform.up, base.transform.rotation);
  2111.                             this.SithAttacks++;
  2112.                         }
  2113.                     }
  2114.                     else if (this.SithAttacks == 1)
  2115.                     {
  2116.                         if (this.CharacterAnimation[string.Concat(new object[]
  2117.                         {
  2118.                             "f02_sithAttack",
  2119.                             this.SithPrefix,
  2120.                             "_0",
  2121.                             this.SithCombo
  2122.                         })].time >= this.SithHardSpawnTime2[this.SithCombo])
  2123.                         {
  2124.                             UnityEngine.Object.Instantiate<GameObject>(this.SithHardHitbox, base.transform.position + base.transform.forward * 1f + base.transform.up, base.transform.rotation);
  2125.                             this.SithAttacks++;
  2126.                         }
  2127.                     }
  2128.                     else if (this.SithAttacks == 2 && this.SithCombo == 1 && this.CharacterAnimation[string.Concat(new object[]
  2129.                     {
  2130.                         "f02_sithAttack",
  2131.                         this.SithPrefix,
  2132.                         "_0",
  2133.                         this.SithCombo
  2134.                     })].time >= 0.933333337f)
  2135.                     {
  2136.                         UnityEngine.Object.Instantiate<GameObject>(this.SithHardHitbox, base.transform.position + base.transform.forward * 1f + base.transform.up, base.transform.rotation);
  2137.                         this.SithAttacks++;
  2138.                     }
  2139.                     this.SithSoundCheck();
  2140.                     if (this.CharacterAnimation[string.Concat(new object[]
  2141.                     {
  2142.                         "f02_sithAttack",
  2143.                         this.SithPrefix,
  2144.                         "_0",
  2145.                         this.SithCombo
  2146.                     })].time >= this.CharacterAnimation[string.Concat(new object[]
  2147.                     {
  2148.                         "f02_sithAttack",
  2149.                         this.SithPrefix,
  2150.                         "_0",
  2151.                         this.SithCombo
  2152.                     })].length)
  2153.                     {
  2154.                         if (this.SithCombo < this.SithComboLength)
  2155.                         {
  2156.                             this.SithCombo++;
  2157.                             this.SithSounds = 0;
  2158.                             this.SithAttacks = 0;
  2159.                             this.CharacterAnimation.CrossFade(string.Concat(new object[]
  2160.                             {
  2161.                                 "f02_sithAttack",
  2162.                                 this.SithPrefix,
  2163.                                 "_0",
  2164.                                 this.SithCombo
  2165.                             }));
  2166.                         }
  2167.                         else
  2168.                         {
  2169.                             this.CharacterAnimation.CrossFade(string.Concat(new object[]
  2170.                             {
  2171.                                 "f02_sithRecover",
  2172.                                 this.SithPrefix,
  2173.                                 "_0",
  2174.                                 this.SithCombo
  2175.                             }));
  2176.                             this.CharacterAnimation[string.Concat(new object[]
  2177.                             {
  2178.                                 "f02_sithRecover",
  2179.                                 this.SithPrefix,
  2180.                                 "_0",
  2181.                                 this.SithCombo
  2182.                             })].speed = 2f;
  2183.                             this.SithRecovering = true;
  2184.                         }
  2185.                     }
  2186.                     else
  2187.                     {
  2188.                         if (Input.GetButtonDown("X") && this.SithComboLength < this.SithCombo + 1 && this.SithComboLength < 2)
  2189.                         {
  2190.                             this.SithComboLength++;
  2191.                         }
  2192.                         if (Input.GetButtonDown("Y") && this.SithComboLength < this.SithCombo + 1 && this.SithComboLength < 2)
  2193.                         {
  2194.                             this.SithComboLength++;
  2195.                         }
  2196.                     }
  2197.                 }
  2198.                 else if (this.CharacterAnimation[string.Concat(new object[]
  2199.                 {
  2200.                     "f02_sithRecover",
  2201.                     this.SithPrefix,
  2202.                     "_0",
  2203.                     this.SithCombo
  2204.                 })].time >= this.CharacterAnimation[string.Concat(new object[]
  2205.                 {
  2206.                     "f02_sithRecover",
  2207.                     this.SithPrefix,
  2208.                     "_0",
  2209.                     this.SithCombo
  2210.                 })].length)
  2211.                 {
  2212.                     this.CharacterAnimation[string.Concat(new object[]
  2213.                     {
  2214.                         "f02_sithRecover",
  2215.                         this.SithPrefix,
  2216.                         "_0",
  2217.                         this.SithCombo
  2218.                     })].speed = 1f;
  2219.                     this.SithRecovering = false;
  2220.                     this.SithAttacking = false;
  2221.                     this.SithComboLength = 0;
  2222.                     this.SithAttacks = 0;
  2223.                     this.SithSounds = 0;
  2224.                     this.SithCombo = 0;
  2225.                     this.CanMove = true;
  2226.                 }
  2227.             }
  2228.             if (this.Eating)
  2229.             {
  2230.                 this.targetRotation = Quaternion.LookRotation(new Vector3(this.TargetStudent.transform.position.x, base.transform.position.y, this.TargetStudent.transform.position.z) - base.transform.position);
  2231.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, 10f * Time.deltaTime);
  2232.                 if (this.CharacterAnimation["f02_sixEat_00"].time > this.BloodTimes[this.EatPhase])
  2233.                 {
  2234.                     GameObject gameObject10 = UnityEngine.Object.Instantiate<GameObject>(this.TargetStudent.StabBloodEffect, this.Mouth.position, Quaternion.identity);
  2235.                     gameObject10.GetComponent<RandomStabScript>().Biting = true;
  2236.                     this.Bloodiness += 20f;
  2237.                     this.EatPhase++;
  2238.                 }
  2239.                 if (this.CharacterAnimation["f02_sixEat_00"].time >= this.CharacterAnimation["f02_sixEat_00"].length)
  2240.                 {
  2241.                     if (this.Hunger < 5)
  2242.                     {
  2243.                         this.CharacterAnimation["f02_sixRun_00"].speed += 0.1f;
  2244.                         this.RunSpeed += 1f;
  2245.                         this.Hunger++;
  2246.                         if (this.Hunger == 5)
  2247.                         {
  2248.                             this.RisingSmoke.SetActive(true);
  2249.                             this.RunAnim = "f02_sixFastRun_00";
  2250.                         }
  2251.                     }
  2252.                     Debug.Log("Finished eating.");
  2253.                     this.FollowHips = false;
  2254.                     this.Attacking = false;
  2255.                     this.CanMove = true;
  2256.                     this.Eating = false;
  2257.                     this.EatPhase = 0;
  2258.                 }
  2259.             }
  2260.             if (this.Snapping)
  2261.             {
  2262.                 if (this.SnapPhase == 0)
  2263.                 {
  2264.                     if (this.CharacterAnimation["f02_gazerSnap_00"].time >= 0.8f)
  2265.                     {
  2266.                         AudioSource.PlayClipAtPoint(this.FingerSnap, base.transform.position + Vector3.up);
  2267.                         this.GazerEyes.ChangeEffect();
  2268.                         this.SnapPhase++;
  2269.                     }
  2270.                 }
  2271.                 else if (this.CharacterAnimation["f02_gazerSnap_00"].time >= this.CharacterAnimation["f02_gazerSnap_00"].length)
  2272.                 {
  2273.                     this.Snapping = false;
  2274.                     this.CanMove = true;
  2275.                     this.SnapPhase = 0;
  2276.                 }
  2277.             }
  2278.             if (this.GazeAttacking)
  2279.             {
  2280.                 if (this.TargetStudent != null)
  2281.                 {
  2282.                     this.targetRotation = Quaternion.LookRotation(new Vector3(this.TargetStudent.transform.position.x, base.transform.position.y, this.TargetStudent.transform.position.z) - base.transform.position);
  2283.                     base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, 10f * Time.deltaTime);
  2284.                 }
  2285.                 if (this.SnapPhase == 0)
  2286.                 {
  2287.                     if (this.CharacterAnimation["f02_gazerPoint_00"].time >= 1f)
  2288.                     {
  2289.                         AudioSource.PlayClipAtPoint(this.Zap, base.transform.position + Vector3.up);
  2290.                         this.GazerEyes.Attack();
  2291.                         this.SnapPhase++;
  2292.                     }
  2293.                 }
  2294.                 else if (this.CharacterAnimation["f02_gazerPoint_00"].time >= this.CharacterAnimation["f02_gazerPoint_00"].length)
  2295.                 {
  2296.                     this.GazerEyes.Attacking = false;
  2297.                     this.GazeAttacking = false;
  2298.                     this.CanMove = true;
  2299.                     this.SnapPhase = 0;
  2300.                 }
  2301.             }
  2302.             if (this.Finisher)
  2303.             {
  2304.                 if (this.CharacterAnimation["f02_banchoFinisher_00"].time >= this.CharacterAnimation["f02_banchoFinisher_00"].length)
  2305.                 {
  2306.                     this.CharacterAnimation.CrossFade(this.IdleAnim);
  2307.                     this.Finisher = false;
  2308.                     this.CanMove = true;
  2309.                 }
  2310.                 else if (this.CharacterAnimation["f02_banchoFinisher_00"].time >= 1.66666663f)
  2311.                 {
  2312.                     this.BanchoFinisher.MyCollider.enabled = false;
  2313.                 }
  2314.                 else if (this.CharacterAnimation["f02_banchoFinisher_00"].time >= 0.8333333f)
  2315.                 {
  2316.                     this.BanchoFinisher.MyCollider.enabled = true;
  2317.                 }
  2318.             }
  2319.             if (this.CanMoveTimer > 0f)
  2320.             {
  2321.                 this.CanMoveTimer = Mathf.MoveTowards(this.CanMoveTimer, 0f, Time.deltaTime);
  2322.                 if (this.CanMoveTimer == 0f)
  2323.                 {
  2324.                     this.CanMove = true;
  2325.                 }
  2326.             }
  2327.         }
  2328.     }
  2329.  
  2330.     private void UpdatePoisoning()
  2331.     {
  2332.         if (this.Poisoning)
  2333.         {
  2334.             this.MoveTowardsTarget(this.PoisonSpot.position);
  2335.             base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.PoisonSpot.rotation, Time.deltaTime * 10f);
  2336.             if (this.CharacterAnimation["f02_poisoning_00"].time >= this.CharacterAnimation["f02_poisoning_00"].length)
  2337.             {
  2338.                 this.Poisoning = false;
  2339.                 this.CanMove = true;
  2340.             }
  2341.             else if (this.CharacterAnimation["f02_poisoning_00"].time >= 5.25f)
  2342.             {
  2343.                 this.Poisons[this.PoisonType].SetActive(false);
  2344.             }
  2345.             else if ((double)this.CharacterAnimation["f02_poisoning_00"].time >= 0.75)
  2346.             {
  2347.                 this.Poisons[this.PoisonType].SetActive(true);
  2348.             }
  2349.         }
  2350.     }
  2351.  
  2352.     private void UpdateEffects()
  2353.     {
  2354.         if (!this.Attacking && !this.DelinquentFighting && !this.Lost && this.CanMove)
  2355.         {
  2356.             if (Vector3.Distance(base.transform.position, this.Senpai.position) < 1f)
  2357.             {
  2358.                 if (!this.Talking)
  2359.                 {
  2360.                     if (!this.NearSenpai)
  2361.                     {
  2362.                         this.DepthOfField.focalSize = 150f;
  2363.                         this.NearSenpai = true;
  2364.                     }
  2365.                     if (this.Laughing)
  2366.                     {
  2367.                         this.StopLaughing();
  2368.                     }
  2369.                     this.Obscurance.enabled = false;
  2370.                     this.YandereVision = false;
  2371.                     this.Stance.Current = StanceType.Standing;
  2372.                     this.Mopping = false;
  2373.                     this.Uncrouch();
  2374.                     this.YandereTimer = 0f;
  2375.                     this.EmptyHands();
  2376.                     if (this.Aiming)
  2377.                     {
  2378.                         this.StopAiming();
  2379.                     }
  2380.                 }
  2381.             }
  2382.             else
  2383.             {
  2384.                 this.NearSenpai = false;
  2385.             }
  2386.         }
  2387.         if (this.NearSenpai && !this.Noticed)
  2388.         {
  2389.             this.DepthOfField.enabled = true;
  2390.             this.DepthOfField.focalSize = Mathf.Lerp(this.DepthOfField.focalSize, 0f, Time.deltaTime * 10f);
  2391.             this.DepthOfField.focalZStartCurve = Mathf.Lerp(this.DepthOfField.focalZStartCurve, 20f, Time.deltaTime * 10f);
  2392.             this.DepthOfField.focalZEndCurve = Mathf.Lerp(this.DepthOfField.focalZEndCurve, 20f, Time.deltaTime * 10f);
  2393.             this.DepthOfField.objectFocus = this.Senpai.transform;
  2394.             this.ColorCorrection.enabled = true;
  2395.             this.SenpaiFade = Mathf.Lerp(this.SenpaiFade, 0f, Time.deltaTime * 10f);
  2396.             this.SenpaiTint = 1f - this.SenpaiFade / 100f;
  2397.             this.ColorCorrection.redChannel.MoveKey(1, new Keyframe(0.5f, 0.5f + this.SenpaiTint * 0.5f));
  2398.             this.ColorCorrection.greenChannel.MoveKey(1, new Keyframe(0.5f, 1f - this.SenpaiTint * 0.5f));
  2399.             this.ColorCorrection.blueChannel.MoveKey(1, new Keyframe(0.5f, 0.5f + this.SenpaiTint * 0.5f));
  2400.             this.ColorCorrection.redChannel.SmoothTangents(1, 0f);
  2401.             this.ColorCorrection.greenChannel.SmoothTangents(1, 0f);
  2402.             this.ColorCorrection.blueChannel.SmoothTangents(1, 0f);
  2403.             this.ColorCorrection.UpdateTextures();
  2404.             if (!this.Attacking)
  2405.             {
  2406.             }
  2407.             this.SelectGrayscale.desaturation = Mathf.Lerp(this.SelectGrayscale.desaturation, 0f, Time.deltaTime * 10f);
  2408.             this.HeartBeat.volume = this.SenpaiTint;
  2409.             this.Sanity += Time.deltaTime * 10f;
  2410.             this.SenpaiTimer += Time.deltaTime;
  2411.             if (this.SenpaiTimer > 10f && this.Creepiness < 5)
  2412.             {
  2413.                 this.SenpaiTimer = 0f;
  2414.                 this.Creepiness++;
  2415.             }
  2416.         }
  2417.         else if (this.SenpaiFade < 99f)
  2418.         {
  2419.             this.DepthOfField.focalSize = Mathf.Lerp(this.DepthOfField.focalSize, 150f, Time.deltaTime * 10f);
  2420.             this.DepthOfField.focalZStartCurve = Mathf.Lerp(this.DepthOfField.focalZStartCurve, 0f, Time.deltaTime * 10f);
  2421.             this.DepthOfField.focalZEndCurve = Mathf.Lerp(this.DepthOfField.focalZEndCurve, 0f, Time.deltaTime * 10f);
  2422.             this.SenpaiFade = Mathf.Lerp(this.SenpaiFade, 100f, Time.deltaTime * 10f);
  2423.             this.SenpaiTint = this.SenpaiFade / 100f;
  2424.             this.ColorCorrection.redChannel.MoveKey(1, new Keyframe(0.5f, 1f - this.SenpaiTint * 0.5f));
  2425.             this.ColorCorrection.greenChannel.MoveKey(1, new Keyframe(0.5f, this.SenpaiTint * 0.5f));
  2426.             this.ColorCorrection.blueChannel.MoveKey(1, new Keyframe(0.5f, 1f - this.SenpaiTint * 0.5f));
  2427.             this.ColorCorrection.redChannel.SmoothTangents(1, 0f);
  2428.             this.ColorCorrection.greenChannel.SmoothTangents(1, 0f);
  2429.             this.ColorCorrection.blueChannel.SmoothTangents(1, 0f);
  2430.             this.ColorCorrection.UpdateTextures();
  2431.             this.SelectGrayscale.desaturation = Mathf.Lerp(this.SelectGrayscale.desaturation, this.GreyTarget, Time.deltaTime * 10f);
  2432.             this.CharacterAnimation["f02_shy_00"].weight = 1f - this.SenpaiTint;
  2433.             for (int i = 1; i < 6; i++)
  2434.             {
  2435.                 this.CharacterAnimation[this.CreepyIdles[i]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyIdles[i]].weight, 0f, Time.deltaTime * 10f);
  2436.                 this.CharacterAnimation[this.CreepyWalks[i]].weight = Mathf.MoveTowards(this.CharacterAnimation[this.CreepyWalks[i]].weight, 0f, Time.deltaTime * 10f);
  2437.             }
  2438.             this.HeartBeat.volume = 1f - this.SenpaiTint;
  2439.         }
  2440.         else if (this.SenpaiFade < 100f)
  2441.         {
  2442.             this.ResetSenpaiEffects();
  2443.         }
  2444.         if (this.YandereVision)
  2445.         {
  2446.             if (!this.HighlightingR.enabled)
  2447.             {
  2448.                 this.YandereColorCorrection.enabled = true;
  2449.                 this.HighlightingR.enabled = true;
  2450.                 this.HighlightingB.enabled = true;
  2451.                 this.Obscurance.enabled = true;
  2452.                 this.Vignette.enabled = true;
  2453.             }
  2454.             Time.timeScale = Mathf.Lerp(Time.timeScale, 0.5f, Time.unscaledDeltaTime * 10f);
  2455.             this.YandereFade = Mathf.Lerp(this.YandereFade, 0f, Time.deltaTime * 10f);
  2456.             this.YandereTint = 1f - this.YandereFade / 100f;
  2457.             this.YandereColorCorrection.redChannel.MoveKey(1, new Keyframe(0.5f, 0.5f - this.YandereTint * 0.25f));
  2458.             this.YandereColorCorrection.greenChannel.MoveKey(1, new Keyframe(0.5f, 0.5f - this.YandereTint * 0.25f));
  2459.             this.YandereColorCorrection.blueChannel.MoveKey(1, new Keyframe(0.5f, 0.5f + this.YandereTint * 0.25f));
  2460.             this.YandereColorCorrection.redChannel.SmoothTangents(1, 0f);
  2461.             this.YandereColorCorrection.greenChannel.SmoothTangents(1, 0f);
  2462.             this.YandereColorCorrection.blueChannel.SmoothTangents(1, 0f);
  2463.             this.YandereColorCorrection.UpdateTextures();
  2464.             this.Vignette.intensity = Mathf.Lerp(this.Vignette.intensity, this.YandereTint * 5f, Time.deltaTime * 10f);
  2465.             this.Vignette.blur = Mathf.Lerp(this.Vignette.blur, this.YandereTint, Time.deltaTime * 10f);
  2466.             this.Vignette.chromaticAberration = Mathf.Lerp(this.Vignette.chromaticAberration, this.YandereTint * 5f, Time.deltaTime * 10f);
  2467.             if (this.StudentManager.Tag.Target != null)
  2468.             {
  2469.                 this.StudentManager.Tag.Sprite.color = new Color(1f, 0f, 0f, Mathf.Lerp(this.StudentManager.Tag.Sprite.color.a, 1f, Time.unscaledDeltaTime * 10f));
  2470.             }
  2471.         }
  2472.         else
  2473.         {
  2474.             if (this.HighlightingR.enabled)
  2475.             {
  2476.                 this.HighlightingR.enabled = false;
  2477.                 this.HighlightingB.enabled = false;
  2478.             }
  2479.             if (this.YandereFade < 99f)
  2480.             {
  2481.                 if (!this.Aiming)
  2482.                 {
  2483.                     Time.timeScale = Mathf.Lerp(Time.timeScale, 1f, Time.unscaledDeltaTime * 10f);
  2484.                 }
  2485.                 this.YandereFade = Mathf.Lerp(this.YandereFade, 100f, Time.deltaTime * 10f);
  2486.                 this.YandereTint = this.YandereFade / 100f;
  2487.                 this.YandereColorCorrection.redChannel.MoveKey(1, new Keyframe(0.5f, this.YandereTint * 0.5f));
  2488.                 this.YandereColorCorrection.greenChannel.MoveKey(1, new Keyframe(0.5f, this.YandereTint * 0.5f));
  2489.                 this.YandereColorCorrection.blueChannel.MoveKey(1, new Keyframe(0.5f, 1f - this.YandereTint * 0.5f));
  2490.                 this.YandereColorCorrection.redChannel.SmoothTangents(1, 0f);
  2491.                 this.YandereColorCorrection.greenChannel.SmoothTangents(1, 0f);
  2492.                 this.YandereColorCorrection.blueChannel.SmoothTangents(1, 0f);
  2493.                 this.YandereColorCorrection.UpdateTextures();
  2494.                 this.Vignette.intensity = Mathf.Lerp(this.Vignette.intensity, 0f, Time.deltaTime * 10f);
  2495.                 this.Vignette.blur = Mathf.Lerp(this.Vignette.blur, 0f, Time.deltaTime * 10f);
  2496.                 this.Vignette.chromaticAberration = Mathf.Lerp(this.Vignette.chromaticAberration, 0f, Time.deltaTime * 10f);
  2497.                 this.StudentManager.Tag.Sprite.color = new Color(1f, 0f, 0f, Mathf.Lerp(this.StudentManager.Tag.Sprite.color.a, 0f, Time.unscaledDeltaTime * 10f));
  2498.             }
  2499.             else if (this.YandereFade < 100f)
  2500.             {
  2501.                 this.ResetYandereEffects();
  2502.             }
  2503.         }
  2504.         this.RightRedEye.material.color = new Color(this.RightRedEye.material.color.r, this.RightRedEye.material.color.g, this.RightRedEye.material.color.b, 1f - this.YandereFade / 100f);
  2505.         this.LeftRedEye.material.color = new Color(this.LeftRedEye.material.color.r, this.LeftRedEye.material.color.g, this.LeftRedEye.material.color.b, 1f - this.YandereFade / 100f);
  2506.         this.RightYandereEye.material.color = new Color(this.RightYandereEye.material.color.r, this.YandereFade / 100f, this.YandereFade / 100f, this.RightYandereEye.material.color.a);
  2507.         this.LeftYandereEye.material.color = new Color(this.LeftYandereEye.material.color.r, this.YandereFade / 100f, this.YandereFade / 100f, this.LeftYandereEye.material.color.a);
  2508.     }
  2509.  
  2510.     private void UpdateTalking()
  2511.     {
  2512.         if (this.Talking)
  2513.         {
  2514.             if (this.TargetStudent != null)
  2515.             {
  2516.                 this.targetRotation = Quaternion.LookRotation(new Vector3(this.TargetStudent.transform.position.x, base.transform.position.y, this.TargetStudent.transform.position.z) - base.transform.position);
  2517.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  2518.             }
  2519.             if (this.Interaction == YandereInteractionType.Idle)
  2520.             {
  2521.                 this.CharacterAnimation.CrossFade(this.IdleAnim);
  2522.             }
  2523.             else if (this.Interaction == YandereInteractionType.Apologizing)
  2524.             {
  2525.                 if (this.TalkTimer == 3f)
  2526.                 {
  2527.                     this.CharacterAnimation.CrossFade("f02_greet_00");
  2528.                     if (this.TargetStudent.Witnessed == StudentWitnessType.Insanity || this.TargetStudent.Witnessed == StudentWitnessType.WeaponAndBloodAndInsanity || this.TargetStudent.Witnessed == StudentWitnessType.WeaponAndInsanity || this.TargetStudent.Witnessed == StudentWitnessType.BloodAndInsanity)
  2529.                     {
  2530.                         this.Subtitle.UpdateLabel(SubtitleType.InsanityApology, 0, 3f);
  2531.                     }
  2532.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.WeaponAndBlood)
  2533.                     {
  2534.                         this.Subtitle.UpdateLabel(SubtitleType.WeaponAndBloodApology, 0, 3f);
  2535.                     }
  2536.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Weapon)
  2537.                     {
  2538.                         this.Subtitle.UpdateLabel(SubtitleType.WeaponApology, 0, 3f);
  2539.                     }
  2540.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Blood)
  2541.                     {
  2542.                         this.Subtitle.UpdateLabel(SubtitleType.BloodApology, 0, 3f);
  2543.                     }
  2544.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Lewd)
  2545.                     {
  2546.                         this.Subtitle.UpdateLabel(SubtitleType.LewdApology, 0, 3f);
  2547.                     }
  2548.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Accident)
  2549.                     {
  2550.                         this.Subtitle.UpdateLabel(SubtitleType.AccidentApology, 0, 3f);
  2551.                     }
  2552.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Suspicious)
  2553.                     {
  2554.                         this.Subtitle.UpdateLabel(SubtitleType.SuspiciousApology, 0, 3f);
  2555.                     }
  2556.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Eavesdropping)
  2557.                     {
  2558.                         this.Subtitle.UpdateLabel(SubtitleType.EavesdropApology, 0, 3f);
  2559.                     }
  2560.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Violence)
  2561.                     {
  2562.                         this.Subtitle.UpdateLabel(SubtitleType.ViolenceApology, 0, 3f);
  2563.                     }
  2564.                     else if (this.TargetStudent.Witnessed == StudentWitnessType.Pickpocketing)
  2565.                     {
  2566.                         this.Subtitle.UpdateLabel(SubtitleType.PickpocketApology, 0, 3f);
  2567.                     }
  2568.                 }
  2569.                 else
  2570.                 {
  2571.                     if (Input.GetButtonDown("A"))
  2572.                     {
  2573.                         this.TalkTimer = 0f;
  2574.                     }
  2575.                     if (this.CharacterAnimation["f02_greet_00"].time >= this.CharacterAnimation["f02_greet_00"].length)
  2576.                     {
  2577.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2578.                     }
  2579.                     if (this.TalkTimer <= 0f)
  2580.                     {
  2581.                         this.TargetStudent.Interaction = StudentInteractionType.Forgiving;
  2582.                         this.TargetStudent.TalkTimer = 3f;
  2583.                         this.Interaction = YandereInteractionType.Idle;
  2584.                     }
  2585.                 }
  2586.                 this.TalkTimer -= Time.deltaTime;
  2587.             }
  2588.             else if (this.Interaction == YandereInteractionType.Compliment)
  2589.             {
  2590.                 if (this.TalkTimer == 3f)
  2591.                 {
  2592.                     this.CharacterAnimation.CrossFade("f02_greet_01");
  2593.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerCompliment, 0, 3f);
  2594.                 }
  2595.                 else
  2596.                 {
  2597.                     if (Input.GetButtonDown("A"))
  2598.                     {
  2599.                         this.TalkTimer = 0f;
  2600.                     }
  2601.                     if (this.CharacterAnimation["f02_greet_01"].time >= this.CharacterAnimation["f02_greet_01"].length)
  2602.                     {
  2603.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2604.                     }
  2605.                     if (this.TalkTimer <= 0f)
  2606.                     {
  2607.                         this.TargetStudent.Interaction = StudentInteractionType.ReceivingCompliment;
  2608.                         this.TargetStudent.TalkTimer = 3f;
  2609.                         this.Interaction = YandereInteractionType.Idle;
  2610.                     }
  2611.                 }
  2612.                 this.TalkTimer -= Time.deltaTime;
  2613.             }
  2614.             else if (this.Interaction == YandereInteractionType.Gossip)
  2615.             {
  2616.                 if (this.TalkTimer == 3f)
  2617.                 {
  2618.                     this.CharacterAnimation.CrossFade("f02_lookdown_00");
  2619.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerGossip, 0, 3f);
  2620.                 }
  2621.                 else
  2622.                 {
  2623.                     if (Input.GetButtonDown("A"))
  2624.                     {
  2625.                         this.TalkTimer = 0f;
  2626.                     }
  2627.                     if (this.CharacterAnimation["f02_lookdown_00"].time >= this.CharacterAnimation["f02_lookdown_00"].length)
  2628.                     {
  2629.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2630.                     }
  2631.                     if (this.TalkTimer <= 0f)
  2632.                     {
  2633.                         this.TargetStudent.Interaction = StudentInteractionType.Gossiping;
  2634.                         this.TargetStudent.TalkTimer = 3f;
  2635.                         this.Interaction = YandereInteractionType.Idle;
  2636.                     }
  2637.                 }
  2638.                 this.TalkTimer -= Time.deltaTime;
  2639.             }
  2640.             else if (this.Interaction == YandereInteractionType.Bye)
  2641.             {
  2642.                 if (this.TalkTimer == 2f)
  2643.                 {
  2644.                     this.CharacterAnimation.CrossFade("f02_greet_00");
  2645.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerFarewell, 0, 2f);
  2646.                 }
  2647.                 else
  2648.                 {
  2649.                     if (Input.GetButtonDown("A"))
  2650.                     {
  2651.                         this.TalkTimer = 0f;
  2652.                     }
  2653.                     if (this.CharacterAnimation["f02_greet_00"].time >= this.CharacterAnimation["f02_greet_00"].length)
  2654.                     {
  2655.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2656.                     }
  2657.                     if (this.TalkTimer <= 0f)
  2658.                     {
  2659.                         this.TargetStudent.Interaction = StudentInteractionType.Bye;
  2660.                         this.TargetStudent.TalkTimer = 2f;
  2661.                         this.Interaction = YandereInteractionType.Idle;
  2662.                     }
  2663.                 }
  2664.                 this.TalkTimer -= Time.deltaTime;
  2665.             }
  2666.             else if (this.Interaction == YandereInteractionType.FollowMe)
  2667.             {
  2668.                 if (this.TalkTimer == 3f)
  2669.                 {
  2670.                     this.CharacterAnimation.CrossFade("f02_greet_01");
  2671.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerFollow, 0, 3f);
  2672.                 }
  2673.                 else
  2674.                 {
  2675.                     if (Input.GetButtonDown("A"))
  2676.                     {
  2677.                         this.TalkTimer = 0f;
  2678.                     }
  2679.                     if (this.CharacterAnimation["f02_greet_01"].time >= this.CharacterAnimation["f02_greet_01"].length)
  2680.                     {
  2681.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2682.                     }
  2683.                     if (this.TalkTimer <= 0f)
  2684.                     {
  2685.                         this.TargetStudent.Interaction = StudentInteractionType.FollowingPlayer;
  2686.                         this.TargetStudent.TalkTimer = 2f;
  2687.                         this.Interaction = YandereInteractionType.Idle;
  2688.                     }
  2689.                 }
  2690.                 this.TalkTimer -= Time.deltaTime;
  2691.             }
  2692.             else if (this.Interaction == YandereInteractionType.GoAway)
  2693.             {
  2694.                 if (this.TalkTimer == 3f)
  2695.                 {
  2696.                     this.CharacterAnimation.CrossFade("f02_lookdown_00");
  2697.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerLeave, 0, 3f);
  2698.                 }
  2699.                 else
  2700.                 {
  2701.                     if (Input.GetButtonDown("A"))
  2702.                     {
  2703.                         this.TalkTimer = 0f;
  2704.                     }
  2705.                     if (this.CharacterAnimation["f02_lookdown_00"].time >= this.CharacterAnimation["f02_lookdown_00"].length)
  2706.                     {
  2707.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2708.                     }
  2709.                     if (this.TalkTimer <= 0f)
  2710.                     {
  2711.                         this.TargetStudent.Interaction = StudentInteractionType.GoingAway;
  2712.                         this.TargetStudent.TalkTimer = 3f;
  2713.                         this.Interaction = YandereInteractionType.Idle;
  2714.                     }
  2715.                 }
  2716.                 this.TalkTimer -= Time.deltaTime;
  2717.             }
  2718.             else if (this.Interaction == YandereInteractionType.DistractThem)
  2719.             {
  2720.                 if (this.TalkTimer == 3f)
  2721.                 {
  2722.                     this.CharacterAnimation.CrossFade("f02_lookdown_00");
  2723.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerDistract, 0, 3f);
  2724.                 }
  2725.                 else
  2726.                 {
  2727.                     if (Input.GetButtonDown("A"))
  2728.                     {
  2729.                         this.TalkTimer = 0f;
  2730.                     }
  2731.                     if (this.CharacterAnimation["f02_lookdown_00"].time >= this.CharacterAnimation["f02_lookdown_00"].length)
  2732.                     {
  2733.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2734.                     }
  2735.                     if (this.TalkTimer <= 0f)
  2736.                     {
  2737.                         this.TargetStudent.Interaction = StudentInteractionType.DistractingTarget;
  2738.                         this.TargetStudent.TalkTimer = 3f;
  2739.                         this.Interaction = YandereInteractionType.Idle;
  2740.                     }
  2741.                 }
  2742.                 this.TalkTimer -= Time.deltaTime;
  2743.             }
  2744.             else if (this.Interaction == YandereInteractionType.NamingCrush)
  2745.             {
  2746.                 if (this.TalkTimer == 3f)
  2747.                 {
  2748.                     this.CharacterAnimation.CrossFade("f02_greet_01");
  2749.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerLove, 0, 3f);
  2750.                 }
  2751.                 else
  2752.                 {
  2753.                     if (Input.GetButtonDown("A"))
  2754.                     {
  2755.                         this.TalkTimer = 0f;
  2756.                     }
  2757.                     if (this.CharacterAnimation["f02_greet_01"].time >= this.CharacterAnimation["f02_greet_01"].length)
  2758.                     {
  2759.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2760.                     }
  2761.                     if (this.TalkTimer <= 0f)
  2762.                     {
  2763.                         this.TargetStudent.Interaction = StudentInteractionType.NamingCrush;
  2764.                         this.TargetStudent.TalkTimer = 3f;
  2765.                         this.Interaction = YandereInteractionType.Idle;
  2766.                     }
  2767.                 }
  2768.                 this.TalkTimer -= Time.deltaTime;
  2769.             }
  2770.             else if (this.Interaction == YandereInteractionType.ChangingAppearance)
  2771.             {
  2772.                 if (this.TalkTimer == 3f)
  2773.                 {
  2774.                     this.CharacterAnimation.CrossFade("f02_greet_01");
  2775.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerLove, 2, 3f);
  2776.                 }
  2777.                 else
  2778.                 {
  2779.                     if (Input.GetButtonDown("A"))
  2780.                     {
  2781.                         this.TalkTimer = 0f;
  2782.                     }
  2783.                     if (this.CharacterAnimation["f02_greet_01"].time >= this.CharacterAnimation["f02_greet_01"].length)
  2784.                     {
  2785.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2786.                     }
  2787.                     if (this.TalkTimer <= 0f)
  2788.                     {
  2789.                         this.TargetStudent.Interaction = StudentInteractionType.ChangingAppearance;
  2790.                         this.TargetStudent.TalkTimer = 3f;
  2791.                         this.Interaction = YandereInteractionType.Idle;
  2792.                     }
  2793.                 }
  2794.                 this.TalkTimer -= Time.deltaTime;
  2795.             }
  2796.             else if (this.Interaction == YandereInteractionType.Court)
  2797.             {
  2798.                 if (this.TalkTimer == 5f)
  2799.                 {
  2800.                     this.CharacterAnimation.CrossFade("f02_greet_01");
  2801.                     if (!this.TargetStudent.Male)
  2802.                     {
  2803.                         this.Subtitle.UpdateLabel(SubtitleType.PlayerLove, 3, 5f);
  2804.                     }
  2805.                     else
  2806.                     {
  2807.                         this.Subtitle.UpdateLabel(SubtitleType.PlayerLove, 4, 5f);
  2808.                     }
  2809.                 }
  2810.                 else
  2811.                 {
  2812.                     if (Input.GetButtonDown("A"))
  2813.                     {
  2814.                         this.TalkTimer = 0f;
  2815.                     }
  2816.                     if (this.CharacterAnimation["f02_greet_01"].time >= this.CharacterAnimation["f02_greet_01"].length)
  2817.                     {
  2818.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2819.                     }
  2820.                     if (this.TalkTimer <= 0f)
  2821.                     {
  2822.                         this.TargetStudent.Interaction = StudentInteractionType.Court;
  2823.                         this.TargetStudent.TalkTimer = 3f;
  2824.                         this.Interaction = YandereInteractionType.Idle;
  2825.                     }
  2826.                 }
  2827.                 this.TalkTimer -= Time.deltaTime;
  2828.             }
  2829.             else if (this.Interaction == YandereInteractionType.Confess)
  2830.             {
  2831.                 if (this.TalkTimer == 5f)
  2832.                 {
  2833.                     this.CharacterAnimation.CrossFade("f02_greet_01");
  2834.                     this.Subtitle.UpdateLabel(SubtitleType.PlayerLove, 5, 5f);
  2835.                 }
  2836.                 else
  2837.                 {
  2838.                     if (Input.GetButtonDown("A"))
  2839.                     {
  2840.                         this.TalkTimer = 0f;
  2841.                     }
  2842.                     if (this.CharacterAnimation["f02_greet_01"].time >= this.CharacterAnimation["f02_greet_01"].length)
  2843.                     {
  2844.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2845.                     }
  2846.                     if (this.TalkTimer <= 0f)
  2847.                     {
  2848.                         this.TargetStudent.Interaction = StudentInteractionType.Gift;
  2849.                         this.TargetStudent.TalkTimer = 5f;
  2850.                         this.Interaction = YandereInteractionType.Idle;
  2851.                     }
  2852.                 }
  2853.                 this.TalkTimer -= Time.deltaTime;
  2854.             }
  2855.         }
  2856.     }
  2857.  
  2858.     private void UpdateAttacking()
  2859.     {
  2860.         if (this.Attacking)
  2861.         {
  2862.             if (this.TargetStudent != null)
  2863.             {
  2864.                 this.targetRotation = Quaternion.LookRotation(new Vector3(this.TargetStudent.transform.position.x, base.transform.position.y, this.TargetStudent.transform.position.z) - base.transform.position);
  2865.                 base.transform.rotation = Quaternion.Slerp(base.transform.rotation, this.targetRotation, Time.deltaTime * 10f);
  2866.             }
  2867.             if (this.Drown)
  2868.             {
  2869.                 this.MoveTowardsTarget(this.TargetStudent.transform.position + this.TargetStudent.transform.forward * -0.0001f);
  2870.                 this.CharacterAnimation.CrossFade(this.DrownAnim);
  2871.                 if (this.CharacterAnimation[this.DrownAnim].time > this.CharacterAnimation[this.DrownAnim].length)
  2872.                 {
  2873.                     this.TargetStudent.DeathType = DeathType.Drowning;
  2874.                     this.Attacking = false;
  2875.                     this.CanMove = true;
  2876.                     this.Drown = false;
  2877.                     this.Sanity -= ((PlayerGlobals.PantiesEquipped != 10) ? 20f : 10f) * this.Numbness;
  2878.                 }
  2879.                 if (this.TargetStudent.StudentID == 34)
  2880.                 {
  2881.                     if (this.CharacterAnimation[this.DrownAnim].time > 9f)
  2882.                     {
  2883.                         this.StudentManager.AltFemaleDrownSplashes.Stop();
  2884.                     }
  2885.                     else if (this.CharacterAnimation[this.DrownAnim].time > 3f)
  2886.                     {
  2887.                         this.StudentManager.AltFemaleDrownSplashes.Play();
  2888.                     }
  2889.                 }
  2890.                 else if (this.CharacterAnimation[this.DrownAnim].time > 9f)
  2891.                 {
  2892.                     this.StudentManager.FemaleDrownSplashes.Stop();
  2893.                 }
  2894.                 else if (this.CharacterAnimation[this.DrownAnim].time > 3f)
  2895.                 {
  2896.                     this.StudentManager.FemaleDrownSplashes.Play();
  2897.                 }
  2898.             }
  2899.             else if (this.RoofPush)
  2900.             {
  2901.                 this.CameraTarget.position = Vector3.MoveTowards(this.CameraTarget.position, new Vector3(this.Hips.position.x, base.transform.position.y + 1f, this.Hips.position.z), Time.deltaTime * 10f);
  2902.                 this.MoveTowardsTarget(this.TargetStudent.transform.position - this.TargetStudent.transform.forward);
  2903.                 this.CharacterAnimation.CrossFade("f02_roofPushA_00");
  2904.                 if (this.CharacterAnimation["f02_roofPushA_00"].time > 4.33333349f)
  2905.                 {
  2906.                     if (this.Shoes[0].activeInHierarchy)
  2907.                     {
  2908.                         GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.ShoePair, base.transform.position + new Vector3(-1.6f, 0.045f, 0f), Quaternion.identity);
  2909.                         gameObject.transform.eulerAngles = new Vector3(gameObject.transform.eulerAngles.x, -90f, gameObject.transform.eulerAngles.z);
  2910.                         this.Shoes[0].SetActive(false);
  2911.                         this.Shoes[1].SetActive(false);
  2912.                     }
  2913.                 }
  2914.                 else if (this.CharacterAnimation["f02_roofPushA_00"].time > 2.16666675f && !this.Shoes[0].activeInHierarchy)
  2915.                 {
  2916.                     this.TargetStudent.RemoveShoes();
  2917.                     this.Shoes[0].SetActive(true);
  2918.                     this.Shoes[1].SetActive(true);
  2919.                 }
  2920.                 if (this.CharacterAnimation["f02_roofPushA_00"].time > this.CharacterAnimation["f02_roofPushA_00"].length)
  2921.                 {
  2922.                     this.CameraTarget.localPosition = new Vector3(0f, 1f, 0f);
  2923.                     this.TargetStudent.DeathType = DeathType.Falling;
  2924.                     this.Attacking = false;
  2925.                     this.RoofPush = false;
  2926.                     this.CanMove = true;
  2927.                     this.Sanity -= 20f * this.Numbness;
  2928.                 }
  2929.                 if (Input.GetButtonDown("B"))
  2930.                 {
  2931.                     this.SplashCamera.Show = true;
  2932.                     this.SplashCamera.MyCamera.enabled = true;
  2933.                     this.SplashCamera.transform.position = new Vector3(-33f, 1.35f, 30f);
  2934.                     this.SplashCamera.transform.eulerAngles = new Vector3(0f, 135f, 0f);
  2935.                 }
  2936.             }
  2937.             else if (this.TargetStudent.Teacher)
  2938.             {
  2939.                 this.CharacterAnimation.CrossFade("f02_counterA_00");
  2940.                 this.Character.transform.position = new Vector3(this.Character.transform.position.x, this.TargetStudent.transform.position.y, this.Character.transform.position.z);
  2941.             }
  2942.             else if (!this.SanityBased)
  2943.             {
  2944.                 if (this.EquippedWeapon.WeaponID == 11)
  2945.                 {
  2946.                     this.CharacterAnimation.CrossFade("CyborgNinja_Slash");
  2947.                     if (this.CharacterAnimation["CyborgNinja_Slash"].time == 0f)
  2948.                     {
  2949.                         this.TargetStudent.CharacterAnimation[this.TargetStudent.PhoneAnim].weight = 0f;
  2950.                         this.EquippedWeapon.gameObject.GetComponent<AudioSource>().Play();
  2951.                     }
  2952.                     if (this.CharacterAnimation["CyborgNinja_Slash"].time >= this.CharacterAnimation["CyborgNinja_Slash"].length)
  2953.                     {
  2954.                         this.Bloodiness += 20f;
  2955.                         this.StainWeapon();
  2956.                         this.CharacterAnimation["CyborgNinja_Slash"].time = 0f;
  2957.                         this.CharacterAnimation.Stop("CyborgNinja_Slash");
  2958.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  2959.                         this.Attacking = false;
  2960.                         if (!this.Noticed)
  2961.                         {
  2962.                             this.CanMove = true;
  2963.                         }
  2964.                         else
  2965.                         {
  2966.                             this.EquippedWeapon.Drop();
  2967.                         }
  2968.                     }
  2969.                 }
  2970.                 else if (this.EquippedWeapon.WeaponID == 7)
  2971.                 {
  2972.                     this.CharacterAnimation.CrossFade("f02_buzzSawKill_A_00");
  2973.                     if (this.CharacterAnimation["f02_buzzSawKill_A_00"].time == 0f)
  2974.                     {
  2975.                         this.TargetStudent.CharacterAnimation[this.TargetStudent.PhoneAnim].weight = 0f;
  2976.                         this.EquippedWeapon.gameObject.GetComponent<AudioSource>().Play();
  2977.                     }
  2978.                     if (this.AttackPhase == 1)
  2979.                     {
  2980.                         if (this.CharacterAnimation["f02_buzzSawKill_A_00"].time > 0.333333343f)
  2981.                         {
  2982.                             this.TargetStudent.LiquidProjector.enabled = true;
  2983.                             this.EquippedWeapon.Effect();
  2984.                             this.StainWeapon();
  2985.                             this.TargetStudent.LiquidProjector.material.mainTexture = this.BloodTextures[1];
  2986.                             this.Bloodiness += 20f;
  2987.                             this.AttackPhase++;
  2988.                         }
  2989.                     }
  2990.                     else if (this.AttackPhase < 6 && this.CharacterAnimation["f02_buzzSawKill_A_00"].time > 0.333333343f * (float)this.AttackPhase)
  2991.                     {
  2992.                         this.TargetStudent.LiquidProjector.material.mainTexture = this.BloodTextures[this.AttackPhase];
  2993.                         this.Bloodiness += 20f;
  2994.                         this.AttackPhase++;
  2995.                     }
  2996.                     if (this.CharacterAnimation["f02_buzzSawKill_A_00"].time > this.CharacterAnimation["f02_buzzSawKill_A_00"].length)
  2997.                     {
  2998.                         if (this.TargetStudent == this.StudentManager.Reporter)
  2999.                         {
  3000.                             this.StudentManager.Reporter = null;
  3001.                         }
  3002.                         this.CharacterAnimation["f02_buzzSawKill_A_00"].time = 0f;
  3003.                         this.CharacterAnimation.Stop("f02_buzzSawKill_A_00");
  3004.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  3005.                         this.MyController.radius = 0.2f;
  3006.                         this.Attacking = false;
  3007.                         this.AttackPhase = 1;
  3008.                         this.Sanity -= 20f * this.Numbness;
  3009.                         this.TargetStudent.DeathType = DeathType.Weapon;
  3010.                         this.TargetStudent.BecomeRagdoll();
  3011.                         if (!this.Noticed)
  3012.                         {
  3013.                             this.CanMove = true;
  3014.                         }
  3015.                         else
  3016.                         {
  3017.                             this.EquippedWeapon.Drop();
  3018.                         }
  3019.                     }
  3020.                 }
  3021.                 else if (!this.EquippedWeapon.Concealable)
  3022.                 {
  3023.                     if (this.AttackPhase == 1)
  3024.                     {
  3025.                         this.CharacterAnimation.CrossFade("f02_swingA_00");
  3026.                         if (this.CharacterAnimation["f02_swingA_00"].time > this.CharacterAnimation["f02_swingA_00"].length * 0.3f)
  3027.                         {
  3028.                             if (this.TargetStudent == this.StudentManager.Reporter)
  3029.                             {
  3030.                                 this.StudentManager.Reporter = null;
  3031.                             }
  3032.                             UnityEngine.Object.Destroy(this.TargetStudent.DeathScream);
  3033.                             this.EquippedWeapon.Effect();
  3034.                             this.AttackPhase = 2;
  3035.                             this.Bloodiness += 20f;
  3036.                             this.StainWeapon();
  3037.                             this.Sanity -= 20f * this.Numbness;
  3038.                         }
  3039.                     }
  3040.                     else if (this.CharacterAnimation["f02_swingA_00"].time >= this.CharacterAnimation["f02_swingA_00"].length * 0.9f)
  3041.                     {
  3042.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  3043.                         this.TargetStudent.DeathType = DeathType.Weapon;
  3044.                         this.TargetStudent.BecomeRagdoll();
  3045.                         this.MyController.radius = 0.2f;
  3046.                         this.Attacking = false;
  3047.                         this.AttackPhase = 1;
  3048.                         this.AttackTimer = 0f;
  3049.                         if (!this.Noticed)
  3050.                         {
  3051.                             this.CanMove = true;
  3052.                         }
  3053.                         else
  3054.                         {
  3055.                             this.EquippedWeapon.Drop();
  3056.                         }
  3057.                     }
  3058.                 }
  3059.                 else if (this.AttackPhase == 1)
  3060.                 {
  3061.                     this.CharacterAnimation.CrossFade("f02_stab_00");
  3062.                     if (this.CharacterAnimation["f02_stab_00"].time > this.CharacterAnimation["f02_stab_00"].length * 0.35f)
  3063.                     {
  3064.                         this.CharacterAnimation.CrossFade(this.IdleAnim);
  3065.                         if (this.EquippedWeapon.Flaming)
  3066.                         {
  3067.                             this.TargetStudent.Combust();
  3068.                         }
  3069.                         else if (this.CanTranq && !this.TargetStudent.Male && this.TargetStudent.Club != ClubType.Council)
  3070.                         {
  3071.                             this.TargetStudent.Tranquil = true;
  3072.                             this.CanTranq = false;
  3073.                             this.Followers--;
  3074.                         }
  3075.                         else
  3076.                         {
  3077.                             this.TargetStudent.BloodSpray.SetActive(true);
  3078.                             this.TargetStudent.DeathType = DeathType.Weapon;
  3079.                             this.Bloodiness += 20f;
  3080.                         }
  3081.                         if (this.TargetStudent == this.StudentManager.Reporter)
  3082.                         {
  3083.                             this.StudentManager.Reporter = null;
  3084.                         }
  3085.                         AudioSource.PlayClipAtPoint(this.Stabs[UnityEngine.Random.Range(0, this.Stabs.Length)], base.transform.position + Vector3.up);
  3086.                         UnityEngine.Object.Destroy(this.TargetStudent.DeathScream);
  3087.                         this.AttackPhase = 2;
  3088.                         this.Sanity -= 20f * this.Numbness;
  3089.                         if (this.EquippedWeapon.WeaponID == 8)
  3090.                         {
  3091.                             this.TargetStudent.Ragdoll.Sacrifice = true;
  3092.                             if (GameGlobals.Paranormal)
  3093.                             {
  3094.                                 this.EquippedWeapon.Effect();
  3095.                             }
  3096.                         }
  3097.                     }
  3098.                 }
  3099.                 else
  3100.                 {
  3101.                     this.AttackTimer += Time.deltaTime;
  3102.                     if (this.AttackTimer > 0.3f)
  3103.                     {
  3104.                         if (!this.CanTranq)
  3105.                         {
  3106.                             this.StainWeapon();
  3107.                         }
  3108.                         this.MyController.radius = 0.2f;
  3109.                         this.SanityBased = true;
  3110.                         this.Attacking = false;
  3111.                         this.AttackPhase = 1;
  3112.                         this.AttackTimer = 0f;
  3113.                         if (!this.Noticed)
  3114.                         {
  3115.                             this.CanMove = true;
  3116.                         }
  3117.                         else
  3118.                         {
  3119.                             this.EquippedWeapon.Drop();
  3120.                         }
  3121.                     }
  3122.                 }
  3123.             }
  3124.         }
  3125.     }
  3126.  
  3127.     private void UpdateSlouch()
  3128.     {
  3129.         if (this.CanMove && !this.Attacking && !this.Dragging && this.PickUp == null && !this.Aiming && this.Stance.Current != StanceType.Crawling && !this.Possessed && !this.Carrying && !this.CirnoWings.activeInHierarchy && this.LaughIntensity < 16f)
  3130.         {
  3131.             this.CharacterAnimation["f02_yanderePose_00"].weight = Mathf.Lerp(this.CharacterAnimation["f02_yanderePose_00"].weight, 1f - this.Sanity / 100f, Time.deltaTime * 10f);
  3132.             if (this.Hairstyle == 2 && this.Stance.Current == StanceType.Crouching)
  3133.             {
  3134.                 this.Slouch = Mathf.Lerp(this.Slouch, 0f, Time.deltaTime * 20f);
  3135.             }
  3136.             else
  3137.             {
  3138.                 this.Slouch = Mathf.Lerp(this.Slouch, 5f * (1f - this.Sanity / 100f), Time.deltaTime * 10f);
  3139.             }
  3140.         }
  3141.         else
  3142.         {
  3143.             this.CharacterAnimation["f02_yanderePose_00"].weight = Mathf.Lerp(this.CharacterAnimation["f02_yanderePose_00"].weight, 0f, Time.deltaTime * 10f);
  3144.             this.Slouch = Mathf.Lerp(this.Slouch, 0f, Time.deltaTime * 10f);
  3145.         }
  3146.     }
  3147.  
  3148.     private void UpdateTwitch()
  3149.     {
  3150.         if (this.Sanity < 100f)
  3151.         {
  3152.             this.TwitchTimer += Time.deltaTime;
  3153.             if (this.TwitchTimer > this.NextTwitch)
  3154.             {
  3155.                 this.Twitch = new Vector3((1f - this.Sanity / 100f) * UnityEngine.Random.Range(-10f, 10f), (1f - this.Sanity / 100f) * UnityEngine.Random.Range(-10f, 10f), (1f - this.Sanity / 100f) * UnityEngine.Random.Range(-10f, 10f));
  3156.                 this.NextTwitch = UnityEngine.Random.Range(0f, 1f);
  3157.                 this.TwitchTimer = 0f;
  3158.             }
  3159.             this.Twitch = Vector3.Lerp(this.Twitch, Vector3.zero, Time.deltaTime * 10f);
  3160.         }
  3161.     }
  3162.  
  3163.     private void UpdateWarnings()
  3164.     {
  3165.         if (this.NearBodies > 0)
  3166.         {
  3167.             if (!this.CorpseWarning)
  3168.             {
  3169.                 this.NotificationManager.DisplayNotification(NotificationType.Body);
  3170.                 this.StudentManager.UpdateStudents();
  3171.                 this.CorpseWarning = true;
  3172.             }
  3173.         }
  3174.         else if (this.CorpseWarning)
  3175.         {
  3176.             this.StudentManager.UpdateStudents();
  3177.             this.CorpseWarning = false;
  3178.         }
  3179.         if (this.Eavesdropping)
  3180.         {
  3181.             if (!this.EavesdropWarning)
  3182.             {
  3183.                 this.NotificationManager.DisplayNotification(NotificationType.Eavesdropping);
  3184.                 this.EavesdropWarning = true;
  3185.             }
  3186.         }
  3187.         else if (this.EavesdropWarning)
  3188.         {
  3189.             this.EavesdropWarning = false;
  3190.         }
  3191.     }
  3192.  
  3193.     private void UpdateDebugFunctionality()
  3194.     {
  3195.         if (!this.EasterEggMenu.activeInHierarchy)
  3196.         {
  3197.             if (!this.Aiming && this.CanMove && Time.timeScale > 0f && Input.GetKeyDown(KeyCode.Escape))
  3198.             {
  3199.                 this.PauseScreen.JumpToQuit();
  3200.             }
  3201.             if (Input.GetKeyDown(KeyCode.P))
  3202.             {
  3203.                 this.CyborgParts[1].SetActive(false);
  3204.                 this.MemeGlasses.SetActive(false);
  3205.                 this.KONGlasses.SetActive(false);
  3206.                 this.EyepatchR.SetActive(false);
  3207.                 this.EyepatchL.SetActive(false);
  3208.                 this.EyewearID++;
  3209.                 if (this.EyewearID == 1)
  3210.                 {
  3211.                     this.EyepatchR.SetActive(true);
  3212.                 }
  3213.                 else if (this.EyewearID == 2)
  3214.                 {
  3215.                     this.EyepatchL.SetActive(true);
  3216.                 }
  3217.                 else if (this.EyewearID == 3)
  3218.                 {
  3219.                     this.EyepatchR.SetActive(true);
  3220.                     this.EyepatchL.SetActive(true);
  3221.                 }
  3222.                 else if (this.EyewearID == 4)
  3223.                 {
  3224.                     this.KONGlasses.SetActive(true);
  3225.                 }
  3226.                 else if (this.EyewearID == 5)
  3227.                 {
  3228.                     this.MemeGlasses.SetActive(true);
  3229.                 }
  3230.                 else if (this.EyewearID == 6)
  3231.                 {
  3232.                     if (this.CyborgParts[2].activeInHierarchy)
  3233.                     {
  3234.                         this.CyborgParts[1].SetActive(true);
  3235.                     }
  3236.                     else
  3237.                     {
  3238.                         this.EyewearID = 0;
  3239.                     }
  3240.                 }
  3241.                 else
  3242.                 {
  3243.                     this.EyewearID = 0;
  3244.                 }
  3245.             }
  3246.             if (Input.GetKeyDown(KeyCode.H))
  3247.             {
  3248.                 if (Input.GetButton("LB"))
  3249.                 {
  3250.                     this.Hairstyle += 10;
  3251.                 }
  3252.                 else
  3253.                 {
  3254.                     this.Hairstyle++;
  3255.                 }
  3256.                 this.UpdateHair();
  3257.             }
  3258.             if (Input.GetKey(KeyCode.H) && Input.GetKeyDown(KeyCode.LeftArrow))
  3259.             {
  3260.                 this.Hairstyle--;
  3261.                 this.UpdateHair();
  3262.             }
  3263.             if (Input.GetKeyDown(KeyCode.O) && !this.EasterEggMenu.activeInHierarchy)
  3264.             {
  3265.                 if (this.AccessoryID > 0)
  3266.                 {
  3267.                     this.Accessories[this.AccessoryID].SetActive(false);
  3268.                 }
  3269.                 if (Input.GetButton("LB"))
  3270.                 {
  3271.                     this.AccessoryID += 10;
  3272.                 }
  3273.                 else
  3274.                 {
  3275.                     this.AccessoryID++;
  3276.                 }
  3277.                 this.UpdateAccessory();
  3278.             }
  3279.             if (Input.GetKey(KeyCode.O) && Input.GetKeyDown(KeyCode.LeftArrow))
  3280.             {
  3281.                 if (this.AccessoryID > 0)
  3282.                 {
  3283.                     this.Accessories[this.AccessoryID].SetActive(false);
  3284.                 }
  3285.                 this.AccessoryID--;
  3286.                 this.UpdateAccessory();
  3287.             }
  3288.             if (!this.NoDebug && !this.DebugMenu.activeInHierarchy && this.CanMove)
  3289.             {
  3290.                 if (Input.GetKeyDown("-"))
  3291.                 {
  3292.                     if (Time.timeScale < 6f)
  3293.                     {
  3294.                         Time.timeScale = 1f;
  3295.                     }
  3296.                     else
  3297.                     {
  3298.                         Time.timeScale -= 5f;
  3299.                     }
  3300.                 }
  3301.                 if (Input.GetKeyDown("="))
  3302.                 {
  3303.                     if (Time.timeScale < 5f)
  3304.                     {
  3305.                         Time.timeScale = 5f;
  3306.                     }
  3307.                     else
  3308.                     {
  3309.                         Time.timeScale += 5f;
  3310.                         if (Time.timeScale > 25f)
  3311.                         {
  3312.                             Time.timeScale = 25f;
  3313.                         }
  3314.                     }
  3315.                 }
  3316.             }
  3317.             if (Input.GetKey(KeyCode.Period))
  3318.             {
  3319.                 this.BreastSize += Time.deltaTime;
  3320.                 if (this.BreastSize > 2f)
  3321.                 {
  3322.                     this.BreastSize = 2f;
  3323.                 }
  3324.                 this.RightBreast.localScale = new Vector3(this.BreastSize, this.BreastSize, this.BreastSize);
  3325.                 this.LeftBreast.localScale = new Vector3(this.BreastSize, this.BreastSize, this.BreastSize);
  3326.             }
  3327.             if (Input.GetKey(KeyCode.Comma))
  3328.             {
  3329.                 this.BreastSize -= Time.deltaTime;
  3330.                 if (this.BreastSize < 0.5f)
  3331.                 {
  3332.                     this.BreastSize = 0.5f;
  3333.                 }
  3334.                 this.RightBreast.localScale = new Vector3(this.BreastSize, this.BreastSize, this.BreastSize);
  3335.                 this.LeftBreast.localScale = new Vector3(this.BreastSize, this.BreastSize, this.BreastSize);
  3336.             }
  3337.         }
  3338.         if (!this.NoDebug)
  3339.         {
  3340.             if (this.CanMove && !this.Egg && base.transform.position.y < 1000f)
  3341.             {
  3342.                 if (Input.GetKeyDown(KeyCode.Slash))
  3343.                 {
  3344.                     this.DebugMenu.SetActive(false);
  3345.                     this.EasterEggMenu.SetActive(!this.EasterEggMenu.activeInHierarchy);
  3346.                 }
  3347.                 if (this.EasterEggMenu.activeInHierarchy && !this.Egg)
  3348.                 {
  3349.                     if (Input.GetKeyDown(KeyCode.P))
  3350.                     {
  3351.                         this.Punish();
  3352.                     }
  3353.                     else if (Input.GetKeyDown(KeyCode.Z))
  3354.                     {
  3355.                         this.Slend();
  3356.                     }
  3357.                     else if (Input.GetKeyDown(KeyCode.B))
  3358.                     {
  3359.                         this.Bancho();
  3360.                     }
  3361.                     else if (Input.GetKeyDown(KeyCode.C))
  3362.                     {
  3363.                         this.Cirno();
  3364.                     }
  3365.                     else if (Input.GetKeyDown(KeyCode.H))
  3366.                     {
  3367.                         this.EmptyHands();
  3368.                         this.Hate();
  3369.                     }
  3370.                     else if (Input.GetKeyDown(KeyCode.T))
  3371.                     {
  3372.                         this.StudentManager.AttackOnTitan();
  3373.                         this.AttackOnTitan();
  3374.                     }
  3375.                     else if (Input.GetKeyDown(KeyCode.G))
  3376.                     {
  3377.                         this.GaloSengen();
  3378.                     }
  3379.                     else if (!Input.GetKeyDown(KeyCode.J))
  3380.                     {
  3381.                         if (Input.GetKeyDown(KeyCode.K))
  3382.                         {
  3383.                             this.EasterEggMenu.SetActive(false);
  3384.                             this.StudentManager.Kong();
  3385.                             this.DK = true;
  3386.                         }
  3387.                         else if (Input.GetKeyDown(KeyCode.L))
  3388.                         {
  3389.                             this.Agent();
  3390.                         }
  3391.                         else if (Input.GetKeyDown(KeyCode.N))
  3392.                         {
  3393.                             this.Nude();
  3394.                         }
  3395.                         else if (Input.GetKeyDown(KeyCode.S))
  3396.                         {
  3397.                             this.EasterEggMenu.SetActive(false);
  3398.                             this.Egg = true;
  3399.                             this.StudentManager.Spook();
  3400.                         }
  3401.                         else if (Input.GetKeyDown(KeyCode.F))
  3402.                         {
  3403.                             this.EasterEggMenu.SetActive(false);
  3404.                             this.Falcon();
  3405.                         }
  3406.                         else if (Input.GetKeyDown(KeyCode.X))
  3407.                         {
  3408.                             this.EasterEggMenu.SetActive(false);
  3409.                             this.X();
  3410.                         }
  3411.                         else if (Input.GetKeyDown(KeyCode.O))
  3412.                         {
  3413.                             this.EasterEggMenu.SetActive(false);
  3414.                             this.Punch();
  3415.                         }
  3416.                         else if (Input.GetKeyDown(KeyCode.U))
  3417.                         {
  3418.                             this.EasterEggMenu.SetActive(false);
  3419.                             this.BadTime();
  3420.                         }
  3421.                         else if (Input.GetKeyDown(KeyCode.Y))
  3422.                         {
  3423.                             this.EasterEggMenu.SetActive(false);
  3424.                             this.CyborgNinja();
  3425.                         }
  3426.                         else if (Input.GetKeyDown(KeyCode.E))
  3427.                         {
  3428.                             this.EasterEggMenu.SetActive(false);
  3429.                             this.Ebola();
  3430.                         }
  3431.                         else if (Input.GetKeyDown(KeyCode.Q))
  3432.                         {
  3433.                             this.EasterEggMenu.SetActive(false);
  3434.                             this.Samus();
  3435.                         }
  3436.                         else if (!Input.GetKeyDown(KeyCode.W))
  3437.                         {
  3438.                             if (Input.GetKeyDown(KeyCode.R))
  3439.                             {
  3440.                                 this.EasterEggMenu.SetActive(false);
  3441.                                 this.Pose();
  3442.                             }
  3443.                             else if (Input.GetKeyDown(KeyCode.V))
  3444.                             {
  3445.                                 this.EasterEggMenu.SetActive(false);
  3446.                                 this.Long();
  3447.                             }
  3448.                             else if (Input.GetKeyDown(KeyCode.Alpha2))
  3449.                             {
  3450.                                 this.EasterEggMenu.SetActive(false);
  3451.                                 this.HairBlades();
  3452.                             }
  3453.                             else if (Input.GetKeyDown(KeyCode.Alpha7))
  3454.                             {
  3455.                                 this.EasterEggMenu.SetActive(false);
  3456.                                 this.Tornado();
  3457.                             }
  3458.                             else if (Input.GetKeyDown(KeyCode.Alpha8))
  3459.                             {
  3460.                                 this.EasterEggMenu.SetActive(false);
  3461.                                 this.GenderSwap();
  3462.                             }
  3463.                             else if (Input.GetKeyDown("[5]"))
  3464.                             {
  3465.                                 this.EasterEggMenu.SetActive(false);
  3466.                                 this.SwapMesh();
  3467.                             }
  3468.                             else if (Input.GetKeyDown(KeyCode.A))
  3469.                             {
  3470.                                 this.StudentManager.ChangeOka();
  3471.                                 this.EasterEggMenu.SetActive(false);
  3472.                             }
  3473.                             else if (Input.GetKeyDown(KeyCode.I))
  3474.                             {
  3475.                                 this.StudentManager.NoGravity = true;
  3476.                                 this.EasterEggMenu.SetActive(false);
  3477.                             }
  3478.                             else if (Input.GetKeyDown(KeyCode.D))
  3479.                             {
  3480.                                 this.EasterEggMenu.SetActive(false);
  3481.                                 this.Sith();
  3482.                             }
  3483.                             else if (Input.GetKeyDown(KeyCode.M))
  3484.                             {
  3485.                                 this.EasterEggMenu.SetActive(false);
  3486.                                 this.Snake();
  3487.                             }
  3488.                             else if (Input.GetKeyDown(KeyCode.Alpha1))
  3489.                             {
  3490.                                 this.EasterEggMenu.SetActive(false);
  3491.                                 this.Gazer();
  3492.                             }
  3493.                             else if (Input.GetKeyDown(KeyCode.Alpha3))
  3494.                             {
  3495.                                 this.StudentManager.SecurityCameras();
  3496.                                 this.EasterEggMenu.SetActive(false);
  3497.                             }
  3498.                             else if (Input.GetKeyDown(KeyCode.Alpha4))
  3499.                             {
  3500.                                 this.KLK();
  3501.                                 this.EasterEggMenu.SetActive(false);
  3502.                             }
  3503.                             else if (Input.GetKeyDown(KeyCode.Alpha6))
  3504.                             {
  3505.                                 this.EasterEggMenu.SetActive(false);
  3506.                                 this.Six();
  3507.                             }
  3508.                             else if (Input.GetKeyDown(KeyCode.Space))
  3509.                             {
  3510.                             }
  3511.                         }
  3512.                     }
  3513.                 }
  3514.             }
  3515.         }
  3516.         else if (Input.GetKeyDown(KeyCode.Z))
  3517.         {
  3518.             this.DebugMenu.transform.parent.GetComponent<DebugMenuScript>().Censor();
  3519.         }
  3520.     }
  3521.  
  3522.     private void LateUpdate()
  3523.     {
  3524.         this.LeftEye.localPosition = new Vector3(this.LeftEye.localPosition.x, this.LeftEye.localPosition.y, this.LeftEyeOrigin.z - this.EyeShrink * 0.01f);
  3525.         this.RightEye.localPosition = new Vector3(this.RightEye.localPosition.x, this.RightEye.localPosition.y, this.RightEyeOrigin.z + this.EyeShrink * 0.01f);
  3526.         this.LeftEye.localScale = new Vector3(1f - this.EyeShrink * 0.5f, 1f - this.EyeShrink * 0.5f, this.LeftEye.localScale.z);
  3527.         this.RightEye.localScale = new Vector3(1f - this.EyeShrink * 0.5f, 1f - this.EyeShrink * 0.5f, this.RightEye.localScale.z);
  3528.         this.ID = 0;
  3529.         while (this.ID < this.Spine.Length)
  3530.         {
  3531.             Transform transform = this.Spine[this.ID].transform;
  3532.             transform.localEulerAngles = new Vector3(transform.localEulerAngles.x + this.Slouch, transform.localEulerAngles.y, transform.localEulerAngles.z);
  3533.             this.ID++;
  3534.         }
  3535.         if (this.Aiming)
  3536.         {
  3537.             Transform transform2 = this.Spine[3].transform;
  3538.             transform2.localEulerAngles = new Vector3(transform2.localEulerAngles.x - this.Bend, transform2.localEulerAngles.y, transform2.localEulerAngles.z);
  3539.         }
  3540.         float num = 1f;
  3541.         if (this.Stance.Current == StanceType.Crouching)
  3542.         {
  3543.             num = 3.66666f;
  3544.         }
  3545.         Transform transform3 = this.Arm[0].transform;
  3546.         transform3.localEulerAngles = new Vector3(transform3.localEulerAngles.x, transform3.localEulerAngles.y, transform3.localEulerAngles.z - this.Slouch * (3f + num));
  3547.         Transform transform4 = this.Arm[1].transform;
  3548.         transform4.localEulerAngles = new Vector3(transform4.localEulerAngles.x, transform4.localEulerAngles.y, transform4.localEulerAngles.z + this.Slouch * (3f + num));
  3549.         if (!this.Aiming)
  3550.         {
  3551.             this.Head.localEulerAngles += this.Twitch;
  3552.         }
  3553.         if (this.Aiming)
  3554.         {
  3555.             if (this.Stance.Current == StanceType.Crawling)
  3556.             {
  3557.                 this.TargetHeight = -1.4f;
  3558.             }
  3559.             else if (this.Stance.Current == StanceType.Crouching)
  3560.             {
  3561.                 this.TargetHeight = -0.6f;
  3562.             }
  3563.             else
  3564.             {
  3565.                 this.TargetHeight = 0f;
  3566.             }
  3567.             this.Height = Mathf.Lerp(this.Height, this.TargetHeight, Time.deltaTime * 10f);
  3568.             this.PelvisRoot.transform.localPosition = new Vector3(this.PelvisRoot.transform.localPosition.x, this.Height, this.PelvisRoot.transform.localPosition.z);
  3569.         }
  3570.         if (this.Slender)
  3571.         {
  3572.             Transform transform5 = this.Leg[0];
  3573.             transform5.localScale = new Vector3(transform5.localScale.x, 2f, transform5.localScale.z);
  3574.             Transform transform6 = this.Foot[0];
  3575.             transform6.localScale = new Vector3(transform6.localScale.x, 0.5f, transform6.localScale.z);
  3576.             Transform transform7 = this.Leg[1];
  3577.             transform7.localScale = new Vector3(transform7.localScale.x, 2f, transform7.localScale.z);
  3578.             Transform transform8 = this.Foot[1];
  3579.             transform8.localScale = new Vector3(transform8.localScale.x, 0.5f, transform8.localScale.z);
  3580.             Transform transform9 = this.Arm[0];
  3581.             transform9.localScale = new Vector3(2f, transform9.localScale.y, transform9.localScale.z);
  3582.             Transform transform10 = this.Arm[1];
  3583.             transform10.localScale = new Vector3(2f, transform10.localScale.y, transform10.localScale.z);
  3584.         }
  3585.         if (this.DK)
  3586.         {
  3587.             this.Arm[0].localScale = new Vector3(2f, 2f, 2f);
  3588.             this.Arm[1].localScale = new Vector3(2f, 2f, 2f);
  3589.             this.Head.localScale = new Vector3(2f, 2f, 2f);
  3590.         }
  3591.         if (this.CirnoWings.activeInHierarchy)
  3592.         {
  3593.             if (Input.GetButton("LB"))
  3594.             {
  3595.                 this.FlapSpeed = 5f;
  3596.             }
  3597.             else if (this.FlapSpeed == 0f)
  3598.             {
  3599.                 this.FlapSpeed = 1f;
  3600.             }
  3601.             else
  3602.             {
  3603.                 this.FlapSpeed = 3f;
  3604.             }
  3605.             Transform transform11 = this.CirnoWing[0];
  3606.             Transform transform12 = this.CirnoWing[1];
  3607.             if (!this.FlapOut)
  3608.             {
  3609.                 this.CirnoRotation += Time.deltaTime * 100f * this.FlapSpeed;
  3610.                 transform11.localEulerAngles = new Vector3(transform11.localEulerAngles.x, this.CirnoRotation, transform11.localEulerAngles.z);
  3611.                 transform12.localEulerAngles = new Vector3(transform12.localEulerAngles.x, -this.CirnoRotation, transform12.localEulerAngles.z);
  3612.                 if (this.CirnoRotation > 15f)
  3613.                 {
  3614.                     this.FlapOut = true;
  3615.                 }
  3616.             }
  3617.             else
  3618.             {
  3619.                 this.CirnoRotation -= Time.deltaTime * 100f * this.FlapSpeed;
  3620.                 transform11.localEulerAngles = new Vector3(transform11.localEulerAngles.x, this.CirnoRotation, transform11.localEulerAngles.z);
  3621.                 transform12.localEulerAngles = new Vector3(transform12.localEulerAngles.x, -this.CirnoRotation, transform12.localEulerAngles.z);
  3622.                 if (this.CirnoRotation < -15f)
  3623.                 {
  3624.                     this.FlapOut = false;
  3625.                 }
  3626.             }
  3627.         }
  3628.     }
  3629.  
  3630.     public void StainWeapon()
  3631.     {
  3632.         if (this.EquippedWeapon != null)
  3633.         {
  3634.             if (this.TargetStudent != null && this.TargetStudent.StudentID < this.EquippedWeapon.Victims.Length)
  3635.             {
  3636.                 this.EquippedWeapon.Victims[this.TargetStudent.StudentID] = true;
  3637.             }
  3638.             this.EquippedWeapon.Blood.enabled = true;
  3639.             this.EquippedWeapon.MurderWeapon = true;
  3640.             if (this.Gloved && !this.Gloves.Blood.enabled)
  3641.             {
  3642.                 this.Gloves.PickUp.Evidence = true;
  3643.                 this.Gloves.Blood.enabled = true;
  3644.                 this.Police.BloodyClothing++;
  3645.             }
  3646.             if (this.Mask != null && !this.Mask.Blood.enabled)
  3647.             {
  3648.                 this.Mask.PickUp.Evidence = true;
  3649.                 this.Mask.Blood.enabled = true;
  3650.                 this.Police.BloodyClothing++;
  3651.             }
  3652.             if (!this.EquippedWeapon.Evidence)
  3653.             {
  3654.                 this.EquippedWeapon.Evidence = true;
  3655.                 this.Police.MurderWeapons++;
  3656.             }
  3657.         }
  3658.     }
  3659.  
  3660.     public void MoveTowardsTarget(Vector3 target)
  3661.     {
  3662.         Vector3 a = target - base.transform.position;
  3663.         this.MyController.Move(a * (Time.deltaTime * 10f));
  3664.     }
  3665.  
  3666.     public void StopAiming()
  3667.     {
  3668.         this.UpdateAccessory();
  3669.         this.UpdateHair();
  3670.         this.CharacterAnimation["f02_cameraPose_00"].weight = 0f;
  3671.         this.PelvisRoot.transform.localPosition = new Vector3(this.PelvisRoot.transform.localPosition.x, 0f, this.PelvisRoot.transform.localPosition.z);
  3672.         this.ShoulderCamera.AimingCamera = false;
  3673.         if (!Input.GetButtonDown("Start") && !Input.GetKeyDown(KeyCode.Escape))
  3674.         {
  3675.             this.FixCamera();
  3676.         }
  3677.         if (this.ShoulderCamera.Timer == 0f)
  3678.         {
  3679.             this.RPGCamera.enabled = true;
  3680.         }
  3681.         if (!OptionGlobals.Fog)
  3682.         {
  3683.             this.MainCamera.clearFlags = CameraClearFlags.Skybox;
  3684.         }
  3685.         this.MainCamera.farClipPlane = (float)OptionGlobals.DrawDistance;
  3686.         this.Smartphone.transform.parent.gameObject.SetActive(false);
  3687.         this.PhonePromptBar.Show = false;
  3688.         this.Smartphone.fieldOfView = 60f;
  3689.         this.Shutter.TargetStudent = 0;
  3690.         this.HandCamera.SetActive(false);
  3691.         this.UsingController = false;
  3692.         this.Aiming = false;
  3693.         this.Lewd = false;
  3694.         this.Height = 0f;
  3695.         this.Bend = 0f;
  3696.     }
  3697.  
  3698.     public void FixCamera()
  3699.     {
  3700.         this.RPGCamera.enabled = true;
  3701.         this.RPGCamera.UpdateRotation();
  3702.         this.RPGCamera.mouseSmoothingFactor = 0f;
  3703.         this.RPGCamera.GetInput();
  3704.         this.RPGCamera.GetDesiredPosition();
  3705.         this.RPGCamera.PositionUpdate();
  3706.         this.RPGCamera.mouseSmoothingFactor = 0.08f;
  3707.         this.Blur.enabled = false;
  3708.     }
  3709.  
  3710.     private void ResetSenpaiEffects()
  3711.     {
  3712.         this.DepthOfField.focalSize = 150f;
  3713.         this.DepthOfField.focalZStartCurve = 0f;
  3714.         this.DepthOfField.focalZEndCurve = 0f;
  3715.         this.DepthOfField.enabled = false;
  3716.         this.ColorCorrection.redChannel.MoveKey(1, new Keyframe(0.5f, 0.5f));
  3717.         this.ColorCorrection.greenChannel.MoveKey(1, new Keyframe(0.5f, 0.5f));
  3718.         this.ColorCorrection.blueChannel.MoveKey(1, new Keyframe(0.5f, 0.5f));
  3719.         this.ColorCorrection.redChannel.SmoothTangents(1, 0f);
  3720.         this.ColorCorrection.greenChannel.SmoothTangents(1, 0f);
  3721.         this.ColorCorrection.blueChannel.SmoothTangents(1, 0f);
  3722.         this.ColorCorrection.UpdateTextures();
  3723.         this.ColorCorrection.enabled = false;
  3724.         for (int i = 1; i < 6; i++)
  3725.         {
  3726.             this.CharacterAnimation[this.CreepyIdles[i]].weight = 0f;
  3727.             this.CharacterAnimation[this.CreepyWalks[i]].weight = 0f;
  3728.         }
  3729.         this.CharacterAnimation["f02_shy_00"].weight = 0f;
  3730.         this.HeartBeat.volume = 0f;
  3731.         this.SelectGrayscale.desaturation = this.GreyTarget;
  3732.         this.SenpaiFade = 100f;
  3733.         this.SenpaiTint = 0f;
  3734.     }
  3735.  
  3736.     public void ResetYandereEffects()
  3737.     {
  3738.         this.Vignette.intensity = 0f;
  3739.         this.Vignette.blur = 0f;
  3740.         this.Vignette.chromaticAberration = 0f;
  3741.         this.Vignette.enabled = false;
  3742.         this.YandereColorCorrection.redChannel.MoveKey(1, new Keyframe(0.5f, 0.5f));
  3743.         this.YandereColorCorrection.greenChannel.MoveKey(1, new Keyframe(0.5f, 0.5f));
  3744.         this.YandereColorCorrection.blueChannel.MoveKey(1, new Keyframe(0.5f, 0.5f));
  3745.         this.YandereColorCorrection.redChannel.SmoothTangents(1, 0f);
  3746.         this.YandereColorCorrection.greenChannel.SmoothTangents(1, 0f);
  3747.         this.YandereColorCorrection.blueChannel.SmoothTangents(1, 0f);
  3748.         this.YandereColorCorrection.UpdateTextures();
  3749.         this.YandereColorCorrection.enabled = false;
  3750.         Time.timeScale = 1f;
  3751.         this.YandereFade = 100f;
  3752.         this.StudentManager.Tag.Sprite.color = new Color(1f, 0f, 0f, 0f);
  3753.     }
  3754.  
  3755.     private void DumpRagdoll(RagdollDumpType Type)
  3756.     {
  3757.         this.Ragdoll.transform.position = base.transform.position;
  3758.         if (Type == RagdollDumpType.Incinerator)
  3759.         {
  3760.             this.Ragdoll.transform.LookAt(this.Incinerator.transform.position);
  3761.             this.Ragdoll.transform.eulerAngles = new Vector3(this.Ragdoll.transform.eulerAngles.x, this.Ragdoll.transform.eulerAngles.y + 180f, this.Ragdoll.transform.eulerAngles.z);
  3762.         }
  3763.         else if (Type == RagdollDumpType.TranqCase)
  3764.         {
  3765.             this.Ragdoll.transform.LookAt(this.TranqCase.transform.position);
  3766.         }
  3767.         else if (Type == RagdollDumpType.WoodChipper)
  3768.         {
  3769.             this.Ragdoll.transform.LookAt(this.WoodChipper.transform.position);
  3770.         }
  3771.         RagdollScript component = this.Ragdoll.GetComponent<RagdollScript>();
  3772.         component.DumpType = Type;
  3773.         component.Dump();
  3774.     }
  3775.  
  3776.     public void Unequip()
  3777.     {
  3778.         if (this.CanMove || this.Noticed)
  3779.         {
  3780.             if (this.Equipped < 3)
  3781.             {
  3782.                 if (this.EquippedWeapon != null)
  3783.                 {
  3784.                     this.EquippedWeapon.gameObject.SetActive(false);
  3785.                 }
  3786.             }
  3787.             else
  3788.             {
  3789.                 this.Weapon[3].Drop();
  3790.             }
  3791.             this.Equipped = 0;
  3792.             this.Mopping = false;
  3793.             this.StudentManager.UpdateStudents();
  3794.             this.WeaponManager.UpdateLabels();
  3795.             this.WeaponMenu.UpdateSprites();
  3796.             this.WeaponWarning = false;
  3797.         }
  3798.     }
  3799.  
  3800.     public void DropWeapon(int ID)
  3801.     {
  3802.         this.DropTimer[ID] += Time.deltaTime;
  3803.         if (this.DropTimer[ID] > 0.5f)
  3804.         {
  3805.             this.Weapon[ID].Drop();
  3806.             this.Weapon[ID] = null;
  3807.             this.Unequip();
  3808.             this.DropTimer[ID] = 0f;
  3809.         }
  3810.     }
  3811.  
  3812.     public void EmptyHands()
  3813.     {
  3814.         if (this.Carrying || this.HeavyWeight)
  3815.         {
  3816.             this.StopCarrying();
  3817.         }
  3818.         if (this.Armed)
  3819.         {
  3820.             this.Unequip();
  3821.         }
  3822.         if (this.PickUp != null)
  3823.         {
  3824.             this.PickUp.Drop();
  3825.         }
  3826.         if (this.Dragging)
  3827.         {
  3828.             this.Ragdoll.GetComponent<RagdollScript>().StopDragging();
  3829.         }
  3830.         this.Mopping = false;
  3831.     }
  3832.  
  3833.     public void UpdateNumbness()
  3834.     {
  3835.         this.Numbness = 1f - 0.1f * (float)(PlayerGlobals.Numbness + PlayerGlobals.NumbnessBonus);
  3836.     }
  3837.  
  3838.     private void OnTriggerEnter(Collider other)
  3839.     {
  3840.         if (other.gameObject.name == "BloodPool(Clone)" && other.transform.localScale.x > 0.3f)
  3841.         {
  3842.             if (PlayerGlobals.PantiesEquipped == 8)
  3843.             {
  3844.                 this.RightFootprintSpawner.Bloodiness = 5;
  3845.                 this.LeftFootprintSpawner.Bloodiness = 5;
  3846.             }
  3847.             else
  3848.             {
  3849.                 this.RightFootprintSpawner.Bloodiness = 10;
  3850.                 this.LeftFootprintSpawner.Bloodiness = 10;
  3851.             }
  3852.         }
  3853.     }
  3854.  
  3855.     public void UpdateHair()
  3856.     {
  3857.         if (this.Hairstyle > this.Hairstyles.Length - 1)
  3858.         {
  3859.             this.Hairstyle = 0;
  3860.         }
  3861.         if (this.Hairstyle < 0)
  3862.         {
  3863.             this.Hairstyle = this.Hairstyles.Length - 1;
  3864.         }
  3865.         this.ID = 1;
  3866.         while (this.ID < this.Hairstyles.Length)
  3867.         {
  3868.             this.Hairstyles[this.ID].SetActive(false);
  3869.             this.ID++;
  3870.         }
  3871.         if (this.Hairstyle > 0)
  3872.         {
  3873.             this.Hairstyles[this.Hairstyle].SetActive(true);
  3874.         }
  3875.     }
  3876.  
  3877.     public void StopLaughing()
  3878.     {
  3879.         this.BladeHairCollider1.enabled = false;
  3880.         this.BladeHairCollider2.enabled = false;
  3881.         this.LaughIntensity = 0f;
  3882.         this.Laughing = false;
  3883.         this.LaughClip = null;
  3884.         if (!this.Stand.Stand.activeInHierarchy)
  3885.         {
  3886.             this.CanMove = true;
  3887.         }
  3888.         if (this.BanchoActive)
  3889.         {
  3890.             AudioSource.PlayClipAtPoint(this.BanchoFinalYan, base.transform.position);
  3891.             this.CharacterAnimation.CrossFade("f02_banchoFinisher_00");
  3892.             this.BanchoFlurry.MyCollider.enabled = false;
  3893.             this.Finisher = true;
  3894.             this.CanMove = false;
  3895.         }
  3896.     }
  3897.  
  3898.     private void SetUniform()
  3899.     {
  3900.         if (StudentGlobals.FemaleUniform == 0)
  3901.         {
  3902.             StudentGlobals.FemaleUniform = 1;
  3903.         }
  3904.         this.MyRenderer.sharedMesh = this.Uniforms[StudentGlobals.FemaleUniform];
  3905.         if (this.Casual)
  3906.         {
  3907.             this.TextureToUse = this.UniformTextures[StudentGlobals.FemaleUniform];
  3908.         }
  3909.         else
  3910.         {
  3911.             this.TextureToUse = this.CasualTextures[StudentGlobals.FemaleUniform];
  3912.         }
  3913.         this.MyRenderer.materials[0].mainTexture = this.TextureToUse;
  3914.         this.MyRenderer.materials[1].mainTexture = this.TextureToUse;
  3915.         this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  3916.         base.StartCoroutine(this.ApplyCustomCostume());
  3917.     }
  3918.  
  3919.     private IEnumerator ApplyCustomCostume()
  3920.     {
  3921.         if (StudentGlobals.FemaleUniform == 1)
  3922.         {
  3923.             WWW CustomUniform = new WWW("file:///" + Application.streamingAssetsPath + "/CustomUniform.png");
  3924.             yield return CustomUniform;
  3925.             if (CustomUniform.error == null)
  3926.             {
  3927.                 this.MyRenderer.materials[0].mainTexture = CustomUniform.texture;
  3928.                 this.MyRenderer.materials[1].mainTexture = CustomUniform.texture;
  3929.             }
  3930.         }
  3931.         else if (StudentGlobals.FemaleUniform == 2)
  3932.         {
  3933.             WWW CustomLong = new WWW("file:///" + Application.streamingAssetsPath + "/CustomLong.png");
  3934.             yield return CustomLong;
  3935.             if (CustomLong.error == null)
  3936.             {
  3937.                 this.MyRenderer.materials[0].mainTexture = CustomLong.texture;
  3938.                 this.MyRenderer.materials[1].mainTexture = CustomLong.texture;
  3939.             }
  3940.         }
  3941.         else if (StudentGlobals.FemaleUniform == 3)
  3942.         {
  3943.             WWW CustomSweater = new WWW("file:///" + Application.streamingAssetsPath + "/CustomSweater.png");
  3944.             yield return CustomSweater;
  3945.             if (CustomSweater.error == null)
  3946.             {
  3947.                 this.MyRenderer.materials[0].mainTexture = CustomSweater.texture;
  3948.                 this.MyRenderer.materials[1].mainTexture = CustomSweater.texture;
  3949.             }
  3950.         }
  3951.         else if (StudentGlobals.FemaleUniform == 4 || StudentGlobals.FemaleUniform == 5)
  3952.         {
  3953.             WWW CustomBlazer = new WWW("file:///" + Application.streamingAssetsPath + "/CustomBlazer.png");
  3954.             yield return CustomBlazer;
  3955.             if (CustomBlazer.error == null)
  3956.             {
  3957.                 this.MyRenderer.materials[0].mainTexture = CustomBlazer.texture;
  3958.                 this.MyRenderer.materials[1].mainTexture = CustomBlazer.texture;
  3959.             }
  3960.         }
  3961.         WWW CustomFace = new WWW("file:///" + Application.streamingAssetsPath + "/CustomFace.png");
  3962.         yield return CustomFace;
  3963.         if (CustomFace.error == null)
  3964.         {
  3965.             this.MyRenderer.materials[2].mainTexture = CustomFace.texture;
  3966.             this.FaceTexture = CustomFace.texture;
  3967.         }
  3968.         WWW CustomHair = new WWW("file:///" + Application.streamingAssetsPath + "/CustomHair.png");
  3969.         yield return CustomHair;
  3970.         if (CustomHair.error == null)
  3971.         {
  3972.             this.PonytailRenderer.material.mainTexture = CustomHair.texture;
  3973.             this.PigtailR.material.mainTexture = CustomHair.texture;
  3974.             this.PigtailL.material.mainTexture = CustomHair.texture;
  3975.         }
  3976.         WWW CustomDrills = new WWW("file:///" + Application.streamingAssetsPath + "/CustomDrills.png");
  3977.         yield return CustomDrills;
  3978.         if (CustomDrills.error == null)
  3979.         {
  3980.             this.Drills.materials[0].mainTexture = CustomDrills.texture;
  3981.             this.Drills.material.mainTexture = CustomDrills.texture;
  3982.         }
  3983.         WWW CustomSwimsuit = new WWW("file:///" + Application.streamingAssetsPath + "/CustomSwimsuit.png");
  3984.         yield return CustomSwimsuit;
  3985.         if (CustomSwimsuit.error == null)
  3986.         {
  3987.             this.SwimsuitTexture = CustomSwimsuit.texture;
  3988.         }
  3989.         WWW CustomGym = new WWW("file:///" + Application.streamingAssetsPath + "/CustomGym.png");
  3990.         yield return CustomGym;
  3991.         if (CustomGym.error == null)
  3992.         {
  3993.             this.GymTexture = CustomGym.texture;
  3994.         }
  3995.         WWW CustomNude = new WWW("file:///" + Application.streamingAssetsPath + "/CustomNude.png");
  3996.         yield return CustomNude;
  3997.         if (CustomNude.error == null)
  3998.         {
  3999.             this.NudeTexture = CustomNude.texture;
  4000.         }
  4001.         WWW CustomLongHairA = new WWW("file:///" + Application.streamingAssetsPath + "/CustomLongHairA.png");
  4002.         yield return CustomDrills;
  4003.         WWW CustomLongHairB = new WWW("file:///" + Application.streamingAssetsPath + "/CustomLongHairB.png");
  4004.         yield return CustomDrills;
  4005.         WWW CustomLongHairC = new WWW("file:///" + Application.streamingAssetsPath + "/CustomLongHairC.png");
  4006.         yield return CustomDrills;
  4007.         if (CustomLongHairA.error == null && CustomLongHairB.error == null && CustomLongHairC.error == null)
  4008.         {
  4009.             this.LongHairRenderer.materials[0].mainTexture = CustomLongHairA.texture;
  4010.             this.LongHairRenderer.materials[1].mainTexture = CustomLongHairB.texture;
  4011.             this.LongHairRenderer.materials[2].mainTexture = CustomLongHairC.texture;
  4012.         }
  4013.         yield break;
  4014.     }
  4015.  
  4016.     public void WearGloves()
  4017.     {
  4018.         if (this.Bloodiness > 0f && !this.Gloves.Blood.enabled)
  4019.         {
  4020.             this.Gloves.PickUp.Evidence = true;
  4021.             this.Gloves.Blood.enabled = true;
  4022.             this.Police.BloodyClothing++;
  4023.         }
  4024.         this.Gloved = true;
  4025.         if (StudentGlobals.FemaleUniform == 1)
  4026.         {
  4027.             this.MyRenderer.materials[1].mainTexture = this.GloveTextures[StudentGlobals.FemaleUniform];
  4028.         }
  4029.         else
  4030.         {
  4031.             this.MyRenderer.materials[0].mainTexture = this.GloveTextures[StudentGlobals.FemaleUniform];
  4032.         }
  4033.     }
  4034.  
  4035.     private void AttackOnTitan()
  4036.     {
  4037.         this.PantyAttacher.newRenderer.enabled = false;
  4038.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4039.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4040.         this.MusicCredit.SongLabel.text = "Now Playing: This Is My Choice";
  4041.         this.MusicCredit.BandLabel.text = "By: The Kira Justice";
  4042.         this.MusicCredit.Panel.enabled = true;
  4043.         this.MusicCredit.Slide = true;
  4044.         this.EasterEggMenu.SetActive(false);
  4045.         this.Egg = true;
  4046.         this.MyRenderer.sharedMesh = this.Uniforms[1];
  4047.         this.MyRenderer.materials[0].mainTexture = this.TitanTexture;
  4048.         this.MyRenderer.materials[1].mainTexture = this.TitanTexture;
  4049.         this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4050.         this.Outline.h.ReinitMaterials();
  4051.     }
  4052.  
  4053.     private void KON()
  4054.     {
  4055.         this.MyRenderer.sharedMesh = this.Uniforms[4];
  4056.         this.MyRenderer.materials[0].mainTexture = this.KONTexture;
  4057.         this.MyRenderer.materials[1].mainTexture = this.KONTexture;
  4058.         this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4059.         this.Outline.h.ReinitMaterials();
  4060.     }
  4061.  
  4062.     private void Punish()
  4063.     {
  4064.         this.PunishedShader = Shader.Find("Toon/Cutoff");
  4065.         this.PantyAttacher.newRenderer.enabled = false;
  4066.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4067.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4068.         this.EasterEggMenu.SetActive(false);
  4069.         this.Egg = true;
  4070.         this.PunishedAccessories.SetActive(true);
  4071.         this.PunishedScarf.SetActive(true);
  4072.         this.EyepatchL.SetActive(false);
  4073.         this.EyepatchR.SetActive(false);
  4074.         this.ID = 0;
  4075.         while (this.ID < this.PunishedArm.Length)
  4076.         {
  4077.             this.PunishedArm[this.ID].SetActive(true);
  4078.             this.ID++;
  4079.         }
  4080.         this.MyRenderer.sharedMesh = this.PunishedMesh;
  4081.         this.MyRenderer.materials[0].mainTexture = this.PunishedTextures[1];
  4082.         this.MyRenderer.materials[1].mainTexture = this.PunishedTextures[1];
  4083.         this.MyRenderer.materials[2].mainTexture = this.PunishedTextures[0];
  4084.         this.MyRenderer.materials[1].shader = this.PunishedShader;
  4085.         this.MyRenderer.materials[1].SetFloat("_Shininess", 1f);
  4086.         this.MyRenderer.materials[1].SetFloat("_ShadowThreshold", 0f);
  4087.         this.MyRenderer.materials[1].SetFloat("_Cutoff", 0.9f);
  4088.         this.Outline.h.ReinitMaterials();
  4089.     }
  4090.  
  4091.     private void Hate()
  4092.     {
  4093.         this.PantyAttacher.newRenderer.enabled = false;
  4094.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4095.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4096.         this.MyRenderer.sharedMesh = this.Uniforms[1];
  4097.         this.MyRenderer.materials[0].mainTexture = this.HatefulUniform;
  4098.         this.MyRenderer.materials[1].mainTexture = this.HatefulUniform;
  4099.         this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4100.         RenderSettings.skybox = this.HatefulSkybox;
  4101.         this.SelectGrayscale.desaturation = 1f;
  4102.         this.HeartRate.gameObject.SetActive(false);
  4103.         this.Sanity = 0f;
  4104.         this.Hairstyle = 15;
  4105.         this.UpdateHair();
  4106.         this.EasterEggMenu.SetActive(false);
  4107.         this.Egg = true;
  4108.     }
  4109.  
  4110.     private void Sukeban()
  4111.     {
  4112.         this.IdleAnim = "f02_idle_00";
  4113.         this.SukebanAccessories.SetActive(true);
  4114.         this.MyRenderer.sharedMesh = this.Uniforms[1];
  4115.         this.MyRenderer.materials[1].mainTexture = this.SukebanBandages;
  4116.         this.MyRenderer.materials[0].mainTexture = this.SukebanUniform;
  4117.         this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4118.         this.EasterEggMenu.SetActive(false);
  4119.         this.Egg = true;
  4120.     }
  4121.  
  4122.     private void Bancho()
  4123.     {
  4124.         this.PantyAttacher.newRenderer.enabled = false;
  4125.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4126.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4127.         this.BanchoCamera.SetActive(true);
  4128.         this.MotionObject.enabled = true;
  4129.         this.MotionBlur.enabled = true;
  4130.         this.BanchoAccessories[0].SetActive(true);
  4131.         this.BanchoAccessories[1].SetActive(true);
  4132.         this.BanchoAccessories[2].SetActive(true);
  4133.         this.BanchoAccessories[3].SetActive(true);
  4134.         this.BanchoAccessories[4].SetActive(true);
  4135.         this.BanchoAccessories[5].SetActive(true);
  4136.         this.BanchoAccessories[6].SetActive(true);
  4137.         this.BanchoAccessories[7].SetActive(true);
  4138.         this.BanchoAccessories[8].SetActive(true);
  4139.         this.Laugh1 = this.BanchoYanYan;
  4140.         this.Laugh2 = this.BanchoYanYan;
  4141.         this.Laugh3 = this.BanchoYanYan;
  4142.         this.Laugh4 = this.BanchoYanYan;
  4143.         this.IdleAnim = "f02_banchoIdle_00";
  4144.         this.WalkAnim = "f02_banchoWalk_00";
  4145.         this.RunAnim = "f02_banchoSprint_00";
  4146.         this.OriginalIdleAnim = this.IdleAnim;
  4147.         this.OriginalWalkAnim = this.WalkAnim;
  4148.         this.OriginalRunAnim = this.RunAnim;
  4149.         this.RunSpeed *= 2f;
  4150.         this.BanchoPants.SetActive(true);
  4151.         this.MyRenderer.sharedMesh = this.BanchoMesh;
  4152.         this.MyRenderer.materials[0].mainTexture = this.BanchoFace;
  4153.         this.MyRenderer.materials[1].mainTexture = this.BanchoBody;
  4154.         this.MyRenderer.materials[2].mainTexture = this.BanchoBody;
  4155.         this.BanchoActive = true;
  4156.         this.TheDebugMenuScript.UpdateCensor();
  4157.         this.Character.transform.localPosition = new Vector3(0f, 0.04f, 0f);
  4158.         this.Hairstyle = 0;
  4159.         this.UpdateHair();
  4160.         this.EasterEggMenu.SetActive(false);
  4161.         this.Egg = true;
  4162.     }
  4163.  
  4164.     private void Slend()
  4165.     {
  4166.         this.PantyAttacher.newRenderer.enabled = false;
  4167.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4168.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4169.         RenderSettings.skybox = this.SlenderSkybox;
  4170.         this.SelectGrayscale.desaturation = 0.5f;
  4171.         this.SelectGrayscale.enabled = true;
  4172.         this.EasterEggMenu.SetActive(false);
  4173.         this.Slender = true;
  4174.         this.Egg = true;
  4175.         this.Hairstyle = 0;
  4176.         this.UpdateHair();
  4177.         this.SlenderHair[0].transform.parent.gameObject.SetActive(true);
  4178.         this.SlenderHair[0].SetActive(true);
  4179.         this.SlenderHair[1].SetActive(true);
  4180.         this.RightYandereEye.gameObject.SetActive(false);
  4181.         this.LeftYandereEye.gameObject.SetActive(false);
  4182.         this.Character.transform.localPosition = new Vector3(this.Character.transform.localPosition.x, 0.822f, this.Character.transform.localPosition.z);
  4183.         this.MyRenderer.sharedMesh = this.Uniforms[1];
  4184.         this.MyRenderer.materials[0].mainTexture = this.SlenderUniform;
  4185.         this.MyRenderer.materials[1].mainTexture = this.SlenderUniform;
  4186.         this.MyRenderer.materials[2].mainTexture = this.SlenderSkin;
  4187.         this.Sanity = 0f;
  4188.     }
  4189.  
  4190.     private void X()
  4191.     {
  4192.         this.PantyAttacher.newRenderer.enabled = false;
  4193.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4194.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4195.         this.Xtan = true;
  4196.         this.Egg = true;
  4197.         this.Hairstyle = 9;
  4198.         this.UpdateHair();
  4199.         this.BlackEyePatch.SetActive(true);
  4200.         this.XSclera.SetActive(true);
  4201.         this.XEye.SetActive(true);
  4202.         this.Schoolwear = 2;
  4203.         this.ChangeSchoolwear();
  4204.         this.CanMove = true;
  4205.         this.MyRenderer.materials[0].mainTexture = this.XBody;
  4206.         this.MyRenderer.materials[1].mainTexture = this.XBody;
  4207.         this.MyRenderer.materials[2].mainTexture = this.XFace;
  4208.     }
  4209.  
  4210.     private void GaloSengen()
  4211.     {
  4212.         this.PantyAttacher.newRenderer.enabled = false;
  4213.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4214.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4215.         this.IdleAnim = "f02_gruntIdle_00";
  4216.         this.EasterEggMenu.SetActive(false);
  4217.         this.Egg = true;
  4218.         this.ID = 0;
  4219.         while (this.ID < this.GaloAccessories.Length)
  4220.         {
  4221.             this.GaloAccessories[this.ID].SetActive(true);
  4222.             this.ID++;
  4223.         }
  4224.         this.MyRenderer.sharedMesh = this.Uniforms[1];
  4225.         this.MyRenderer.materials[0].mainTexture = this.UniformTextures[1];
  4226.         this.MyRenderer.materials[1].mainTexture = this.GaloArms;
  4227.         this.MyRenderer.materials[2].mainTexture = this.GaloFace;
  4228.         this.Hairstyle = 14;
  4229.         this.UpdateHair();
  4230.     }
  4231.  
  4232.     public void Jojo()
  4233.     {
  4234.         this.ShoulderCamera.LastPosition = this.ShoulderCamera.transform.position;
  4235.         this.ShoulderCamera.Summoning = true;
  4236.         this.RPGCamera.enabled = false;
  4237.         AudioSource.PlayClipAtPoint(this.SummonStand, base.transform.position);
  4238.         this.IdleAnim = "f02_jojoPose_00";
  4239.         this.WalkAnim = "f02_jojoWalk_00";
  4240.         this.EasterEggMenu.SetActive(false);
  4241.         this.CanMove = false;
  4242.         this.Egg = true;
  4243.         this.CharacterAnimation.CrossFade("f02_summonStand_00");
  4244.         this.Laugh1 = this.YanYan;
  4245.         this.Laugh2 = this.YanYan;
  4246.         this.Laugh3 = this.YanYan;
  4247.         this.Laugh4 = this.YanYan;
  4248.     }
  4249.  
  4250.     private void Agent()
  4251.     {
  4252.         this.PantyAttacher.newRenderer.enabled = false;
  4253.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4254.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4255.         this.MyRenderer.sharedMesh = this.Uniforms[4];
  4256.         this.MyRenderer.materials[0].mainTexture = this.AgentSuit;
  4257.         this.MyRenderer.materials[1].mainTexture = this.AgentSuit;
  4258.         this.MyRenderer.materials[2].mainTexture = this.AgentFace;
  4259.         this.EasterEggMenu.SetActive(false);
  4260.         this.Egg = true;
  4261.         this.Hairstyle = 0;
  4262.         this.UpdateHair();
  4263.     }
  4264.  
  4265.     private void Cirno()
  4266.     {
  4267.         this.PantyAttacher.newRenderer.enabled = false;
  4268.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4269.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4270.         this.MyRenderer.sharedMesh = this.Uniforms[3];
  4271.         this.MyRenderer.materials[0].mainTexture = this.CirnoUniform;
  4272.         this.MyRenderer.materials[1].mainTexture = this.CirnoUniform;
  4273.         this.MyRenderer.materials[2].mainTexture = this.CirnoFace;
  4274.         this.CirnoWings.SetActive(true);
  4275.         this.CirnoHair.SetActive(true);
  4276.         this.IdleAnim = "f02_cirnoIdle_00";
  4277.         this.WalkAnim = "f02_cirnoWalk_00";
  4278.         this.RunAnim = "f02_cirnoRun_00";
  4279.         this.EasterEggMenu.SetActive(false);
  4280.         this.Stance.Current = StanceType.Standing;
  4281.         this.Uncrouch();
  4282.         this.Egg = true;
  4283.         this.Hairstyle = 0;
  4284.         this.UpdateHair();
  4285.     }
  4286.  
  4287.     private void Falcon()
  4288.     {
  4289.         this.MyRenderer.sharedMesh = this.SchoolSwimsuit;
  4290.         this.PantyAttacher.newRenderer.enabled = false;
  4291.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4292.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4293.         this.MyRenderer.materials[0].mainTexture = this.FalconBody;
  4294.         this.MyRenderer.materials[1].mainTexture = this.FalconBody;
  4295.         this.MyRenderer.materials[2].mainTexture = this.FalconFace;
  4296.         this.FalconShoulderpad.SetActive(true);
  4297.         this.FalconNipple1.SetActive(true);
  4298.         this.FalconNipple2.SetActive(true);
  4299.         this.FalconBuckle.SetActive(true);
  4300.         this.FalconHelmet.SetActive(true);
  4301.         this.FalconGun.SetActive(true);
  4302.         this.CharacterAnimation[this.RunAnim].speed = 5f;
  4303.         this.IdleAnim = "f02_falconIdle_00";
  4304.         this.RunSpeed *= 5f;
  4305.         this.Egg = true;
  4306.         this.Hairstyle = 0;
  4307.         this.UpdateHair();
  4308.     }
  4309.  
  4310.     private void Punch()
  4311.     {
  4312.         this.MusicCredit.SongLabel.text = "Now Playing: Unknown Hero";
  4313.         this.MusicCredit.BandLabel.text = "By: The Kira Justice";
  4314.         this.MusicCredit.Panel.enabled = true;
  4315.         this.MusicCredit.Slide = true;
  4316.         this.MyRenderer.sharedMesh = this.SchoolSwimsuit;
  4317.         this.PantyAttacher.newRenderer.enabled = false;
  4318.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4319.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4320.         this.MyRenderer.materials[0].mainTexture = this.SaitamaSuit;
  4321.         this.MyRenderer.materials[1].mainTexture = this.SaitamaSuit;
  4322.         this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4323.         this.EasterEggMenu.SetActive(false);
  4324.         this.Barcode.SetActive(false);
  4325.         this.Cape.SetActive(true);
  4326.         this.Egg = true;
  4327.         this.Hairstyle = 0;
  4328.         this.UpdateHair();
  4329.     }
  4330.  
  4331.     private void BadTime()
  4332.     {
  4333.         this.MyRenderer.sharedMesh = this.Jersey;
  4334.         this.PantyAttacher.newRenderer.enabled = false;
  4335.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4336.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4337.         this.MyRenderer.materials[0].mainTexture = this.SansFace;
  4338.         this.MyRenderer.materials[1].mainTexture = this.SansTexture;
  4339.         this.MyRenderer.materials[2].mainTexture = this.SansTexture;
  4340.         this.EasterEggMenu.SetActive(false);
  4341.         this.IdleAnim = "f02_sansIdle_00";
  4342.         this.WalkAnim = "f02_sansWalk_00";
  4343.         this.RunAnim = "f02_sansRun_00";
  4344.         this.StudentManager.BadTime();
  4345.         this.Barcode.SetActive(false);
  4346.         this.Sans = true;
  4347.         this.Egg = true;
  4348.         this.Hairstyle = 0;
  4349.         this.UpdateHair();
  4350.     }
  4351.  
  4352.     private void CyborgNinja()
  4353.     {
  4354.         this.PantyAttacher.newRenderer.enabled = false;
  4355.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4356.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4357.         this.EnergySword.SetActive(true);
  4358.         this.IdleAnim = "CyborgNinja_Idle_Unarmed";
  4359.         this.RunAnim = "CyborgNinja_Run_Unarmed";
  4360.         this.MyRenderer.sharedMesh = this.NudeMesh;
  4361.         this.MyRenderer.materials[0].mainTexture = this.CyborgFace;
  4362.         this.MyRenderer.materials[1].mainTexture = this.CyborgBody;
  4363.         this.MyRenderer.materials[2].mainTexture = this.CyborgBody;
  4364.         this.Schoolwear = 0;
  4365.         this.ID = 1;
  4366.         while (this.ID < this.CyborgParts.Length)
  4367.         {
  4368.             this.CyborgParts[this.ID].SetActive(true);
  4369.             this.ID++;
  4370.         }
  4371.         this.ID = 1;
  4372.         while (this.ID < this.StudentManager.Students.Length)
  4373.         {
  4374.             StudentScript studentScript = this.StudentManager.Students[this.ID];
  4375.             if (studentScript != null)
  4376.             {
  4377.                 studentScript.Teacher = false;
  4378.             }
  4379.             this.ID++;
  4380.         }
  4381.         this.RunSpeed *= 2f;
  4382.         this.EyewearID = 6;
  4383.         this.Hairstyle = 45;
  4384.         this.UpdateHair();
  4385.         this.Egg = true;
  4386.         this.DebugMenu.transform.parent.GetComponent<DebugMenuScript>().UpdateCensor();
  4387.     }
  4388.  
  4389.     private void Ebola()
  4390.     {
  4391.         this.PantyAttacher.newRenderer.enabled = false;
  4392.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4393.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4394.         this.IdleAnim = "f02_ebolaIdle_00";
  4395.         this.MyRenderer.sharedMesh = this.Uniforms[1];
  4396.         this.MyRenderer.materials[0].mainTexture = this.EbolaUniform;
  4397.         this.MyRenderer.materials[1].mainTexture = this.EbolaUniform;
  4398.         this.MyRenderer.materials[2].mainTexture = this.EbolaFace;
  4399.         this.Hairstyle = 0;
  4400.         this.UpdateHair();
  4401.         this.EbolaWings.SetActive(true);
  4402.         this.EbolaHair.SetActive(true);
  4403.         this.Egg = true;
  4404.     }
  4405.  
  4406.     private void Long()
  4407.     {
  4408.         this.MyRenderer.sharedMesh = this.LongUniform;
  4409.     }
  4410.  
  4411.     private void SwapMesh()
  4412.     {
  4413.         this.MyRenderer.sharedMesh = this.NewMesh;
  4414.         this.MyRenderer.materials[0].mainTexture = this.TextureToUse;
  4415.         this.MyRenderer.materials[1].mainTexture = this.NewFace;
  4416.         this.MyRenderer.materials[2].mainTexture = this.TextureToUse;
  4417.         this.RightYandereEye.gameObject.SetActive(false);
  4418.         this.LeftYandereEye.gameObject.SetActive(false);
  4419.     }
  4420.  
  4421.     private void Nude()
  4422.     {
  4423.         Debug.Log("Making Yandere-chan nude.");
  4424.         this.MyRenderer.sharedMesh = this.NudeMesh;
  4425.         this.MyRenderer.materials[0].mainTexture = this.FaceTexture;
  4426.         this.MyRenderer.materials[1].mainTexture = this.NudeTexture;
  4427.         this.ID = 0;
  4428.         while (this.ID < this.CensorSteam.Length)
  4429.         {
  4430.             this.CensorSteam[this.ID].SetActive(true);
  4431.             this.ID++;
  4432.         }
  4433.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4434.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4435.         this.MyRenderer.materials[0].SetFloat("_BlendAmount1", 0f);
  4436.         this.MyRenderer.materials[1].SetFloat("_BlendAmount1", 0f);
  4437.         this.EasterEggMenu.SetActive(false);
  4438.         this.ClubAttire = false;
  4439.         this.Schoolwear = 0;
  4440.         this.ClubAccessory();
  4441.     }
  4442.  
  4443.     private void Samus()
  4444.     {
  4445.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4446.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4447.         this.MyRenderer.sharedMesh = this.NudeMesh;
  4448.         this.MyRenderer.materials[0].mainTexture = this.SamusFace;
  4449.         this.MyRenderer.materials[1].mainTexture = this.SamusBody;
  4450.         this.PantyAttacher.newRenderer.enabled = false;
  4451.         this.Schoolwear = 0;
  4452.         this.PonytailRenderer.material.mainTexture = this.SamusFace;
  4453.         this.Egg = true;
  4454.         this.DebugMenu.transform.parent.GetComponent<DebugMenuScript>().UpdateCensor();
  4455.     }
  4456.  
  4457.     private void Witch()
  4458.     {
  4459.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4460.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4461.         this.MyRenderer.sharedMesh = this.NudeMesh;
  4462.         this.MyRenderer.materials[0].mainTexture = this.WitchFace;
  4463.         this.MyRenderer.materials[1].mainTexture = this.WitchBody;
  4464.         this.PantyAttacher.newRenderer.enabled = false;
  4465.         this.Schoolwear = 0;
  4466.         this.PonytailRenderer.material.mainTexture = this.WitchFace;
  4467.         this.Egg = true;
  4468.         this.DebugMenu.transform.parent.GetComponent<DebugMenuScript>().UpdateCensor();
  4469.     }
  4470.  
  4471.     private void Pose()
  4472.     {
  4473.         if (!this.StudentManager.Pose)
  4474.         {
  4475.             this.StudentManager.Pose = true;
  4476.         }
  4477.         else
  4478.         {
  4479.             this.StudentManager.Pose = false;
  4480.         }
  4481.         this.StudentManager.UpdateStudents();
  4482.     }
  4483.  
  4484.     private void HairBlades()
  4485.     {
  4486.         this.Hairstyle = 0;
  4487.         this.UpdateHair();
  4488.         this.BladeHair.SetActive(true);
  4489.         this.Egg = true;
  4490.     }
  4491.  
  4492.     private void Tornado()
  4493.     {
  4494.         this.Hairstyle = 0;
  4495.         this.UpdateHair();
  4496.         this.IdleAnim = "f02_tornadoIdle_00";
  4497.         this.WalkAnim = "f02_tornadoWalk_00";
  4498.         this.RunAnim = "f02_tornadoRun_00";
  4499.         this.TornadoHair.SetActive(true);
  4500.         this.TornadoDress.SetActive(true);
  4501.         this.RiggedAccessory.SetActive(true);
  4502.         this.MyRenderer.sharedMesh = this.NoTorsoMesh;
  4503.         this.PantyAttacher.newRenderer.enabled = false;
  4504.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4505.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4506.         this.Sanity = 100f;
  4507.         this.MyRenderer.materials[0].mainTexture = this.FaceTexture;
  4508.         this.MyRenderer.materials[1].mainTexture = this.NudePanties;
  4509.         this.MyRenderer.materials[2].mainTexture = this.NudePanties;
  4510.         this.TheDebugMenuScript.UpdateCensor();
  4511.         this.Stance.Current = StanceType.Standing;
  4512.         this.Egg = true;
  4513.     }
  4514.  
  4515.     private void GenderSwap()
  4516.     {
  4517.         this.Kun.SetActive(true);
  4518.         this.KunHair.SetActive(true);
  4519.         this.MyRenderer.enabled = false;
  4520.         this.PantyAttacher.newRenderer.enabled = false;
  4521.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4522.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4523.         this.IdleAnim = "idleShort_00";
  4524.         this.WalkAnim = "walk_00";
  4525.         this.RunAnim = "newSprint_00";
  4526.         this.OriginalIdleAnim = this.IdleAnim;
  4527.         this.OriginalWalkAnim = this.WalkAnim;
  4528.         this.OriginalRunAnim = this.RunAnim;
  4529.         this.Hairstyle = 0;
  4530.         this.UpdateHair();
  4531.     }
  4532.  
  4533.     private void KizunaAI()
  4534.     {
  4535.         AudioSource.PlayClipAtPoint(this.HaiDomo, base.transform.position);
  4536.         this.RightYandereEye.enabled = false;
  4537.         this.LeftYandereEye.enabled = false;
  4538.         this.Kizuna.SetActive(true);
  4539.         this.MyRenderer.enabled = false;
  4540.         this.IdleAnim = "f02_idleGirly_00";
  4541.         this.OriginalIdleAnim = this.IdleAnim;
  4542.         this.OriginalWalkAnim = this.WalkAnim;
  4543.         this.OriginalRunAnim = this.RunAnim;
  4544.         this.Hairstyle = 0;
  4545.         this.UpdateHair();
  4546.     }
  4547.  
  4548.     private void Sith()
  4549.     {
  4550.         this.Hairstyle = 67;
  4551.         this.UpdateHair();
  4552.         this.SithTrail1.SetActive(true);
  4553.         this.SithTrail2.SetActive(true);
  4554.         this.IdleAnim = "f02_sithIdle_00";
  4555.         this.WalkAnim = "f02_sithWalk_00";
  4556.         this.RunAnim = "f02_sithRun_00";
  4557.         this.BlackRobe.SetActive(true);
  4558.         this.MyRenderer.sharedMesh = this.NoUpperBodyMesh;
  4559.         this.MyRenderer.materials[0].mainTexture = this.NudePanties;
  4560.         this.MyRenderer.materials[1].mainTexture = this.FaceTexture;
  4561.         this.MyRenderer.materials[2].mainTexture = this.NudePanties;
  4562.         this.Stance.Current = StanceType.Standing;
  4563.         this.FollowHips = true;
  4564.         this.SithLord = true;
  4565.         this.Egg = true;
  4566.         this.TheDebugMenuScript.UpdateCensor();
  4567.         this.PantyAttacher.newRenderer.enabled = false;
  4568.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4569.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4570.         this.RunSpeed *= 2f;
  4571.         this.Zoom.TargetZoom = 0.4f;
  4572.     }
  4573.  
  4574.     private void Snake()
  4575.     {
  4576.         this.PantyAttacher.newRenderer.enabled = false;
  4577.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4578.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4579.         this.MyRenderer.sharedMesh = this.Uniforms[1];
  4580.         this.MyRenderer.materials[0].mainTexture = this.SnakeBody;
  4581.         this.MyRenderer.materials[1].mainTexture = this.SnakeBody;
  4582.         this.MyRenderer.materials[2].mainTexture = this.SnakeFace;
  4583.         this.Hairstyle = 161;
  4584.         this.UpdateHair();
  4585.         this.Medusa = true;
  4586.         this.Egg = true;
  4587.     }
  4588.  
  4589.     private void Gazer()
  4590.     {
  4591.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4592.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4593.         this.GazerEyes.gameObject.SetActive(true);
  4594.         this.MyRenderer.sharedMesh = this.NudeMesh;
  4595.         this.MyRenderer.materials[0].mainTexture = this.GazerFace;
  4596.         this.MyRenderer.materials[1].mainTexture = this.GazerBody;
  4597.         this.MyRenderer.materials[2].mainTexture = this.GazerBody;
  4598.         this.PantyAttacher.newRenderer.enabled = false;
  4599.         this.Schoolwear = 0;
  4600.         this.IdleAnim = "f02_gazerIdle_00";
  4601.         this.WalkAnim = "f02_gazerWalk_00";
  4602.         this.RunAnim = "f02_gazerRun_00";
  4603.         this.OriginalIdleAnim = this.IdleAnim;
  4604.         this.OriginalWalkAnim = this.WalkAnim;
  4605.         this.OriginalRunAnim = this.RunAnim;
  4606.         this.Hairstyle = 158;
  4607.         this.UpdateHair();
  4608.         this.StudentManager.Gaze = true;
  4609.         this.StudentManager.UpdateStudents();
  4610.         this.Gazing = true;
  4611.         this.Egg = true;
  4612.         this.DebugMenu.transform.parent.GetComponent<DebugMenuScript>().UpdateCensor();
  4613.     }
  4614.  
  4615.     private void Six()
  4616.     {
  4617.         RenderSettings.skybox = this.HatefulSkybox;
  4618.         this.Hairstyle = 0;
  4619.         this.UpdateHair();
  4620.         this.IdleAnim = "f02_sixIdle_00";
  4621.         this.WalkAnim = "f02_sixWalk_00";
  4622.         this.RunAnim = "f02_sixRun_00";
  4623.         this.OriginalIdleAnim = this.IdleAnim;
  4624.         this.OriginalWalkAnim = this.WalkAnim;
  4625.         this.OriginalRunAnim = this.RunAnim;
  4626.         this.SixRaincoat.SetActive(true);
  4627.         this.MyRenderer.sharedMesh = this.SixBodyMesh;
  4628.         this.PantyAttacher.newRenderer.enabled = false;
  4629.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4630.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4631.         this.MyRenderer.materials[0].mainTexture = this.SixFaceTexture;
  4632.         this.MyRenderer.materials[1].mainTexture = this.NudeTexture;
  4633.         this.MyRenderer.materials[2].mainTexture = this.NudeTexture;
  4634.         this.TheDebugMenuScript.UpdateCensor();
  4635.         SchoolGlobals.SchoolAtmosphere = 0f;
  4636.         this.StudentManager.SetAtmosphere();
  4637.         this.StudentManager.Six = true;
  4638.         this.StudentManager.UpdateStudents();
  4639.         this.WalkSpeed = 0.75f;
  4640.         this.RunSpeed = 2f;
  4641.         this.Hungry = true;
  4642.         this.Egg = true;
  4643.     }
  4644.  
  4645.     private void KLK()
  4646.     {
  4647.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4648.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4649.         this.KLKSword.SetActive(true);
  4650.         this.IdleAnim = "f02_heroicIdle_00";
  4651.         this.WalkAnim = "f02_walkConfident_00";
  4652.         this.MyRenderer.sharedMesh = this.NudeMesh;
  4653.         this.MyRenderer.materials[0].mainTexture = this.KLKFace;
  4654.         this.MyRenderer.materials[1].mainTexture = this.KLKBody;
  4655.         this.MyRenderer.materials[2].mainTexture = this.KLKBody;
  4656.         this.PantyAttacher.newRenderer.enabled = false;
  4657.         this.Schoolwear = 0;
  4658.         this.ID = 0;
  4659.         while (this.ID < this.KLKParts.Length)
  4660.         {
  4661.             this.KLKParts[this.ID].SetActive(true);
  4662.             this.ID++;
  4663.         }
  4664.         this.ID = 1;
  4665.         while (this.ID < this.StudentManager.Students.Length)
  4666.         {
  4667.             StudentScript studentScript = this.StudentManager.Students[this.ID];
  4668.             if (studentScript != null)
  4669.             {
  4670.                 studentScript.Teacher = false;
  4671.             }
  4672.             this.ID++;
  4673.         }
  4674.         this.Egg = true;
  4675.         this.DebugMenu.transform.parent.GetComponent<DebugMenuScript>().UpdateCensor();
  4676.     }
  4677.  
  4678.     public void ChangeSchoolwear()
  4679.     {
  4680.         this.PantyAttacher.newRenderer.enabled = false;
  4681.         this.RightFootprintSpawner.Bloodiness = 0;
  4682.         this.LeftFootprintSpawner.Bloodiness = 0;
  4683.         if (this.ClubAttire && this.Bloodiness == 0f)
  4684.         {
  4685.             this.Schoolwear = this.PreviousSchoolwear;
  4686.         }
  4687.         this.LabcoatAttacher.RemoveAccessory();
  4688.         this.Paint = false;
  4689.         this.ID = 0;
  4690.         while (this.ID < this.CensorSteam.Length)
  4691.         {
  4692.             this.CensorSteam[this.ID].SetActive(false);
  4693.             this.ID++;
  4694.         }
  4695.         if (this.Casual)
  4696.         {
  4697.             this.TextureToUse = this.UniformTextures[StudentGlobals.FemaleUniform];
  4698.         }
  4699.         else
  4700.         {
  4701.             this.TextureToUse = this.CasualTextures[StudentGlobals.FemaleUniform];
  4702.         }
  4703.         if ((this.ClubAttire && this.Bloodiness > 0f) || this.Schoolwear == 0)
  4704.         {
  4705.             this.Nude();
  4706.         }
  4707.         else if (this.Schoolwear == 1)
  4708.         {
  4709.             this.PantyAttacher.newRenderer.enabled = true;
  4710.             this.MyRenderer.sharedMesh = this.Uniforms[StudentGlobals.FemaleUniform];
  4711.             this.MyRenderer.materials[1].SetFloat("_BlendAmount", 1f);
  4712.             if (this.StudentManager.Censor)
  4713.             {
  4714.                 Debug.Log("Activating shadows on Yandere-chan.");
  4715.                 this.MyRenderer.materials[0].SetFloat("_BlendAmount1", 1f);
  4716.                 this.MyRenderer.materials[1].SetFloat("_BlendAmount1", 1f);
  4717.                 this.PantyAttacher.newRenderer.enabled = false;
  4718.             }
  4719.             this.MyRenderer.materials[0].mainTexture = this.TextureToUse;
  4720.             this.MyRenderer.materials[1].mainTexture = this.TextureToUse;
  4721.             this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4722.             base.StartCoroutine(this.ApplyCustomCostume());
  4723.         }
  4724.         else if (this.Schoolwear == 2)
  4725.         {
  4726.             this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4727.             this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4728.             this.MyRenderer.materials[0].SetFloat("_BlendAmount1", 0f);
  4729.             this.MyRenderer.materials[1].SetFloat("_BlendAmount1", 0f);
  4730.             this.MyRenderer.sharedMesh = this.SchoolSwimsuit;
  4731.             this.MyRenderer.materials[0].mainTexture = this.SwimsuitTexture;
  4732.             this.MyRenderer.materials[1].mainTexture = this.SwimsuitTexture;
  4733.             this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4734.         }
  4735.         else if (this.Schoolwear == 3)
  4736.         {
  4737.             this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4738.             this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4739.             this.MyRenderer.materials[0].SetFloat("_BlendAmount1", 0f);
  4740.             this.MyRenderer.materials[1].SetFloat("_BlendAmount1", 0f);
  4741.             this.MyRenderer.sharedMesh = this.GymUniform;
  4742.             this.MyRenderer.materials[0].mainTexture = this.GymTexture;
  4743.             this.MyRenderer.materials[1].mainTexture = this.GymTexture;
  4744.             this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4745.         }
  4746.         this.CanMove = false;
  4747.         this.Outline.h.ReinitMaterials();
  4748.         this.ClubAccessory();
  4749.     }
  4750.  
  4751.     public void ChangeClubwear()
  4752.     {
  4753.         this.PantyAttacher.newRenderer.enabled = false;
  4754.         this.MyRenderer.materials[0].SetFloat("_BlendAmount", 0f);
  4755.         this.MyRenderer.materials[1].SetFloat("_BlendAmount", 0f);
  4756.         this.MyRenderer.materials[0].SetFloat("_BlendAmount1", 0f);
  4757.         this.MyRenderer.materials[1].SetFloat("_BlendAmount1", 0f);
  4758.         this.Paint = false;
  4759.         if (!this.ClubAttire)
  4760.         {
  4761.             this.ClubAttire = true;
  4762.             if (ClubGlobals.Club == ClubType.Art)
  4763.             {
  4764.                 this.MyRenderer.sharedMesh = this.ApronMesh;
  4765.                 this.MyRenderer.materials[0].mainTexture = this.ApronTexture;
  4766.                 this.MyRenderer.materials[1].mainTexture = this.ApronTexture;
  4767.                 this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4768.                 this.Schoolwear = 4;
  4769.                 this.Paint = true;
  4770.             }
  4771.             else if (ClubGlobals.Club == ClubType.MartialArts)
  4772.             {
  4773.                 this.MyRenderer.sharedMesh = this.JudoGiMesh;
  4774.                 this.MyRenderer.materials[0].mainTexture = this.JudoGiTexture;
  4775.                 this.MyRenderer.materials[1].mainTexture = this.JudoGiTexture;
  4776.                 this.MyRenderer.materials[2].mainTexture = this.FaceTexture;
  4777.                 this.Schoolwear = 5;
  4778.             }
  4779.             else if (ClubGlobals.Club == ClubType.Science)
  4780.             {
  4781.                 this.LabcoatAttacher.enabled = true;
  4782.                 this.MyRenderer.sharedMesh = this.HeadAndHands;
  4783.                 if (this.LabcoatAttacher.Initialized)
  4784.                 {
  4785.                     this.LabcoatAttacher.AttachAccessory();
  4786.                 }
  4787.                 this.MyRenderer.materials[0].mainTexture = this.FaceTexture;
  4788.                 this.MyRenderer.materials[1].mainTexture = this.NudeTexture;
  4789.                 this.MyRenderer.materials[2].mainTexture = this.NudeTexture;
  4790.                 this.Schoolwear = 6;
  4791.             }
  4792.         }
  4793.         else
  4794.         {
  4795.             this.ChangeSchoolwear();
  4796.             this.ClubAttire = false;
  4797.         }
  4798.         this.MyLocker.UpdateButtons();
  4799.     }
  4800.  
  4801.     public void ClubAccessory()
  4802.     {
  4803.         this.ID = 0;
  4804.         while (this.ID < this.ClubAccessories.Length)
  4805.         {
  4806.             GameObject gameObject = this.ClubAccessories[this.ID];
  4807.             if (gameObject != null)
  4808.             {
  4809.                 gameObject.SetActive(false);
  4810.             }
  4811.             this.ID++;
  4812.         }
  4813.         if (!this.CensorSteam[0].activeInHierarchy && ClubGlobals.Club > ClubType.None && this.ClubAccessories[(int)ClubGlobals.Club] != null)
  4814.         {
  4815.             this.ClubAccessories[(int)ClubGlobals.Club].SetActive(true);
  4816.         }
  4817.     }
  4818.  
  4819.     public void StopCarrying()
  4820.     {
  4821.         if (this.Ragdoll != null)
  4822.         {
  4823.             this.Ragdoll.GetComponent<RagdollScript>().Fall();
  4824.         }
  4825.         this.HeavyWeight = false;
  4826.         this.Carrying = false;
  4827.         this.IdleAnim = this.OriginalIdleAnim;
  4828.         this.WalkAnim = this.OriginalWalkAnim;
  4829.         this.RunAnim = this.OriginalRunAnim;
  4830.     }
  4831.  
  4832.     private void Crouch()
  4833.     {
  4834.         this.MyController.center = new Vector3(this.MyController.center.x, 0.55f, this.MyController.center.z);
  4835.         this.MyController.height = 0.9f;
  4836.     }
  4837.  
  4838.     private void Crawl()
  4839.     {
  4840.         this.MyController.center = new Vector3(this.MyController.center.x, 0.25f, this.MyController.center.z);
  4841.         this.MyController.height = 0.1f;
  4842.     }
  4843.  
  4844.     private void Uncrouch()
  4845.     {
  4846.         this.MyController.center = new Vector3(this.MyController.center.x, 0.875f, this.MyController.center.z);
  4847.         this.MyController.height = 1.55f;
  4848.     }
  4849.  
  4850.     private void StopArmedAnim()
  4851.     {
  4852.         this.ID = 0;
  4853.         while (this.ID < this.ArmedAnims.Length)
  4854.         {
  4855.             string name = this.ArmedAnims[this.ID];
  4856.             this.CharacterAnimation[name].weight = Mathf.Lerp(this.CharacterAnimation[name].weight, 0f, Time.deltaTime * 10f);
  4857.             this.ID++;
  4858.         }
  4859.     }
  4860.  
  4861.     private void UpdateAccessory()
  4862.     {
  4863.         if (this.AccessoryGroup != null)
  4864.         {
  4865.             this.AccessoryGroup.SetPartsActive(false);
  4866.         }
  4867.         if (this.AccessoryID > this.Accessories.Length - 1)
  4868.         {
  4869.             this.AccessoryID = 0;
  4870.         }
  4871.         if (this.AccessoryID < 0)
  4872.         {
  4873.             this.AccessoryID = this.Accessories.Length - 1;
  4874.         }
  4875.         if (this.AccessoryID > 0)
  4876.         {
  4877.             this.Accessories[this.AccessoryID].SetActive(true);
  4878.             this.AccessoryGroup = this.Accessories[this.AccessoryID].GetComponent<AccessoryGroupScript>();
  4879.             if (this.AccessoryGroup != null)
  4880.             {
  4881.                 this.AccessoryGroup.SetPartsActive(true);
  4882.             }
  4883.         }
  4884.     }
  4885.  
  4886.     private void DisableHairAndAccessories()
  4887.     {
  4888.         this.ID = 1;
  4889.         while (this.ID < this.Accessories.Length)
  4890.         {
  4891.             this.Accessories[this.ID].SetActive(false);
  4892.             this.ID++;
  4893.         }
  4894.         this.ID = 1;
  4895.         while (this.ID < this.Hairstyles.Length)
  4896.         {
  4897.             this.Hairstyles[this.ID].SetActive(false);
  4898.             this.ID++;
  4899.         }
  4900.     }
  4901.  
  4902.     public void BullyPhotoCheck()
  4903.     {
  4904.         Debug.Log("We are now going to perform a bully photo check.");
  4905.         for (int i = 1; i < 26; i++)
  4906.         {
  4907.             if (PlayerGlobals.GetBullyPhoto(i) > 0)
  4908.             {
  4909.                 Debug.Log("Yandere-chan has a bully photo in her photo gallery!");
  4910.                 this.BullyPhoto = true;
  4911.             }
  4912.         }
  4913.     }
  4914.  
  4915.     public void UpdatePersona(int NewPersona)
  4916.     {
  4917.         switch (NewPersona)
  4918.         {
  4919.         case 0:
  4920.             this.Persona = YanderePersonaType.Default;
  4921.             break;
  4922.         case 1:
  4923.             this.Persona = YanderePersonaType.Chill;
  4924.             break;
  4925.         case 2:
  4926.             this.Persona = YanderePersonaType.Confident;
  4927.             break;
  4928.         case 3:
  4929.             this.Persona = YanderePersonaType.Elegant;
  4930.             break;
  4931.         case 4:
  4932.             this.Persona = YanderePersonaType.Girly;
  4933.             break;
  4934.         case 5:
  4935.             this.Persona = YanderePersonaType.Graceful;
  4936.             break;
  4937.         case 6:
  4938.             this.Persona = YanderePersonaType.Haughty;
  4939.             break;
  4940.         case 7:
  4941.             this.Persona = YanderePersonaType.Lively;
  4942.             break;
  4943.         case 8:
  4944.             this.Persona = YanderePersonaType.Scholarly;
  4945.             break;
  4946.         case 9:
  4947.             this.Persona = YanderePersonaType.Shy;
  4948.             break;
  4949.         case 10:
  4950.             this.Persona = YanderePersonaType.Tough;
  4951.             break;
  4952.         case 11:
  4953.             this.Persona = YanderePersonaType.Aggressive;
  4954.             break;
  4955.         case 12:
  4956.             this.Persona = YanderePersonaType.Grunt;
  4957.             break;
  4958.         }
  4959.     }
  4960.  
  4961.     private void SithSoundCheck()
  4962.     {
  4963.         if (this.SithBeam[1].Damage == 10f)
  4964.         {
  4965.             if (this.SithSounds == 0 && this.CharacterAnimation[string.Concat(new object[]
  4966.             {
  4967.                 "f02_sithAttack",
  4968.                 this.SithPrefix,
  4969.                 "_0",
  4970.                 this.SithCombo
  4971.             })].time >= this.SithSpawnTime[this.SithCombo] - 0.1f)
  4972.             {
  4973.                 this.SithAudio.pitch = UnityEngine.Random.Range(0.9f, 1.1f);
  4974.                 this.SithAudio.Play();
  4975.                 this.SithSounds++;
  4976.             }
  4977.         }
  4978.         else if (this.SithSounds == 0)
  4979.         {
  4980.             if (this.CharacterAnimation[string.Concat(new object[]
  4981.             {
  4982.                 "f02_sithAttack",
  4983.                 this.SithPrefix,
  4984.                 "_0",
  4985.                 this.SithCombo
  4986.             })].time >= this.SithHardSpawnTime1[this.SithCombo] - 0.1f)
  4987.             {
  4988.                 this.SithAudio.pitch = UnityEngine.Random.Range(0.9f, 1.1f);
  4989.                 this.SithAudio.Play();
  4990.                 this.SithSounds++;
  4991.             }
  4992.         }
  4993.         else if (this.SithSounds == 1)
  4994.         {
  4995.             if (this.CharacterAnimation[string.Concat(new object[]
  4996.             {
  4997.                 "f02_sithAttack",
  4998.                 this.SithPrefix,
  4999.                 "_0",
  5000.                 this.SithCombo
  5001.             })].time >= this.SithHardSpawnTime2[this.SithCombo] - 0.1f)
  5002.             {
  5003.                 this.SithAudio.pitch = UnityEngine.Random.Range(0.9f, 1.1f);
  5004.                 this.SithAudio.Play();
  5005.                 this.SithSounds++;
  5006.             }
  5007.         }
  5008.         else if (this.SithSounds == 2 && this.SithCombo == 1 && this.CharacterAnimation[string.Concat(new object[]
  5009.         {
  5010.             "f02_sithAttack",
  5011.             this.SithPrefix,
  5012.             "_0",
  5013.             this.SithCombo
  5014.         })].time >= 0.8333333f)
  5015.         {
  5016.             this.SithAudio.pitch = UnityEngine.Random.Range(0.9f, 1.1f);
  5017.             this.SithAudio.Play();
  5018.             this.SithSounds++;
  5019.         }
  5020.     }
  5021.  
  5022.     public Quaternion targetRotation;
  5023.  
  5024.     private Vector3 targetDirection;
  5025.  
  5026.     private GameObject NewTrail;
  5027.  
  5028.     private int AccessoryID;
  5029.  
  5030.     private int ID;
  5031.  
  5032.     public FootprintSpawnerScript RightFootprintSpawner;
  5033.  
  5034.     public FootprintSpawnerScript LeftFootprintSpawner;
  5035.  
  5036.     public ColorCorrectionCurves YandereColorCorrection;
  5037.  
  5038.     public ColorCorrectionCurves ColorCorrection;
  5039.  
  5040.     public SelectiveGrayscale SelectGrayscale;
  5041.  
  5042.     public HighlightingRenderer HighlightingR;
  5043.  
  5044.     public HighlightingBlitter HighlightingB;
  5045.  
  5046.     public AmbientObscurance Obscurance;
  5047.  
  5048.     public DepthOfField34 DepthOfField;
  5049.  
  5050.     public Vignetting Vignette;
  5051.  
  5052.     public Blur Blur;
  5053.  
  5054.     public NotificationManagerScript NotificationManager;
  5055.  
  5056.     public ObstacleDetectorScript ObstacleDetector;
  5057.  
  5058.     public RiggedAccessoryAttacher PantyAttacher;
  5059.  
  5060.     public AccessoryGroupScript AccessoryGroup;
  5061.  
  5062.     public DumpsterHandleScript DumpsterHandle;
  5063.  
  5064.     public PhonePromptBarScript PhonePromptBar;
  5065.  
  5066.     public ShoulderCameraScript ShoulderCamera;
  5067.  
  5068.     public StudentManagerScript StudentManager;
  5069.  
  5070.     public AttackManagerScript AttackManager;
  5071.  
  5072.     public CameraEffectsScript CameraEffects;
  5073.  
  5074.     public WeaponManagerScript WeaponManager;
  5075.  
  5076.     public SplashCameraScript SplashCamera;
  5077.  
  5078.     public SWP_HeartRateMonitor HeartRate;
  5079.  
  5080.     public LoveManagerScript LoveManager;
  5081.  
  5082.     public StruggleBarScript StruggleBar;
  5083.  
  5084.     public RummageSpotScript RummageSpot;
  5085.  
  5086.     public IncineratorScript Incinerator;
  5087.  
  5088.     public InputDeviceScript InputDevice;
  5089.  
  5090.     public MusicCreditScript MusicCredit;
  5091.  
  5092.     public PauseScreenScript PauseScreen;
  5093.  
  5094.     public WoodChipperScript WoodChipper;
  5095.  
  5096.     public RagdollScript CurrentRagdoll;
  5097.  
  5098.     public StudentScript TargetStudent;
  5099.  
  5100.     public WeaponMenuScript WeaponMenu;
  5101.  
  5102.     public PromptScript NearestPrompt;
  5103.  
  5104.     public ContainerScript Container;
  5105.  
  5106.     public InventoryScript Inventory;
  5107.  
  5108.     public TallLockerScript MyLocker;
  5109.  
  5110.     public PromptBarScript PromptBar;
  5111.  
  5112.     public TranqCaseScript TranqCase;
  5113.  
  5114.     public LocationScript Location;
  5115.  
  5116.     public SubtitleScript Subtitle;
  5117.  
  5118.     public UIPanel DetectionPanel;
  5119.  
  5120.     public StudentScript Follower;
  5121.  
  5122.     public JukeboxScript Jukebox;
  5123.  
  5124.     public OutlineScript Outline;
  5125.  
  5126.     public StudentScript Pursuer;
  5127.  
  5128.     public ShutterScript Shutter;
  5129.  
  5130.     public UISprite ProgressBar;
  5131.  
  5132.     public RPG_Camera RPGCamera;
  5133.  
  5134.     public BucketScript Bucket;
  5135.  
  5136.     public PickUpScript PickUp;
  5137.  
  5138.     public PoliceScript Police;
  5139.  
  5140.     public GloveScript Gloves;
  5141.  
  5142.     public UILabel PowerUp;
  5143.  
  5144.     public MaskScript Mask;
  5145.  
  5146.     public MopScript Mop;
  5147.  
  5148.     public UIPanel HUD;
  5149.  
  5150.     public CharacterController MyController;
  5151.  
  5152.     public Transform LeftItemParent;
  5153.  
  5154.     public Transform DismemberSpot;
  5155.  
  5156.     public Transform CameraTarget;
  5157.  
  5158.     public Transform RightArmRoll;
  5159.  
  5160.     public Transform LeftArmRoll;
  5161.  
  5162.     public Transform CameraFocus;
  5163.  
  5164.     public Transform RightBreast;
  5165.  
  5166.     public Transform HidingSpot;
  5167.  
  5168.     public Transform LeftBreast;
  5169.  
  5170.     public Transform ItemParent;
  5171.  
  5172.     public Transform PelvisRoot;
  5173.  
  5174.     public Transform PoisonSpot;
  5175.  
  5176.     public Transform CameraPOV;
  5177.  
  5178.     public Transform RightHand;
  5179.  
  5180.     public Transform RightKnee;
  5181.  
  5182.     public Transform RightFoot;
  5183.  
  5184.     public Transform ExitSpot;
  5185.  
  5186.     public Transform LeftHand;
  5187.  
  5188.     public Transform Backpack;
  5189.  
  5190.     public Transform DropSpot;
  5191.  
  5192.     public Transform Homeroom;
  5193.  
  5194.     public Transform DigSpot;
  5195.  
  5196.     public Transform Senpai;
  5197.  
  5198.     public Transform Stool;
  5199.  
  5200.     public Transform Eyes;
  5201.  
  5202.     public Transform Head;
  5203.  
  5204.     public Transform Hips;
  5205.  
  5206.     public AudioSource HeartBeat;
  5207.  
  5208.     public GameObject[] Accessories;
  5209.  
  5210.     public GameObject[] Hairstyles;
  5211.  
  5212.     public GameObject[] Poisons;
  5213.  
  5214.     public GameObject[] Shoes;
  5215.  
  5216.     public float[] DropTimer;
  5217.  
  5218.     public GameObject CinematicCamera;
  5219.  
  5220.     public GameObject FloatingShovel;
  5221.  
  5222.     public GameObject EasterEggMenu;
  5223.  
  5224.     public GameObject MemeGlasses;
  5225.  
  5226.     public GameObject GiggleDisc;
  5227.  
  5228.     public GameObject HandCamera;
  5229.  
  5230.     public GameObject KONGlasses;
  5231.  
  5232.     public GameObject Microphone;
  5233.  
  5234.     public GameObject AlarmDisc;
  5235.  
  5236.     public GameObject Character;
  5237.  
  5238.     public GameObject DebugMenu;
  5239.  
  5240.     public GameObject EyepatchL;
  5241.  
  5242.     public GameObject EyepatchR;
  5243.  
  5244.     public GameObject ShoePair;
  5245.  
  5246.     public GameObject Barcode;
  5247.  
  5248.     public GameObject Headset;
  5249.  
  5250.     public GameObject Ragdoll;
  5251.  
  5252.     public GameObject Hearts;
  5253.  
  5254.     public GameObject Phone;
  5255.  
  5256.     public GameObject Trail;
  5257.  
  5258.     public GameObject Match;
  5259.  
  5260.     public GameObject Arc;
  5261.  
  5262.     public SkinnedMeshRenderer MyRenderer;
  5263.  
  5264.     public Animation CharacterAnimation;
  5265.  
  5266.     public SpringJoint RagdollDragger;
  5267.  
  5268.     public SpringJoint RagdollPK;
  5269.  
  5270.     public Projector MyProjector;
  5271.  
  5272.     public Camera HeartCamera;
  5273.  
  5274.     public Camera MainCamera;
  5275.  
  5276.     public Camera Smartphone;
  5277.  
  5278.     public Renderer SmartphoneRenderer;
  5279.  
  5280.     public Renderer LongHairRenderer;
  5281.  
  5282.     public Renderer PonytailRenderer;
  5283.  
  5284.     public Renderer PigtailR;
  5285.  
  5286.     public Renderer PigtailL;
  5287.  
  5288.     public Renderer Drills;
  5289.  
  5290.     public float CinematicTimer;
  5291.  
  5292.     public float CanMoveTimer;
  5293.  
  5294.     public float RummageTimer;
  5295.  
  5296.     public float YandereTimer;
  5297.  
  5298.     public float AttackTimer;
  5299.  
  5300.     public float CaughtTimer;
  5301.  
  5302.     public float SenpaiTimer;
  5303.  
  5304.     public float CrawlTimer;
  5305.  
  5306.     public float GloveTimer;
  5307.  
  5308.     public float LaughTimer;
  5309.  
  5310.     public float SprayTimer;
  5311.  
  5312.     public float TheftTimer;
  5313.  
  5314.     public float BoneTimer;
  5315.  
  5316.     public float DumpTimer;
  5317.  
  5318.     public float ExitTimer;
  5319.  
  5320.     public float TalkTimer;
  5321.  
  5322.     [SerializeField]
  5323.     private float bloodiness;
  5324.  
  5325.     public float PreviousSanity = 100f;
  5326.  
  5327.     [SerializeField]
  5328.     private float sanity;
  5329.  
  5330.     public float TwitchTimer;
  5331.  
  5332.     public float NextTwitch;
  5333.  
  5334.     public float LaughIntensity;
  5335.  
  5336.     public float TimeSkipHeight;
  5337.  
  5338.     public float PourDistance;
  5339.  
  5340.     public float TargetHeight;
  5341.  
  5342.     public float BreastSize;
  5343.  
  5344.     public float Numbness;
  5345.  
  5346.     public float PourTime;
  5347.  
  5348.     public float RunSpeed;
  5349.  
  5350.     public float Height;
  5351.  
  5352.     public float Slouch;
  5353.  
  5354.     public float Bend;
  5355.  
  5356.     public float CrouchWalkSpeed;
  5357.  
  5358.     public float CrouchRunSpeed;
  5359.  
  5360.     public float ShoveSpeed = 2f;
  5361.  
  5362.     public float CrawlSpeed;
  5363.  
  5364.     public float FlapSpeed;
  5365.  
  5366.     public float WalkSpeed;
  5367.  
  5368.     public float YandereFade;
  5369.  
  5370.     public float YandereTint;
  5371.  
  5372.     public float SenpaiFade;
  5373.  
  5374.     public float SenpaiTint;
  5375.  
  5376.     public float GreyTarget;
  5377.  
  5378.     public int PreviousSchoolwear;
  5379.  
  5380.     public int NearestCorpseID;
  5381.  
  5382.     public int StrugglePhase;
  5383.  
  5384.     public int CarryAnimID;
  5385.  
  5386.     public int AttackPhase;
  5387.  
  5388.     public int Creepiness = 1;
  5389.  
  5390.     public int NearBodies;
  5391.  
  5392.     public int PoisonType;
  5393.  
  5394.     public int Schoolwear;
  5395.  
  5396.     public int SprayPhase;
  5397.  
  5398.     public int DragState;
  5399.  
  5400.     public int EyewearID;
  5401.  
  5402.     public int Followers;
  5403.  
  5404.     public int Hairstyle;
  5405.  
  5406.     public int DigPhase;
  5407.  
  5408.     public int Equipped;
  5409.  
  5410.     public int Chasers;
  5411.  
  5412.     public int Costume;
  5413.  
  5414.     public int Alerts;
  5415.  
  5416.     public int Health = 5;
  5417.  
  5418.     public YandereInteractionType Interaction;
  5419.  
  5420.     public YanderePersonaType Persona;
  5421.  
  5422.     public bool EavesdropWarning;
  5423.  
  5424.     public bool BloodyWarning;
  5425.  
  5426.     public bool CorpseWarning;
  5427.  
  5428.     public bool SanityWarning;
  5429.  
  5430.     public bool WeaponWarning;
  5431.  
  5432.     public bool DelinquentFighting;
  5433.  
  5434.     public bool DumpsterGrabbing;
  5435.  
  5436.     public bool BucketDropping;
  5437.  
  5438.     public bool TranquilHiding;
  5439.  
  5440.     public bool Eavesdropping;
  5441.  
  5442.     public bool Pickpocketing;
  5443.  
  5444.     public bool Dismembering;
  5445.  
  5446.     public bool TimeSkipping;
  5447.  
  5448.     public bool Cauterizing;
  5449.  
  5450.     public bool HeavyWeight;
  5451.  
  5452.     public bool Trespassing;
  5453.  
  5454.     public bool Struggling;
  5455.  
  5456.     public bool Attacking;
  5457.  
  5458.     public bool Degloving;
  5459.  
  5460.     public bool Poisoning;
  5461.  
  5462.     public bool Rummaging;
  5463.  
  5464.     public bool Stripping;
  5465.  
  5466.     public bool Blasting;
  5467.  
  5468.     public bool Carrying;
  5469.  
  5470.     public bool Chipping;
  5471.  
  5472.     public bool Dragging;
  5473.  
  5474.     public bool Dropping;
  5475.  
  5476.     public bool Flicking;
  5477.  
  5478.     public bool Laughing;
  5479.  
  5480.     public bool Punching;
  5481.  
  5482.     public bool Throwing;
  5483.  
  5484.     public bool Tripping;
  5485.  
  5486.     public bool Bathing;
  5487.  
  5488.     public bool Burying;
  5489.  
  5490.     public bool Cooking;
  5491.  
  5492.     public bool Digging;
  5493.  
  5494.     public bool Dipping;
  5495.  
  5496.     public bool Dumping;
  5497.  
  5498.     public bool Exiting;
  5499.  
  5500.     public bool Lifting;
  5501.  
  5502.     public bool Mopping;
  5503.  
  5504.     public bool Pouring;
  5505.  
  5506.     public bool Resting;
  5507.  
  5508.     public bool Talking;
  5509.  
  5510.     public bool Testing;
  5511.  
  5512.     public bool Aiming;
  5513.  
  5514.     public bool Caught;
  5515.  
  5516.     public bool Eating;
  5517.  
  5518.     public bool Hiding;
  5519.  
  5520.     public Stance Stance = new Stance(StanceType.Standing);
  5521.  
  5522.     public bool CrouchButtonDown;
  5523.  
  5524.     public bool UsingController;
  5525.  
  5526.     public bool CameFromCrouch;
  5527.  
  5528.     public bool CannotRecover;
  5529.  
  5530.     public bool PossessPoison;
  5531.  
  5532.     public bool YandereVision;
  5533.  
  5534.     public bool ClubActivity;
  5535.  
  5536.     public bool FlameDemonic;
  5537.  
  5538.     public bool PossessTranq;
  5539.  
  5540.     public bool SanityBased;
  5541.  
  5542.     public bool SummonBones;
  5543.  
  5544.     public bool ClubAttire;
  5545.  
  5546.     public bool FollowHips;
  5547.  
  5548.     public bool NearSenpai;
  5549.  
  5550.     public bool RivalPhone;
  5551.  
  5552.     public bool Possessed;
  5553.  
  5554.     public bool Attacked;
  5555.  
  5556.     public bool CanTranq;
  5557.  
  5558.     public bool Collapse;
  5559.  
  5560.     public bool RoofPush;
  5561.  
  5562.     public bool Demonic;
  5563.  
  5564.     public bool FlapOut;
  5565.  
  5566.     public bool NoDebug;
  5567.  
  5568.     public bool Noticed;
  5569.  
  5570.     public bool InClass;
  5571.  
  5572.     public bool Slender;
  5573.  
  5574.     public bool Sprayed;
  5575.  
  5576.     public bool CanMove = true;
  5577.  
  5578.     public bool Chased;
  5579.  
  5580.     public bool Gloved;
  5581.  
  5582.     public bool Shoved;
  5583.  
  5584.     public bool Drown;
  5585.  
  5586.     public bool Xtan;
  5587.  
  5588.     public bool Lewd;
  5589.  
  5590.     public bool Lost;
  5591.  
  5592.     public bool Sans;
  5593.  
  5594.     public bool Egg;
  5595.  
  5596.     public bool Won;
  5597.  
  5598.     public bool DK;
  5599.  
  5600.     public bool PK;
  5601.  
  5602.     public Texture[] UniformTextures;
  5603.  
  5604.     public Texture[] CasualTextures;
  5605.  
  5606.     public Texture[] BloodTextures;
  5607.  
  5608.     public WeaponScript[] Weapon;
  5609.  
  5610.     public GameObject[] ZipTie;
  5611.  
  5612.     public string[] ArmedAnims;
  5613.  
  5614.     public string[] CarryAnims;
  5615.  
  5616.     public Transform[] Spine;
  5617.  
  5618.     public AudioClip[] Stabs;
  5619.  
  5620.     public Transform[] Foot;
  5621.  
  5622.     public Transform[] Hand;
  5623.  
  5624.     public Transform[] Arm;
  5625.  
  5626.     public Transform[] Leg;
  5627.  
  5628.     public Mesh[] Uniforms;
  5629.  
  5630.     public Renderer RightYandereEye;
  5631.  
  5632.     public Renderer LeftYandereEye;
  5633.  
  5634.     public Vector3 RightEyeOrigin;
  5635.  
  5636.     public Vector3 LeftEyeOrigin;
  5637.  
  5638.     public Renderer RightRedEye;
  5639.  
  5640.     public Renderer LeftRedEye;
  5641.  
  5642.     public Transform RightEye;
  5643.  
  5644.     public Transform LeftEye;
  5645.  
  5646.     public float EyeShrink;
  5647.  
  5648.     public Vector3 Twitch;
  5649.  
  5650.     private AudioClip LaughClip;
  5651.  
  5652.     public string PourHeight = string.Empty;
  5653.  
  5654.     public string DrownAnim = string.Empty;
  5655.  
  5656.     public string LaughAnim = string.Empty;
  5657.  
  5658.     public string HideAnim = string.Empty;
  5659.  
  5660.     public string IdleAnim = string.Empty;
  5661.  
  5662.     public string WalkAnim = string.Empty;
  5663.  
  5664.     public string RunAnim = string.Empty;
  5665.  
  5666.     public string CrouchIdleAnim = string.Empty;
  5667.  
  5668.     public string CrouchWalkAnim = string.Empty;
  5669.  
  5670.     public string CrouchRunAnim = string.Empty;
  5671.  
  5672.     public string CrawlIdleAnim = string.Empty;
  5673.  
  5674.     public string CrawlWalkAnim = string.Empty;
  5675.  
  5676.     public string HeavyIdleAnim = string.Empty;
  5677.  
  5678.     public string HeavyWalkAnim = string.Empty;
  5679.  
  5680.     public string CarryIdleAnim = string.Empty;
  5681.  
  5682.     public string CarryWalkAnim = string.Empty;
  5683.  
  5684.     public string CarryRunAnim = string.Empty;
  5685.  
  5686.     public string[] CreepyIdles;
  5687.  
  5688.     public string[] CreepyWalks;
  5689.  
  5690.     public AudioClip ChargeUp;
  5691.  
  5692.     public AudioClip Laugh1;
  5693.  
  5694.     public AudioClip Laugh2;
  5695.  
  5696.     public AudioClip Laugh3;
  5697.  
  5698.     public AudioClip Laugh4;
  5699.  
  5700.     public AudioClip Thud;
  5701.  
  5702.     public AudioClip Dig;
  5703.  
  5704.     public Vector3 PreviousPosition;
  5705.  
  5706.     public string OriginalIdleAnim = string.Empty;
  5707.  
  5708.     public string OriginalWalkAnim = string.Empty;
  5709.  
  5710.     public string OriginalRunAnim = string.Empty;
  5711.  
  5712.     public Texture YanderePhoneTexture;
  5713.  
  5714.     public Texture RivalPhoneTexture;
  5715.  
  5716.     public float v;
  5717.  
  5718.     public float h;
  5719.  
  5720.     public GameObject CreepyArms;
  5721.  
  5722.     public Texture[] GloveTextures;
  5723.  
  5724.     public Texture TitanTexture;
  5725.  
  5726.     public Texture KONTexture;
  5727.  
  5728.     public GameObject PunishedAccessories;
  5729.  
  5730.     public GameObject PunishedScarf;
  5731.  
  5732.     public GameObject[] PunishedArm;
  5733.  
  5734.     public Texture[] PunishedTextures;
  5735.  
  5736.     public Shader PunishedShader;
  5737.  
  5738.     public Mesh PunishedMesh;
  5739.  
  5740.     public Material HatefulSkybox;
  5741.  
  5742.     public Texture HatefulUniform;
  5743.  
  5744.     public GameObject SukebanAccessories;
  5745.  
  5746.     public Texture SukebanBandages;
  5747.  
  5748.     public Texture SukebanUniform;
  5749.  
  5750.     public FalconPunchScript BanchoFinisher;
  5751.  
  5752.     public StandPunchScript BanchoFlurry;
  5753.  
  5754.     public GameObject BanchoPants;
  5755.  
  5756.     public Mesh BanchoMesh;
  5757.  
  5758.     public Texture BanchoBody;
  5759.  
  5760.     public Texture BanchoFace;
  5761.  
  5762.     public GameObject[] BanchoAccessories;
  5763.  
  5764.     public bool BanchoActive;
  5765.  
  5766.     public bool Finisher;
  5767.  
  5768.     public AudioClip BanchoYanYan;
  5769.  
  5770.     public AudioClip BanchoFinalYan;
  5771.  
  5772.     public AmplifyMotionObject MotionObject;
  5773.  
  5774.     public AmplifyMotionEffect MotionBlur;
  5775.  
  5776.     public GameObject BanchoCamera;
  5777.  
  5778.     public GameObject[] SlenderHair;
  5779.  
  5780.     public Texture SlenderUniform;
  5781.  
  5782.     public Material SlenderSkybox;
  5783.  
  5784.     public Texture SlenderSkin;
  5785.  
  5786.     public Transform[] LongHair;
  5787.  
  5788.     public GameObject BlackEyePatch;
  5789.  
  5790.     public GameObject XSclera;
  5791.  
  5792.     public GameObject XEye;
  5793.  
  5794.     public Texture XBody;
  5795.  
  5796.     public Texture XFace;
  5797.  
  5798.     public GameObject[] GaloAccessories;
  5799.  
  5800.     public Texture GaloArms;
  5801.  
  5802.     public Texture GaloFace;
  5803.  
  5804.     public AudioClip SummonStand;
  5805.  
  5806.     public StandScript Stand;
  5807.  
  5808.     public AudioClip YanYan;
  5809.  
  5810.     public Texture AgentFace;
  5811.  
  5812.     public Texture AgentSuit;
  5813.  
  5814.     public GameObject CirnoIceAttack;
  5815.  
  5816.     public AudioClip CirnoIceClip;
  5817.  
  5818.     public GameObject CirnoWings;
  5819.  
  5820.     public GameObject CirnoHair;
  5821.  
  5822.     public Texture CirnoUniform;
  5823.  
  5824.     public Texture CirnoFace;
  5825.  
  5826.     public Transform[] CirnoWing;
  5827.  
  5828.     public float CirnoRotation;
  5829.  
  5830.     public float CirnoTimer;
  5831.  
  5832.     public AudioClip FalconPunchVoice;
  5833.  
  5834.     public Texture FalconBody;
  5835.  
  5836.     public Texture FalconFace;
  5837.  
  5838.     public float FalconSpeed;
  5839.  
  5840.     public GameObject NewFalconPunch;
  5841.  
  5842.     public GameObject FalconWindUp;
  5843.  
  5844.     public GameObject FalconPunch;
  5845.  
  5846.     public GameObject FalconShoulderpad;
  5847.  
  5848.     public GameObject FalconNipple1;
  5849.  
  5850.     public GameObject FalconNipple2;
  5851.  
  5852.     public GameObject FalconBuckle;
  5853.  
  5854.     public GameObject FalconHelmet;
  5855.  
  5856.     public GameObject FalconGun;
  5857.  
  5858.     public AudioClip[] OnePunchVoices;
  5859.  
  5860.     public GameObject NewOnePunch;
  5861.  
  5862.     public GameObject OnePunch;
  5863.  
  5864.     public Texture SaitamaSuit;
  5865.  
  5866.     public GameObject Cape;
  5867.  
  5868.     public ParticleSystem GlowEffect;
  5869.  
  5870.     public GameObject[] BlasterSet;
  5871.  
  5872.     public GameObject[] SansEyes;
  5873.  
  5874.     public AudioClip BlasterClip;
  5875.  
  5876.     public Texture SansTexture;
  5877.  
  5878.     public Texture SansFace;
  5879.  
  5880.     public GameObject Bone;
  5881.  
  5882.     public AudioClip Slam;
  5883.  
  5884.     public Mesh Jersey;
  5885.  
  5886.     public int BlasterStage;
  5887.  
  5888.     public PKDirType PKDir;
  5889.  
  5890.     public Texture CyborgBody;
  5891.  
  5892.     public Texture CyborgFace;
  5893.  
  5894.     public GameObject[] CyborgParts;
  5895.  
  5896.     public GameObject EnergySword;
  5897.  
  5898.     public GameObject EbolaEffect;
  5899.  
  5900.     public GameObject EbolaWings;
  5901.  
  5902.     public GameObject EbolaHair;
  5903.  
  5904.     public Texture EbolaFace;
  5905.  
  5906.     public Texture EbolaUniform;
  5907.  
  5908.     public Mesh LongUniform;
  5909.  
  5910.     public Texture NewFace;
  5911.  
  5912.     public Mesh NewMesh;
  5913.  
  5914.     public GameObject[] CensorSteam;
  5915.  
  5916.     public Texture NudePanties;
  5917.  
  5918.     public Texture NudeTexture;
  5919.  
  5920.     public Mesh NudeMesh;
  5921.  
  5922.     public Texture SamusBody;
  5923.  
  5924.     public Texture SamusFace;
  5925.  
  5926.     public Texture WitchBody;
  5927.  
  5928.     public Texture WitchFace;
  5929.  
  5930.     public Collider BladeHairCollider1;
  5931.  
  5932.     public Collider BladeHairCollider2;
  5933.  
  5934.     public GameObject BladeHair;
  5935.  
  5936.     public DebugMenuScript TheDebugMenuScript;
  5937.  
  5938.     public GameObject RiggedAccessory;
  5939.  
  5940.     public GameObject TornadoAttack;
  5941.  
  5942.     public GameObject TornadoDress;
  5943.  
  5944.     public GameObject TornadoHair;
  5945.  
  5946.     public Renderer TornadoRenderer;
  5947.  
  5948.     public Mesh NoTorsoMesh;
  5949.  
  5950.     public GameObject KunHair;
  5951.  
  5952.     public GameObject Kun;
  5953.  
  5954.     public GameObject Kizuna;
  5955.  
  5956.     public AudioClip HaiDomo;
  5957.  
  5958.     public GameObject BlackRobe;
  5959.  
  5960.     public Mesh NoUpperBodyMesh;
  5961.  
  5962.     public ParticleSystem[] Beam;
  5963.  
  5964.     public SithBeamScript[] SithBeam;
  5965.  
  5966.     public bool SithRecovering;
  5967.  
  5968.     public bool SithAttacking;
  5969.  
  5970.     public bool SithLord;
  5971.  
  5972.     public string SithPrefix;
  5973.  
  5974.     public int SithComboLength;
  5975.  
  5976.     public int SithAttacks;
  5977.  
  5978.     public int SithSounds;
  5979.  
  5980.     public int SithCombo;
  5981.  
  5982.     public GameObject SithHardHitbox;
  5983.  
  5984.     public GameObject SithHitbox;
  5985.  
  5986.     public GameObject SithTrail1;
  5987.  
  5988.     public GameObject SithTrail2;
  5989.  
  5990.     public Transform SithTrailEnd1;
  5991.  
  5992.     public Transform SithTrailEnd2;
  5993.  
  5994.     public ZoomScript Zoom;
  5995.  
  5996.     public AudioClip SithOn;
  5997.  
  5998.     public AudioClip SithOff;
  5999.  
  6000.     public AudioClip SithSwing;
  6001.  
  6002.     public AudioClip SithStrike;
  6003.  
  6004.     public AudioSource SithAudio;
  6005.  
  6006.     public float[] SithHardSpawnTime1;
  6007.  
  6008.     public float[] SithHardSpawnTime2;
  6009.  
  6010.     public float[] SithSpawnTime;
  6011.  
  6012.     public Texture SnakeFace;
  6013.  
  6014.     public Texture SnakeBody;
  6015.  
  6016.     public Texture Stone;
  6017.  
  6018.     public AudioClip Petrify;
  6019.  
  6020.     public GameObject Pebbles;
  6021.  
  6022.     public bool Medusa;
  6023.  
  6024.     public Texture GazerFace;
  6025.  
  6026.     public Texture GazerBody;
  6027.  
  6028.     public GazerEyesScript GazerEyes;
  6029.  
  6030.     public AudioClip FingerSnap;
  6031.  
  6032.     public AudioClip Zap;
  6033.  
  6034.     public bool GazeAttacking;
  6035.  
  6036.     public bool Snapping;
  6037.  
  6038.     public bool Gazing;
  6039.  
  6040.     public int SnapPhase;
  6041.  
  6042.     public GameObject SixRaincoat;
  6043.  
  6044.     public GameObject RisingSmoke;
  6045.  
  6046.     public GameObject DarkHelix;
  6047.  
  6048.     public Texture SixFaceTexture;
  6049.  
  6050.     public AudioClip SixTakedown;
  6051.  
  6052.     public Transform SixTarget;
  6053.  
  6054.     public Mesh SixBodyMesh;
  6055.  
  6056.     public Transform Mouth;
  6057.  
  6058.     public int EatPhase;
  6059.  
  6060.     public bool Hungry;
  6061.  
  6062.     public int Hunger;
  6063.  
  6064.     public float[] BloodTimes;
  6065.  
  6066.     public AudioClip[] Snarls;
  6067.  
  6068.     public Texture KLKBody;
  6069.  
  6070.     public Texture KLKFace;
  6071.  
  6072.     public GameObject[] KLKParts;
  6073.  
  6074.     public GameObject KLKSword;
  6075.  
  6076.     public Mesh SchoolSwimsuit;
  6077.  
  6078.     public Mesh GymUniform;
  6079.  
  6080.     public Texture FaceTexture;
  6081.  
  6082.     public Texture SwimsuitTexture;
  6083.  
  6084.     public Texture GymTexture;
  6085.  
  6086.     public Texture TextureToUse;
  6087.  
  6088.     public bool Casual = true;
  6089.  
  6090.     public Mesh JudoGiMesh;
  6091.  
  6092.     public Texture JudoGiTexture;
  6093.  
  6094.     public Mesh ApronMesh;
  6095.  
  6096.     public Texture ApronTexture;
  6097.  
  6098.     public Mesh LabCoatMesh;
  6099.  
  6100.     public Mesh HeadAndHands;
  6101.  
  6102.     public Texture LabCoatTexture;
  6103.  
  6104.     public RiggedAccessoryAttacher LabcoatAttacher;
  6105.  
  6106.     public bool Paint;
  6107.  
  6108.     public GameObject[] ClubAccessories;
  6109.  
  6110.     public GameObject Fireball;
  6111.  
  6112.     public bool LiftOff;
  6113.  
  6114.     public GameObject LiftOffParticles;
  6115.  
  6116.     public float LiftOffSpeed;
  6117.  
  6118.     public SkinnedMeshUpdater SkinUpdater;
  6119.  
  6120.     public Mesh RivalChanMesh;
  6121.  
  6122.     public Mesh TestMesh;
  6123.  
  6124.     public bool BullyPhoto;
  6125. }
Advertisement
Add Comment
Please, Sign In to add comment