Skip to content

Commit

Permalink
0.8.0d Patch
Browse files Browse the repository at this point in the history
Co-Authored-By: T-San <[email protected]>
  • Loading branch information
UmbratheUmbreon and T-Github2 committed Mar 12, 2023
1 parent 20c2310 commit 2aa1034
Show file tree
Hide file tree
Showing 208 changed files with 139 additions and 110 deletions.
2 changes: 1 addition & 1 deletion assets/preload/data/stages/limo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [1025, -145],
"girlfriend": [400, 130],
"opponent": [100, 100],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [-200, 0],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/mall.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [970, 100],
"girlfriend": [400, 130],
"opponent": [100, 100],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [0, -100],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/mallEvil.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [1090, 100],
"girlfriend": [400, 130],
"opponent": [100, 20],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [0, 0],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/philly.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [770, 100],
"girlfriend": [400, 130],
"opponent": [100, 100],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [0, 0],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/school.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [1032, 300],
"girlfriend": [642, 432],
"opponent": [126, 54],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [-208, -114],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/schoolEvil.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [972, 318],
"girlfriend": [582, 432],
"opponent": [102, 102],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [-132, -102],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/spooky.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [770, 100],
"girlfriend": [400, 130],
"opponent": [100, 100],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [0, 0],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [770, 100],
"girlfriend": [400, 130],
"opponent": [100, 100],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": false,

"camera_boyfriend": [0, 0],
Expand Down
2 changes: 1 addition & 1 deletion assets/preload/data/stages/streetlight.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"boyfriend": [1330, 250],
"girlfriend": [1330, 250],
"opponent": [340, 250],
"p4": [-300, -1200],
"p4": [0, 0],
"hide_girlfriend": true,

"camera_boyfriend": [100, 60],
Expand Down
Binary file modified assets/preload/images/menuBGHexL6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions assets/preload/scripts/modcharts/none.hscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
var PlayState = require("PlayState");
var FlxTypedGroup = require("flixel.group.FlxGroup.FlxTypedGroup");
var StrumNote = require("Note.StrumNote");
var Note = require("Note");

var strum:FlxTypedGroup<StrumNote>;
var strumNum:Int = 0;

function onStartModchart(str) {
strum = PlayState.instance.thirdStrums;
strumNum = str;
}

function onUpdatePost(elapsed) {
strum.forEach(function(spr:StrumNote)
{
switch(PlayState.mania) {
case 0 | 1 | 2:
spr.x = (PlayState.instance.player4.x) + (spr.width * spr.noteData) + (5 * spr.noteData);
case 3:
spr.x = (PlayState.instance.player4.x) + (Note.swagWidth * spr.noteData) + (5 * spr.noteData);
default:
spr.x = (PlayState.instance.player4.x) + ((spr.width - Note.lessX[PlayState.mania]) * spr.noteData) + (5 * spr.noteData);
}
spr.x -= 10;
spr.y = (PlayState.instance.player4.y) - 110;
});
}
2 changes: 1 addition & 1 deletion assets/preload/update/tracking/GitVer.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0b
0.8.0d
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_bd_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_ftp_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_http_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_imem_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_mms_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_rar_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_smb_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_tcp_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_udp_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libaccess_vdr_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libcdda_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libdshow_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libdtv_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libdvdnav_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libdvdread_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libfilesystem_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libidummy_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/liblibbluray_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/liblive555_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/librtp_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libscreen_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libsdp_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libshm_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/access/libtimecode_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libvcd_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/access/libzip_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/audio_filter/libgain_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/audio_filter/libkaraoke_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/audio_filter/libmono_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/audio_filter/libnormvol_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/audio_filter/libparam_eq_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/audio_filter/libremap_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/audio_output/libadummy_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/audio_output/libafile_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/audio_output/libamem_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/audio_output/libmmdevice_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/audio_output/libwaveout_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/liba52_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libadpcm_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libaes3_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libaraw_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libavcodec_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libcc_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libcdg_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libcrystalhd_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libcvdsub_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libddummy_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libdmo_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libdts_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libdvbsub_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libdxva2_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libedummy_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libfaad_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libflac_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libg711_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libkate_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/liblibass_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/liblibmpeg2_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/liblpcm_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libmpeg_audio_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libopus_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libpng_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libquicktime_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/librawvideo_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libschroedinger_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libscte27_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libspeex_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libspudec_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libstl_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libsubsdec_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libsubsusf_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libsvcdsub_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libt140_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libtheora_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libtwolame_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libuleaddvaudio_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libvorbis_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libx264_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/codec/libzvbi_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/plugins.dat
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_chroma/libi420_rgb_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_chroma/libi420_yuy2_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_chroma/libi422_i420_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_chroma/libi422_yuy2_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_chroma/librv32_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_chroma/libyuy2_i422_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libadjust_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libalphamask_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libanaglyph_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libatmo_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libball_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libblend_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libcanvas_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libchain_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libclone_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/liberase_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libextract_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libgradfun_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libgradient_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libgrain_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libhqdn3d_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libinvert_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/liblogo_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libmagnify_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libmarq_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libmirror_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libmosaic_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libpanoramix_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libpostproc_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libpuzzle_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libripple_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/librotate_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/librss_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libscale_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libscene_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libsepia_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libswscale_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libwall_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libwave_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_filter/libyuvp_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_output/libcaca_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_output/libdrawable_plugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed plugins/plugins/video_output/libvdummy_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_output/libvmem_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_output/libwingdi_plugin.dll
Binary file not shown.
Binary file removed plugins/plugins/video_output/libyuv_plugin.dll
Binary file not shown.
17 changes: 12 additions & 5 deletions source/CharacterSelectSubstate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,16 @@ class CharacterSelectSubstate extends MusicBeatSubstate
Paths.setModsDirectoryFromType(NONE, '', true);
}

