Skip to content

Commit

Permalink
i am dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSantiagoYT committed Jan 27, 2025
1 parent d12cc28 commit ec91811
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1323,10 +1323,6 @@ class PlayState extends MusicBeatState
EngineWatermark.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT, OUTLINE,FlxColor.BLACK);
EngineWatermark.scrollFactor.set();
EngineWatermark.text = SONG.song;
/*if (ClientPrefs.downScroll) EngineWatermark.y = healthBar.y + 50;
else {
return; // replace if wrong
}*/
add(EngineWatermark);

switch(ClientPrefs.watermarkStyle)
Expand Down Expand Up @@ -1354,6 +1350,8 @@ class PlayState extends MusicBeatState
default:
}

if (ClientPrefs.watermarkStyle == 'Hide' && EngineWatermark != null) EngineWatermark.visible = false;

if (ClientPrefs.showcaseMode && !ClientPrefs.charsAndBG) {
hitTxt = new FlxText(0, 20, 10000, "test", 42);
hitTxt.setFormat(Paths.font("vcr.ttf"), 42, FlxColor.WHITE, LEFT, OUTLINE, FlxColor.BLACK);
Expand Down Expand Up @@ -2915,7 +2913,6 @@ class PlayState extends MusicBeatState
gfNote: swagNote.gfNote,
isSustainNote: false,
isSustainEnd: false,
sustainScale: 0,
parentST: 0,
hitHealth: swagNote.hitHealth,
missHealth: swagNote.missHealth,
Expand All @@ -2930,8 +2927,6 @@ class PlayState extends MusicBeatState
}

if (swagNote.sustainLength < 1) continue;

var ratio:Float = Conductor.bpm / currentBPMLol;

final roundSus:Int = Math.round(swagNote.sustainLength / Conductor.stepCrochet);
if (roundSus > 0) {
Expand All @@ -2949,7 +2944,6 @@ class PlayState extends MusicBeatState
noAnimation: songNotes[3] == 'No Animation',
isSustainNote: true,
isSustainEnd: susNote == roundSus,
sustainScale: 1 / ratio,
parentST: swagNote.strumTime,
parentSL: swagNote.sustainLength,
hitHealth: 0.023,
Expand Down

1 comment on commit ec91811

@SyncGit12
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOOOL

Please sign in to comment.