1
0
forked from akanyan/mu3-mods

feat(AttractVideoPlayer): skip on L1

This commit is contained in:
2025-01-09 23:25:33 +00:00
parent e4e9eb5faf
commit c75fbbc66a
2 changed files with 10 additions and 6 deletions

View File

@ -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);
}