Skip to content

Commit

Permalink
last changes for tonight
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jun 8, 2024
1 parent f35dfb0 commit 36a990e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 8 additions & 6 deletions source/meta/state/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@ class PlayState extends MusicBeatState
}
});
FlxG.sound.play(Paths.sound('intro1' + introSoundsSuffix), 0.6);
if (!PlayState.isPixelStage || curStage != 'mall' || curStage != 'mallEvil' || curStage != 'limo' || SONG.song.toLowerCase() != 'stress') {
if (boyfriend != null && !PlayState.isPixelStage || curStage != 'mall' || curStage != 'mallEvil' || curStage != 'limo' || SONG.song.toLowerCase() != 'stress') {
boyfriend.playAnim('pre-attack', true);
boyfriend.specialAnim = true;
}
Expand All @@ -2857,16 +2857,18 @@ class PlayState extends MusicBeatState
});
FlxG.sound.play(Paths.sound('introGo' + introSoundsSuffix), 0.6);
if (curStage != 'limo' || SONG.song.toLowerCase() != 'stress') {
if(boyfriend.animOffsets.exists('hey')) {
if (boyfriend != null && boyfriend.animOffsets.exists('hey')) {
boyfriend.playAnim('hey', true);
boyfriend.specialAnim = true;
boyfriend.heyTimer = 0.6;
}

if(gf != null && gf.animOffsets.exists('cheer')) {
gf.playAnim('cheer', true);
gf.specialAnim = true;
gf.heyTimer = 0.6;
if (curStage != 'tank' || curStage != 'limo') {
if (gf != null && gf.animOffsets.exists('cheer')) {
gf.playAnim('cheer', true);
gf.specialAnim = true;
gf.heyTimer = 0.6;
}
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions source/objects/userinterface/Bar.hx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class Bar extends FlxSpriteGroup
leftBar = new FlxSprite().makeGraphic(Std.int(bg.width), Std.int(bg.height), FlxColor.WHITE);
leftBar.antialiasing = antialiasing = ClientPrefs.globalAntialiasing;

rightBar = new FlxSprite().makeGraphic(Std.int(bg.width), Std.int(bg.height), FlxColor.WHITE);
rightBar.color = FlxColor.BLACK;
rightBar = new FlxSprite().makeGraphic(Std.int(bg.width), Std.int(bg.height), FlxColor.BLACK);
rightBar.antialiasing = ClientPrefs.globalAntialiasing;

add(leftBar);
Expand Down

0 comments on commit 36a990e

Please sign in to comment.