// Token: 0x0600146C RID: 5228 RVA: 0x000B4160 File Offset: 0x000B2360 public static void DeleteAll() { int profile = GameGlobals.Profile; ClassGlobals.DeleteAll(); ClubGlobals.DeleteAll(); CollectibleGlobals.DeleteAll(); ConversationGlobals.DeleteAll(); DateGlobals.DeleteAll(); DatingGlobals.DeleteAll(); EventGlobals.DeleteAll(); GameGlobals.DeleteAll(); HomeGlobals.DeleteAll(); MissionModeGlobals.DeleteAll(); PlayerGlobals.DeleteAll(); PoseModeGlobals.DeleteAll(); SchemeGlobals.DeleteAll(); SchoolGlobals.DeleteAll(); SenpaiGlobals.DeleteAll(); StudentGlobals.DeleteAll(); TaskGlobals.DeleteAll(); YanvaniaGlobals.DeleteAll(); WeaponGlobals.DeleteAll(); TutorialGlobals.DeleteAll(); CounselorGlobals.DeleteAll(); YancordGlobals.DeleteAll(); CorkboardGlobals.DeleteAll(); GameGlobals.Profile = profile; DateGlobals.Week = 1; }
private void Update() { if (this.Prompt.Circle[0].fillAmount == 0f) { this.Prompt.Circle[0].fillAmount = 1f; if (!this.Goddess.activeInHierarchy) { this.Prompt.Yandere.Police.Invalid = true; this.Prompt.Label[0].text = " Pass Judgement"; this.Prompt.Label[1].text = " Dismiss"; this.Prompt.Label[2].text = " Follow"; this.Prompt.HideButton[1] = false; this.Prompt.HideButton[2] = false; this.Prompt.OffsetX[0] = -1f; this.Goddess.SetActive(true); } else { this.Window.parent.gameObject.SetActive(true); this.Prompt.Yandere.CanMove = false; this.PassingJudgement = true; } } if (this.Prompt.Circle[1].fillAmount == 0f) { this.Prompt.Circle[1].fillAmount = 1f; this.Prompt.Label[0].text = " Summon An Ancient Evil"; this.Prompt.Label[1].text = ""; this.Prompt.Label[2].text = ""; this.Prompt.HideButton[1] = true; this.Prompt.HideButton[2] = true; this.Prompt.OffsetX[0] = 0f; base.transform.position = new Vector3(-9.5f, 1f, -75f); this.Goddess.SetActive(false); this.Follow = false; } if (this.Prompt.Circle[2].fillAmount == 0f) { this.Prompt.Circle[2].fillAmount = 1f; this.Follow = !this.Follow; } if (this.Follow && Vector3.Distance(this.Prompt.Yandere.transform.position + new Vector3(0f, 1f, 0f), base.transform.position) > 1f) { base.transform.position = Vector3.Lerp(base.transform.position, this.Prompt.Yandere.transform.position + new Vector3(0f, 1f, 0f), Time.deltaTime); } if (this.PassingJudgement) { if (this.InputManager.TappedUp) { this.Row--; this.UpdateHighlight(); } else if (this.InputManager.TappedDown) { this.Row++; this.UpdateHighlight(); } if (this.InputManager.TappedLeft) { this.Column--; this.UpdateHighlight(); } else if (this.InputManager.TappedRight) { this.Column++; this.UpdateHighlight(); } if (Input.GetButtonDown("A")) { this.StudentManager.DisableStudent(this.Selected); this.UpdatePortraits(); } if (Input.GetKeyDown(KeyCode.Alpha1)) { if (!this.Disabled) { this.StudentManager.DisableEveryone(); this.Disabled = true; } else { this.ID = 1; while (this.ID < 101) { this.StudentManager.DisableStudent(this.ID); this.ID++; } } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha2)) { this.ID = 1; while (this.ID < 11) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha3)) { this.ID = 11; while (this.ID < 21) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha4)) { this.ID = 21; while (this.ID < 26) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha5)) { this.ID = 26; while (this.ID < 31) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha6)) { this.ID = 31; while (this.ID < 36) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha7)) { this.ID = 36; while (this.ID < 41) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha8)) { this.ID = 41; while (this.ID < 46) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha9)) { this.ID = 46; while (this.ID < 51) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown(KeyCode.Alpha0)) { this.ID = 51; while (this.ID < 56) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("-")) { this.ID = 56; while (this.ID < 61) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("=")) { this.ID = 61; while (this.ID < 66) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("r")) { this.ID = 66; while (this.ID < 71) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("t")) { this.ID = 71; while (this.ID < 76) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("y")) { this.ID = 76; while (this.ID < 81) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("u")) { this.ID = 81; while (this.ID < 86) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("i")) { this.ID = 86; while (this.ID < 90) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("o")) { this.ID = 90; while (this.ID < 98) { this.StudentManager.DisableStudent(this.ID); this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("p")) { this.ID = 1; while (this.ID < 101) { if (this.ID != 21 && this.ID != 26 && this.ID != 31 && this.ID != 36 && this.ID != 41 && this.ID != 46 && this.ID != 51 && this.ID != 56 && this.ID != 61 && this.ID != 66 && this.ID != 71) { this.StudentManager.DisableStudent(this.ID); } this.ID++; } this.UpdatePortraits(); } else if (Input.GetKeyDown("space")) { this.ID = 2; while (this.ID < 101) { if (this.ID != 1 && this.ID != 2 && this.ID != 3 && this.ID != 6 && this.ID != 10 && this.ID != 11 && this.ID != 39 && this.ID != 41 && this.ID != 42 && this.ID != 43 && this.ID != 44 && this.ID != 45 && this.ID != 81 && this.ID != 82 && this.ID != 83 && this.ID != 84 && this.ID != 85) { this.StudentManager.DisableStudent(this.ID); } this.ID++; } if (this.StudentManager.Students[7].gameObject.activeInHierarchy) { this.StudentManager.DisableStudent(7); } this.UpdatePortraits(); } if (Input.GetButtonDown("B")) { this.Window.parent.gameObject.SetActive(false); this.Prompt.Yandere.CanMove = true; this.Prompt.Yandere.Shoved = false; this.PassingJudgement = false; } if (Input.GetKeyDown(KeyCode.Z)) { this.StudentManager.Students[this.Selected].transform.position = this.Prompt.Yandere.transform.position + this.Prompt.Yandere.transform.forward; Physics.SyncTransforms(); } if (Input.GetKeyDown(KeyCode.X)) { CounselorGlobals.DeleteAll(); StudentGlobals.SetStudentExpelled(76, false); StudentGlobals.SetStudentExpelled(77, false); StudentGlobals.SetStudentExpelled(78, false); StudentGlobals.SetStudentExpelled(79, false); StudentGlobals.SetStudentExpelled(80, false); } } }