var blockInput:Bool = false;
override function update(elapsed:Float)
{
super.update(elapsed);
if (FlxG.sound.music != null)
Conductor.songPosition = FlxG.sound.music.time;

if (blockInput) return;
if (controls.ACCEPT) {
blockInput = true;
Paths.clearUnusedCache();
character.skipDance = true;
if (character != null) {
Expand All @@ -128,6 +131,7 @@ class CharacterSelectSubstate extends MusicBeatSubstate
leEpicTween();
}
if (controls.BACK) {
blockInput = true;
Paths.clearUnusedCache();
character.skipDance = true;
FlxG.sound.play(Paths.sound('cancelMenu'), 1);
Expand All @@ -136,23 +140,28 @@ class CharacterSelectSubstate extends MusicBeatSubstate
if (controls.NOTE_DOWN_P) {
if(character != null && character.animOffsets.exists('singDOWN')) {
character.playAnim('singDOWN', true);
canDance = false;
}
}
if (controls.NOTE_LEFT_P) {
if(character != null && character.animOffsets.exists('singLEFT')) {
character.playAnim('singLEFT', true);
canDance = false;
}
}
if (controls.NOTE_RIGHT_P) {
if(character != null && character.animOffsets.exists('singRIGHT')) {
character.playAnim('singRIGHT', true);
canDance = false;
}
}
if (controls.NOTE_UP_P) {
if(character != null && character.animOffsets.exists('singUP')) {
character.playAnim('singUP', true);
canDance = false;
}
}
if (controls.NOTE_DOWN_R || controls.NOTE_LEFT_R || controls.NOTE_RIGHT_R || controls.NOTE_UP_R) canDance = true;
if (controls.UI_LEFT_P) {
changeSelection(-1);
}
Expand All @@ -173,10 +182,11 @@ class CharacterSelectSubstate extends MusicBeatSubstate
super.destroy();
}

var canDance = true;
override function beatHit() {
super.beatHit();

if (character != null) character.dance();
if (character != null && canDance) character.dance();
}

var dummyTween:FlxTween = null;
Expand Down Expand Up @@ -234,10 +244,7 @@ class CharacterSelectSubstate extends MusicBeatSubstate
Paths.setModsDirectoryFromType(NONE, '', true);
}

var alreadyDoingExit:Bool = false;
function leEpicTween() {
if (alreadyDoingExit) return;
alreadyDoingExit = true;
FlxTween.tween(bg, {alpha: 0}, 0.7, {
onComplete: function(_) {
bg.kill();
Expand All @@ -253,6 +260,6 @@ class CharacterSelectSubstate extends MusicBeatSubstate
}
});
}
new FlxTimer().start(0.75, function(_){ close(); });
new FlxTimer().start(0.75, _ -> close());
}
}
2 changes: 1 addition & 1 deletion source/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FreeplayState extends MusicBeatState
override function create()
{
Paths.clearUnusedCache();
Paths.refreshModsMaps();
Paths.refreshModsMaps(false, true, true);
instance = this;

persistentUpdate = true;
Expand Down
5 changes: 1 addition & 4 deletions source/FunkinLua.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1318,10 +1318,7 @@ class FunkinLua {
} else if(PlayState.instance.members.indexOf(PlayState.instance.dadGroup) < position) {
position = PlayState.instance.members.indexOf(PlayState.instance.dadGroup);
}
if (PlayState.instance.addedCharaGroups)
PlayState.instance.insert(position, sprite);
else
getInstance().add(sprite);
PlayState.instance.insert(position, sprite);
}
}
sprite.wasAdded = true;
Expand Down
12 changes: 9 additions & 3 deletions source/GameplayChangersSubstate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class GameplayChangersSubstate extends MusicBeatSubstate
option.scrollSpeed = 2.0;
option.minValue = 0.35;
option.changeValue = 0.05;
option.slowChangeValue = 0.01;
option.decimals = 2;
if (goption.getValue() != "constant")
{
Expand All @@ -39,13 +40,14 @@ class GameplayChangersSubstate extends MusicBeatSubstate
else
{
option.displayFormat = "%v";
option.maxValue = 6;
option.maxValue = 10;
}
optionsArray.push(option);

var option:GameplayOption = new GameplayOption('Playback Rate', 'songspeed', 'float', 1);
option.scrollSpeed = 2;
option.changeValue = 0.25;
option.slowChangeValue = 0.05;
option.minValue = 0.1;
option.maxValue = 10; //peeps wanted 10x speed
option.displayFormat = '%vX';
Expand All @@ -57,6 +59,7 @@ class GameplayChangersSubstate extends MusicBeatSubstate
option.minValue = 0;
option.maxValue = 5;
option.changeValue = 0.1;
option.slowChangeValue = 0.1;
option.displayFormat = '%vX';
optionsArray.push(option);

Expand All @@ -65,6 +68,7 @@ class GameplayChangersSubstate extends MusicBeatSubstate
option.minValue = 0.5;
option.maxValue = 5;
option.changeValue = 0.1;
option.slowChangeValue = 0.1;
option.displayFormat = '%vX';
optionsArray.push(option);

Expand Down Expand Up @@ -249,7 +253,7 @@ class GameplayChangersSubstate extends MusicBeatSubstate
if(pressed) {
var add:Dynamic = null;
if(curOption.type != 'string') {
add = controls.UI_LEFT ? -curOption.changeValue : curOption.changeValue;
add = (controls.UI_LEFT ? (FlxG.keys.pressed.CONTROL ? -curOption.slowChangeValue : -curOption.changeValue) : (FlxG.keys.pressed.CONTROL ? curOption.slowChangeValue : curOption.changeValue));
}

switch(curOption.type)
Expand Down Expand Up @@ -292,7 +296,7 @@ class GameplayChangersSubstate extends MusicBeatSubstate
if (curOption.getValue() == "constant")
{
oOption.displayFormat = "%v";
oOption.maxValue = 6;
oOption.maxValue = 10;
}
else
{
Expand Down Expand Up @@ -471,6 +475,7 @@ class GameplayOption
public var curOption:Int = 0; //Don't change this
public var options:Array<String> = null; //Only used in string type
public var changeValue:Dynamic = 1; //Only used in int/float/percent type, how much is changed when you PRESS
public var slowChangeValue:Dynamic = 1;
public var minValue:Dynamic = null; //Only used in int/float/percent type
public var maxValue:Dynamic = null; //Only used in int/float/percent type
public var decimals:Int = 1; //Only used in float/percent type
Expand Down Expand Up @@ -518,6 +523,7 @@ class GameplayOption

case 'percent':
displayFormat = '%v%';
slowChangeValue = 0.01;
changeValue = 0.01;
minValue = 0;
maxValue = 1;
Expand Down
4 changes: 2 additions & 2 deletions source/InitState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class InitState extends FlxState
//why does the fps shit fail to work
Main.toggleFPS(ClientPrefs.settings.get("showFPS"));

Paths.refreshModsMaps();
Paths.refreshModsMaps(true, true, true);

#if HSCRIPT_ALLOWED
final foldersToCheck:Array<String> = ["classes", "states", "substates"];
Expand Down Expand Up @@ -109,7 +109,7 @@ class InitState extends FlxState
parseClasses(["classes"], [H_CLASS]);*/ //Reparse classes with hInit on to do any stuff that needs to be done after all classes have been parsed once!!
#end

#if HSCRIPT_ALLOWED
#if (HSCRIPT_ALLOWED && HSCRIPT_DEBUG)
trace(InitState.scriptStaticVars);
#end
}
Expand Down
2 changes: 1 addition & 1 deletion source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Main extends Sprite
*
* Use `debugVersion` to get the version with build date.
*/
public static final denpaEngineVersion:GameVersion = new GameVersion(0, 8, 0, 'c');
public static final denpaEngineVersion:GameVersion = new GameVersion(0, 8, 0, 'd');

public static var fpsCounter:FramerateDisplay;
public static var ramCount:DebugDisplay;
Expand Down
5 changes: 2 additions & 3 deletions source/Modcharts.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ package;
import haxescript.Hscript;

class Modcharts {

public var hscript:Hscript;
public var strum:Int;
public function new(name:String = 'none', strumNum:Int = 0) {
if (name != 'none' && strumNum < 2)
if (strumNum > 1 || (name != 'none' && strumNum < 2))
hscript = new Hscript(Paths.hscript('scripts/modcharts/$name'), true);
this.strum = strumNum;
if (hscript == null) return;
Expand All @@ -21,7 +20,7 @@ class Modcharts {
hscript.stop();
hscript = null;
}
if (newName != 'none' && strum < 2)
if (strum > 1 || (newName != 'none' && strum < 2))
hscript = new Hscript(Paths.hscript('scripts/modcharts/$newName'), true);
if (hscript == null) return;
PlayState.instance.hscripts.push(hscript);
Expand Down
Loading

0 comments on commit 2aa1034

Please sign in to comment.