akanyan
4ad595f6c3
* AttractVideoPlayer,LoadBoost: allow setting a cache directory * AttractVideoPlayer: color leds * BetterGiveUp: prevent multiple restarts in a row * use GetTriggerOn in general where applicable
20 lines
625 B
C#
20 lines
625 B
C#
using MU3.Battle;
|
|
using MU3.Util;
|
|
|
|
namespace MU3.Sequence;
|
|
|
|
class patch_PlayMusic: PlayMusic {
|
|
private GameEngine _gameEngine;
|
|
private extern void orig_Execute_StartCutscene();
|
|
public static bool ForceSkipped { get; private set; }
|
|
|
|
private void Execute_StartCutscene() {
|
|
orig_Execute_StartCutscene();
|
|
ForceSkipped = false;
|
|
if(Singleton<Sys.System>.instance.config.isQuickStart || Singleton<UIInput>.instance.getTriggerOn(UIInput.Key.MenuLeft)) {
|
|
ForceSkipped = true;
|
|
_gameEngine.skipStartCutscene();
|
|
setNextState(EState.Countdown);
|
|
}
|
|
}
|
|
} |