From 35c342e45024b44dfc8465f031f3ecf05869aaec Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Sun, 24 Mar 2024 00:23:36 -0700 Subject: [PATCH] scroll speed thingy psych --- source/funkin/backend/chart/PsychParser.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/funkin/backend/chart/PsychParser.hx b/source/funkin/backend/chart/PsychParser.hx index 2b145c22..613e9c70 100644 --- a/source/funkin/backend/chart/PsychParser.hx +++ b/source/funkin/backend/chart/PsychParser.hx @@ -89,7 +89,10 @@ class PsychParser { psychEvents.push([ "Change Scroll Speed", FlxMath.roundDecimal(event.params[1]/chart.scrollSpeed, 2), // SCROLL SPEED MULTIPLER - FlxMath.roundDecimal((Conductor.getTimeForStep(eventStep+event.params[2]) - Conductor.getTimeForStep(eventStep))/1000, 2), // TIME + FlxMath.roundDecimal( // TIME + event.params[0] ? // IS TWEENED? + (Conductor.getTimeForStep(eventStep+event.params[2]) - Conductor.getTimeForStep(eventStep))/1000 + : 0, 2) ]); default: // TODO: allow custom formats in event.json