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;