From f1d9c06882e24ef36cb23ccb54d42dcd666c280b Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Wed, 20 Jan 2021 06:14:38 -0500 Subject: [PATCH] menu fix maybe oops --- source/StoryMenuState.hx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/StoryMenuState.hx b/source/StoryMenuState.hx index eb902ada4..242cb1472 100644 --- a/source/StoryMenuState.hx +++ b/source/StoryMenuState.hx @@ -135,6 +135,10 @@ class StoryMenuState extends MusicBeatState weekCharacterThing.y += 170; weekCharacterThing.flipX = true; weekCharacterThing.x -= 40; + case 'parents-christmas': + weekCharacterThing.x -= 600; + weekCharacterThing.setGraphicSize(Std.int(weekCharacterThing.width * 0.9)); + weekCharacterThing.updateHitbox(); } grpWeekCharacters.add(weekCharacterThing); @@ -368,6 +372,14 @@ class StoryMenuState extends MusicBeatState grpWeekCharacters.members[2].animation.play(weekCharacters[curWeek][2]); txtTracklist.text = "Tracks\n"; + switch (grpWeekCharacters.members[0].animation.curAnim.name) + { + case 'parents-christmas': + grpWeekCharacters.members[0].offset.x = 400; + default: + grpWeekCharacters.members[0].offset.x = 100; + } + var stringThing:Array = weekData[curWeek]; for (i in stringThing)