state("Baldy Bounce"){ bool fadeOutEnabled: "UnityPlayer.dll", 0x1A0E220, 0x48, 0xB0, 0x10, 0x30, 0x30, 0x8, 0x70, 0x50, 0x1A8; } startup { vars.Log = (Action)((output) => print("[Baldy Boucne ASL] " + output)); Assembly.Load(File.ReadAllBytes("Components/asl-help")).CreateInstance("Unity"); vars.Helper.GameName = "Baldy Bounce"; vars.Helper.LoadSceneManager = true; settings.Add("split_chapter", true, "Split on leaving each chapter"); } start { return current.scene == "00_MenuScene" && current.fadeOutEnabled && !old.fadeOutEnabled; } update { current.scene = vars.Helper.Scenes.Active.Name; } split { if ( current.scene != old.scene && current.scene == "99_LoadingScene" && !old.scene.StartsWith("00") && !old.scene.StartsWith("88") ) { if (settings["split_chapter"]) { return true; } } } isLoading { return vars.Helper.IsLoading || current.scene.Contains("LoadingScene"); }