2024-05-25 23:15:13 +00:00
|
|
|
using MU3.Battle;
|
2024-07-07 18:33:38 +00:00
|
|
|
using MU3.Util;
|
2024-05-25 23:15:13 +00:00
|
|
|
|
|
|
|
namespace MU3.Sequence;
|
|
|
|
|
2024-07-04 12:39:11 +00:00
|
|
|
class patch_PlayMusic: PlayMusic {
|
2024-05-25 23:15:13 +00:00
|
|
|
private GameEngine _gameEngine;
|
|
|
|
private extern void orig_Execute_StartCutscene();
|
2024-07-07 18:33:38 +00:00
|
|
|
public static bool ForceSkipped { get; private set; }
|
2024-05-25 23:15:13 +00:00
|
|
|
|
|
|
|
private void Execute_StartCutscene() {
|
|
|
|
orig_Execute_StartCutscene();
|
2024-07-07 18:33:38 +00:00
|
|
|
ForceSkipped = false;
|
2024-07-22 16:45:36 +00:00
|
|
|
if(Singleton<Sys.System>.instance.config.isQuickStart || Singleton<UIInput>.instance.getTriggerOn(UIInput.Key.MenuLeft)) {
|
2024-07-11 23:14:06 +00:00
|
|
|
ForceSkipped = true;
|
2024-07-07 18:33:38 +00:00
|
|
|
_gameEngine.skipStartCutscene();
|
|
|
|
setNextState(EState.Countdown);
|
|
|
|
}
|
2024-05-25 23:15:13 +00:00
|
|
|
}
|
|
|
|
}
|