mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-29 08:16:58 +00:00
alt note fuk
This commit is contained in:
parent
6fec9e2c7e
commit
2b51038be1
|
@ -32,7 +32,6 @@ class Note extends FlxSprite
|
||||||
|
|
||||||
private var willMiss:Bool = false;
|
private var willMiss:Bool = false;
|
||||||
|
|
||||||
public var altNote:Bool = false;
|
|
||||||
public var invisNote:Bool = false;
|
public var invisNote:Bool = false;
|
||||||
|
|
||||||
public var sustainLength:Float = 0;
|
public var sustainLength:Float = 0;
|
||||||
|
|
|
@ -2190,7 +2190,7 @@ class PlayState extends MusicBeatState
|
||||||
altAnim = '-alt';
|
altAnim = '-alt';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (daNote.altNote)
|
if (daNote.data.altNote)
|
||||||
altAnim = '-alt';
|
altAnim = '-alt';
|
||||||
|
|
||||||
if (!daNote.isSustainNote)
|
if (!daNote.isSustainNote)
|
||||||
|
|
|
@ -1262,7 +1262,7 @@ class ChartingState extends MusicBeatState
|
||||||
|
|
||||||
var daNewNote:Note = new Note(noteStrum, noteData);
|
var daNewNote:Note = new Note(noteStrum, noteData);
|
||||||
daNewNote.sustainLength = noteSus;
|
daNewNote.sustainLength = noteSus;
|
||||||
daNewNote.altNote = noteAlt;
|
daNewNote.data.altNote = noteAlt;
|
||||||
SongLoad.getSong()[curSection].sectionNotes.push(daNewNote.data);
|
SongLoad.getSong()[curSection].sectionNotes.push(daNewNote.data);
|
||||||
|
|
||||||
curSelectedNote = SongLoad.getSong()[curSection].sectionNotes[SongLoad.getSong()[curSection].sectionNotes.length - 1];
|
curSelectedNote = SongLoad.getSong()[curSection].sectionNotes[SongLoad.getSong()[curSection].sectionNotes.length - 1];
|
||||||
|
|
Loading…
Reference in a new issue