Skip to content

Commit

Permalink
tutorial patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Dec 11, 2020
1 parent 8d8f586 commit 334f279
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion source/StoryMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ class StoryMenuState extends MusicBeatState
weekCharacterThing.setGraphicSize(Std.int(weekCharacterThing.width * 0.5));
weekCharacterThing.updateHitbox();
case 'pico':
weekCharacterThing.y += 60;
weekCharacterThing.y += 170;
weekCharacterThing.flipX = true;
weekCharacterThing.x -= 40;
}

grpWeekCharacters.add(weekCharacterThing);
Expand Down
8 changes: 6 additions & 2 deletions source/TitleState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,15 @@ class TitleState extends MusicBeatState
StoryMenuState.weekUnlocked = FlxG.save.data.weekUnlocked;

if (StoryMenuState.weekUnlocked.length < 4)
StoryMenuState.weekUnlocked.insert(0, false);
StoryMenuState.weekUnlocked.insert(0, true);

// QUICK PATCH OOPS!
if (!StoryMenuState.weekUnlocked[0])
StoryMenuState.weekUnlocked[0] = true;
}

#if SKIP_TO_PLAYSTATE
FlxG.switchState(new ChartingState());
FlxG.switchState(new StoryMenuState());
#else
startIntro();
#end
Expand Down

0 comments on commit 334f279

Please sign in to comment.