From f6d55fec3557a85ede02057f7efb7ffa50bc630c Mon Sep 17 00:00:00 2001 From: Clansty Date: Sun, 26 May 2024 13:36:56 +0800 Subject: [PATCH] [+] Skip "Discovered new area" --- AquaMai/UX/SkipEventInfo.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/AquaMai/UX/SkipEventInfo.cs b/AquaMai/UX/SkipEventInfo.cs index 4b2ea4be..908aaff1 100644 --- a/AquaMai/UX/SkipEventInfo.cs +++ b/AquaMai/UX/SkipEventInfo.cs @@ -1,4 +1,6 @@ +using System.Collections.Generic; using HarmonyLib; +using Process; using Process.Information; namespace AquaMai.UX @@ -7,9 +9,16 @@ namespace AquaMai.UX { [HarmonyPostfix] [HarmonyPatch(typeof(InformationProcess), "OnStart")] - public static void InformationProcessPreStart(ref uint ____state) + public static void InformationProcessPostStart(ref uint ____state) { ____state = 3; } + + [HarmonyPostfix] + [HarmonyPatch(typeof(RegionalSelectProcess), "OnStart")] + public static void RegionalSelectProcessPreStart(ref Queue[] ____discoverList) + { + ____discoverList = new Queue[] { new Queue(), new Queue() }; + } } } \ No newline at end of file