1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-27 01:03:35 +00:00

menu fix maybe oops

This commit is contained in:
Cameron Taylor 2021-01-20 06:14:38 -05:00
parent f30e6ae3a7
commit f1d9c06882

View file

@ -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<String> = weekData[curWeek];
for (i in stringThing)