forked from akanyan/mu3-mods
feat(AttractVideoPlayer): skip on L1
This commit is contained in:
@ -17,6 +17,8 @@ class patch_AdvManager: AdvManager {
|
||||
addMovieOffset(-1);
|
||||
} else if(Singleton<UIInput>.instance.getTriggerOn(UIInput.Key.L3)) {
|
||||
addMovieOffset(1);
|
||||
} else if(Singleton<UIInput>.instance.getTriggerOn(UIInput.Key.L1)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,6 +38,7 @@ class patch_AdvManager: AdvManager {
|
||||
public extern bool orig_initMovie();
|
||||
public new bool initMovie() {
|
||||
UIInput instance = Singleton<UIInput>.instance;
|
||||
instance.setLedColor(UIInput.Key.L1, new Color(0.7f, 0.0f, 0f));
|
||||
instance.setLedColor(UIInput.Key.L2, new Color(0f, 0.7f, 0f));
|
||||
instance.setLedColor(UIInput.Key.L3, new Color(0f, 0.7f, 0f));
|
||||
|
||||
@ -47,6 +50,7 @@ class patch_AdvManager: AdvManager {
|
||||
orig_exitMovie();
|
||||
|
||||
UIInput instance = Singleton<UIInput>.instance;
|
||||
instance.setLedColor(UIInput.Key.L1, Color.black);
|
||||
instance.setLedColor(UIInput.Key.L2, Color.black);
|
||||
instance.setLedColor(UIInput.Key.L3, Color.black);
|
||||
}
|
||||
|
Reference in New Issue
Block a user