From a3969ad5c0fc801aaa256939615a22bd878e840b Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Thu, 2 May 2024 21:37:07 -0400 Subject: [PATCH] hardcode storymenu difficulties to avoid overlaps --- source/funkin/ui/story/StoryMenuState.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/story/StoryMenuState.hx b/source/funkin/ui/story/StoryMenuState.hx index d8bfd59fb..e6c1328bd 100644 --- a/source/funkin/ui/story/StoryMenuState.hx +++ b/source/funkin/ui/story/StoryMenuState.hx @@ -187,7 +187,7 @@ class StoryMenuState extends MusicBeatState buildLevelTitles(); - leftDifficultyArrow = new FlxSprite(levelTitles.members[0].x + levelTitles.members[0].width + 10, levelTitles.members[0].y + 10); + leftDifficultyArrow = new FlxSprite(870, 480); leftDifficultyArrow.frames = Paths.getSparrowAtlas('storymenu/ui/arrows'); leftDifficultyArrow.animation.addByPrefix('idle', 'leftIdle0'); leftDifficultyArrow.animation.addByPrefix('press', 'leftConfirm0'); @@ -197,7 +197,7 @@ class StoryMenuState extends MusicBeatState buildDifficultySprite(Constants.DEFAULT_DIFFICULTY); buildDifficultySprite(); - rightDifficultyArrow = new FlxSprite(difficultySprite.x + difficultySprite.width + 10, leftDifficultyArrow.y); + rightDifficultyArrow = new FlxSprite(1245, leftDifficultyArrow.y); rightDifficultyArrow.frames = leftDifficultyArrow.frames; rightDifficultyArrow.animation.addByPrefix('idle', 'rightIdle0'); rightDifficultyArrow.animation.addByPrefix('press', 'rightConfirm0');