public static string[] AutoConverter(LogicObjects.TrackerInstance instance, string[] Spoiler) { var ReturnSpoiler = Spoiler; if (instance.GameCode == "WWR" && !Spoiler[0].Contains("Converted WWR")) { ReturnSpoiler = WindWakerTools.HandleWWRSpoilerLog(Spoiler); } if (instance.GameCode == "OOTR" && !Spoiler[0].Contains("Converted OOTR")) { ReturnSpoiler = OcarinaOfTimeTools.HandleOOTRSpoilerLog(string.Join("", Spoiler)); } if (instance.GameCode == "SSR" && !Spoiler[0].Contains("Converted SSR")) { ReturnSpoiler = SkywardSwordTools.HandleSSRSpoilerLog(Spoiler); } return(ReturnSpoiler); }
private void button1_Click(object sender, EventArgs e) { OcarinaOfTimeTools.HandleOOTRSpoilerLog(); }