mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-23 23:33:55 +00:00
dumb lol!
This commit is contained in:
parent
649ce2bc9d
commit
18b87b391e
|
@ -242,6 +242,19 @@ class ChartingState extends MusicBeatState
|
|||
copySection(Std.int(stepperCopy.value));
|
||||
});
|
||||
|
||||
var clearSectionButton:FlxButton = new FlxButton(10, 150, "Clear", clearSection);
|
||||
|
||||
var swapSection:FlxButton = new FlxButton(10, 170, "Swap section", function()
|
||||
{
|
||||
for (i in 0..._song.notes[curSection].sectionNotes.length)
|
||||
{
|
||||
var note = _song.notes[curSection].sectionNotes[i];
|
||||
note[1] = (note[1] + 4) % 8;
|
||||
_song.notes[curSection].sectionNotes[i] = note;
|
||||
updateGrid();
|
||||
}
|
||||
});
|
||||
|
||||
check_mustHitSection = new FlxUICheckBox(10, 30, null, null, "Must hit section", 100);
|
||||
check_mustHitSection.name = 'check_mustHit';
|
||||
check_mustHitSection.checked = true;
|
||||
|
@ -256,6 +269,8 @@ class ChartingState extends MusicBeatState
|
|||
tab_group_section.add(check_mustHitSection);
|
||||
tab_group_section.add(check_changeBPM);
|
||||
tab_group_section.add(copyButton);
|
||||
tab_group_section.add(clearSectionButton);
|
||||
tab_group_section.add(swapSection);
|
||||
|
||||
UI_box.addGroup(tab_group_section);
|
||||
}
|
||||
|
@ -722,6 +737,13 @@ class ChartingState extends MusicBeatState
|
|||
updateGrid();
|
||||
}
|
||||
|
||||
function clearSection():Void
|
||||
{
|
||||
_song.notes[curSection].sectionNotes = [];
|
||||
|
||||
updateGrid();
|
||||
}
|
||||
|
||||
function clearSong():Void
|
||||
{
|
||||
for (daSection in 0..._song.notes.length)
|
||||
|
|
|
@ -13,6 +13,8 @@ import flixel.util.FlxColor;
|
|||
import io.newgrounds.NG;
|
||||
import lime.app.Application;
|
||||
|
||||
using StringTools;
|
||||
|
||||
class MainMenuState extends MusicBeatState
|
||||
{
|
||||
var curSelected:Int = 0;
|
||||
|
@ -87,7 +89,7 @@ class MainMenuState extends MusicBeatState
|
|||
versionShit.setFormat("VCR OSD Mono", 16, FlxColor.WHITE, LEFT, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
|
||||
add(versionShit);
|
||||
|
||||
if (versionShit.text != NGio.GAME_VER && !OutdatedSubState.leftState)
|
||||
if (versionShit.text.trim() != NGio.GAME_VER.trim() && !OutdatedSubState.leftState)
|
||||
{
|
||||
trace('OLD VERSION!');
|
||||
|
||||
|
|
Loading…
Reference in a new issue