summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Romeo <vittorio.romeo@outlook.com>2021-10-31 18:07:06 +0000
committerVittorio Romeo <vittorio.romeo@outlook.com>2021-10-31 18:07:06 +0000
commit7fead3a0e89a3a81b98bc29a3c503d43ddb1c4a9 (patch)
tree33a2fdadac43b3a28d979649853fb172e24c5d56
parent573acc12b8b13f4dcb01d59c61f327a5a3f5bec7 (diff)
Flash black when going from style 2 to 1
-rw-r--r--_RELEASE/Packs/orthoplex/Scripts/Levels/bipolarity.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/_RELEASE/Packs/orthoplex/Scripts/Levels/bipolarity.lua b/_RELEASE/Packs/orthoplex/Scripts/Levels/bipolarity.lua
index 099647f1..e893da87 100644
--- a/_RELEASE/Packs/orthoplex/Scripts/Levels/bipolarity.lua
+++ b/_RELEASE/Packs/orthoplex/Scripts/Levels/bipolarity.lua
@@ -151,7 +151,15 @@ function addPattern(mKey)
end
e_eval([[s_setCapColorMain()]])
- e_eval([[u_setFlashEffect(100)]])
+
+ if style == 0 then
+ e_eval([[u_setFlashColor(255, 255, 255)]])
+ e_eval([[u_setFlashEffect(100)]])
+ else
+ e_eval([[u_setFlashColor(0, 0, 0)]])
+ e_eval([[u_setFlashEffect(215)]])
+ end
+
e_wait(beat * 2)
e_eval([[s_setCapColorByIndex(0)]])
-- t_wait(10 * (dm ^ 0.2))