forked from akanyan/mu3-mods
feat(SkipCutscenes): QuickEnd
This commit is contained in:
@ -3,6 +3,7 @@ using MU3.Battle;
|
||||
using MU3.Data;
|
||||
using MU3.Game;
|
||||
using MU3.Util;
|
||||
using UnityEngine;
|
||||
|
||||
namespace MU3.Sequence;
|
||||
|
||||
@ -29,6 +30,16 @@ class patch_PlayMusic: PlayMusic {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private extern void orig_Enter_PlayEnd();
|
||||
private void Enter_PlayEnd() {
|
||||
using IniFile iniFile = new("mu3.ini");
|
||||
|
||||
if(iniFile.getValue("Sequence", "QuickEnd", false) && !isPartyPlay()) {
|
||||
_nuclearSkip = true;
|
||||
}
|
||||
}
|
||||
|
||||
public extern bool orig_updateState(float deltaTime);
|
||||
public override bool updateState(float deltaTime = -1f) {
|
||||
var state = getCurrentState();
|
||||
|
Reference in New Issue
Block a user