Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jul 26, 2023
1 parent 3345d3a commit 2397948
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
16 changes: 8 additions & 8 deletions source/Init.hx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ import core.ModCore;

class Init extends FlxState // this loads everything in
{
public static var randomIcon:Array<String> = ['joalor', 'meme', 'fox', 'bot'];
public static var updateVersion:String = '';

public static var randomIcon:Array<String> = [
'joalor',
'meme',
'fox',
'bot'
];
var epicSprite:FlxSprite;

public static var updateVersion:String = '';
var mustUpdate:Bool = false;

public function new()
Expand Down Expand Up @@ -102,11 +107,6 @@ class Init extends FlxState // this loads everything in
StoryMenuState.weekCompleted = FlxG.save.data.weekCompleted;
}

if (FlxG.save.data.beatTankman != null)
{
PlayState.beatTankman = FlxG.save.data.beatTankman;
}

FlxG.mouse.visible = false;
#if desktop
if (!DiscordClient.isInitialized)
Expand Down
7 changes: 2 additions & 5 deletions source/meta/state/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,8 @@ class MainMenuState extends MusicBeatState
#end
'credits',
#if !switch
if (PlayState.beatTankman) {
'kickstarter',
} else {
'donate',
}
'kickstarter',
'donate',
#end
'options'
];
Expand Down
7 changes: 0 additions & 7 deletions source/meta/state/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ class PlayState extends MusicBeatState
public var camOther:FlxCamera;
public var cameraSpeed:Float = 1;

public static var beatTankman:Bool = false;

var dialogue:Array<String> = null;
var dialogueJson:DialogueFile = null;

Expand Down Expand Up @@ -4747,11 +4745,6 @@ class PlayState extends MusicBeatState
}
MusicBeatState.switchState(new StoryMenuState());

if (SONG.song.toLowerCase() == "stress")
{
FlxG.save.data.beatTankman = true;
}

if(!ClientPrefs.getGameplaySetting('practice', false) && !ClientPrefs.getGameplaySetting('botplay', false)) {
StoryMenuState.weekCompleted.set(WeekData.weeksList[storyWeek], true);

Expand Down

0 comments on commit 2397948

Please sign in to comment.