From fd6ae9cf6c2f1b04f4db276894a4fe0d4e53342a Mon Sep 17 00:00:00 2001 From: Kade <26305836+Kade-github@users.noreply.github.com> Date: Tue, 23 Dec 2025 21:24:41 -0800 Subject: [PATCH] Convert magic variable to Fixel Constant --- source/funkin/play/ResultState.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/play/ResultState.hx b/source/funkin/play/ResultState.hx index 594d89a0a..2c0b05b09 100644 --- a/source/funkin/play/ResultState.hx +++ b/source/funkin/play/ResultState.hx @@ -1,5 +1,6 @@ package funkin.play; +import flixel.math.FlxAngle; import flixel.FlxState; import funkin.ui.transition.stickers.StickerSubState; import flixel.addons.display.FlxBackdrop; @@ -733,8 +734,7 @@ class ResultState extends MusicBeatSubState } songName.y = -songName.height; - final DEG_TO_RAD:Float = Math.PI / 180; - var fuckedupnumber:Float = -(songName.width * 0.5) * Math.sin(songName.angle * DEG_TO_RAD) - 10; + var fuckedupnumber:Float = -(songName.width * 0.5) * Math.sin(songName.angle * FlxAngle.TO_RAD) - 10; FlxTween.tween(songName, {y: (diffYTween - 25 - fuckedupnumber) + ((blackTopBar.height - 148) / 1)}, 0.5, {ease: FlxEase.expoOut, startDelay: 0.9}); songName.x = clearPercentSmall.x + 94;