1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-16 11:53:45 +00:00

dumb lol!

This commit is contained in:
Cameron Taylor 2020-12-25 03:40:01 -05:00
parent e1df3e98f6
commit 471ba66b71
9 changed files with 25 additions and 1 deletions

Binary file not shown.

BIN
assets/images/lol.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Binary file not shown.

View file

@ -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)

View file

@ -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!');