diff --git a/source/objects/userinterface/note/Note.hx b/source/objects/userinterface/note/Note.hx index 0c2003ef..a866e49c 100644 --- a/source/objects/userinterface/note/Note.hx +++ b/source/objects/userinterface/note/Note.hx @@ -258,9 +258,11 @@ class Note extends FlxSprite if(texture.length < 1) { skin = PlayState.SONG.arrowSkin; if(skin == null || skin.length < 1) { + /* skin = 'noteskins/NOTE_assets-${ClientPrefs.noteSkin.toLowerCase()}'; } if(ClientPrefs.noteSkin == null) { + */ skin = 'NOTE_assets'; } } @@ -279,11 +281,13 @@ class Note extends FlxSprite defaultWidth = 157; defaultHeight = 154; if(PlayState.isPixelStage) { + /* if (FileSystem.exists(Paths.modFolders('images/pixelUI/$blahblah.png')) && FileSystem.exists(Paths.modFolders('images/pixelUI/' + blahblah + 'ENDS.png'))) { blahblah = 'noteskins/NOTE_assets-${ClientPrefs.noteSkin.toLowerCase()}'; } else { blahblah = 'NOTE_assets'; } + */ if(isSustainNote) { loadGraphic(Paths.image('pixelUI/' + blahblah + 'ENDS')); width = width / 4; diff --git a/source/objects/userinterface/note/StrumNote.hx b/source/objects/userinterface/note/StrumNote.hx index 50634b90..34870326 100644 --- a/source/objects/userinterface/note/StrumNote.hx +++ b/source/objects/userinterface/note/StrumNote.hx @@ -32,12 +32,14 @@ class StrumNote extends FlxSprite this.noteData = leData; super(x, y); - var skin:String; + var skin:String = 'NOTE_assets'; + /* if(ClientPrefs.noteSkin != null) { skin = 'noteskins/NOTE_assets-${ClientPrefs.noteSkin.toLowerCase()}'; } else { skin = "NOTE_assets"; } + */ if(PlayState.SONG.arrowSkin != null && PlayState.SONG.arrowSkin.length > 1) skin = PlayState.SONG.arrowSkin; shader = colorMask.shader; texture = skin; //Load texture and anims @@ -52,16 +54,18 @@ class StrumNote extends FlxSprite if(PlayState.isPixelStage) { + /* var skin:String = 'NOTE_assets'; if (FileSystem.exists(Paths.modFolders('images/pixelUI/$texture.png')) && FileSystem.exists(Paths.modFolders('images/pixelUI/' + texture + 'ENDS.png'))) { skin = 'noteskins/NOTE_assets-${ClientPrefs.noteSkin.toLowerCase()}'; } else { skin = 'NOTE_assets'; } - loadGraphic(Paths.image('pixelUI/' + skin)); + */ + loadGraphic(Paths.image('pixelUI/' + texture)); width = width / 4; height = height / 5; - loadGraphic(Paths.image('pixelUI/' + skin), true, Math.floor(width), Math.floor(height)); + loadGraphic(Paths.image('pixelUI/' + texture), true, Math.floor(width), Math.floor(height)); antialiasing = false; setGraphicSize(Std.int(width * PlayState.daPixelZoom));