From d05112e2f4a20c5c8ad41b20491cb7d9723e6b4e Mon Sep 17 00:00:00 2001 From: "JUJUX670E\\Jujuforce" Date: Tue, 2 Jul 2024 22:15:19 +0200 Subject: [PATCH] feat: implement UnlockAndSetJewelBoostNine. Setting the max boost in createSelector, cleaner this way. --- .../MU3/patch_Scene_32_PrePlayMusic_Confirm.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs b/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs index 172a507..51870c9 100644 --- a/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs +++ b/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs @@ -10,11 +10,17 @@ using MU3.Util; namespace MU3; -public class patch_Scene_32_PrePlayMusic_Confirm: Scene_32_PrePlayMusic_Confirm +public class patch_Scene_32_PrePlayMusic_Confirm : Scene_32_PrePlayMusic_Confirm { + private extern void orig_createSelector(); private JewelBoostID getMaxBoost() { - Singleton.instance.userLocal.boost = JewelBoostID.Nine; return JewelBoostID.Nine; } + + private void createSelector() + { + Singleton.instance.userLocal.boost = JewelBoostID.Nine; + orig_createSelector(); + } } \ No newline at end of file