mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-12-02 04:17:07 -05:00
menu fix maybe oops
This commit is contained in:
parent
f30e6ae3a7
commit
f1d9c06882
1 changed files with 12 additions and 0 deletions
|
@ -135,6 +135,10 @@ class StoryMenuState extends MusicBeatState
|
||||||
weekCharacterThing.y += 170;
|
weekCharacterThing.y += 170;
|
||||||
weekCharacterThing.flipX = true;
|
weekCharacterThing.flipX = true;
|
||||||
weekCharacterThing.x -= 40;
|
weekCharacterThing.x -= 40;
|
||||||
|
case 'parents-christmas':
|
||||||
|
weekCharacterThing.x -= 600;
|
||||||
|
weekCharacterThing.setGraphicSize(Std.int(weekCharacterThing.width * 0.9));
|
||||||
|
weekCharacterThing.updateHitbox();
|
||||||
}
|
}
|
||||||
|
|
||||||
grpWeekCharacters.add(weekCharacterThing);
|
grpWeekCharacters.add(weekCharacterThing);
|
||||||
|
@ -368,6 +372,14 @@ class StoryMenuState extends MusicBeatState
|
||||||
grpWeekCharacters.members[2].animation.play(weekCharacters[curWeek][2]);
|
grpWeekCharacters.members[2].animation.play(weekCharacters[curWeek][2]);
|
||||||
txtTracklist.text = "Tracks\n";
|
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<String> = weekData[curWeek];
|
var stringThing:Array<String> = weekData[curWeek];
|
||||||
|
|
||||||
for (i in stringThing)
|
for (i in stringThing)
|
||||||
|
|
Loading…
Reference in a new issue