i just got stupid

This commit is contained in:
craftersshaft
2021-05-27 14:50:13 -04:00
parent 190670c3b2
commit 760ac6869c
3 changed files with 19 additions and 10 deletions

View File

@ -125,7 +125,7 @@ class PlayState extends MusicBeatState
private var curSong:String = "";
private var gfSpeed:Int = 1;
private var health:Float = 1;
public var health:Float = 1; //making public because sethealth doesnt work without it
private var combo:Int = 0;
public static var misses:Int = 0;
private var accuracy:Float = 0.00;
@ -143,7 +143,7 @@ class PlayState extends MusicBeatState
private var generatedMusic:Bool = false;
private var startingSong:Bool = false;
public var iconP1:HealthIcon; //making these public for modcharts cause i dont know how else to do it
public var iconP1:HealthIcon; //making these public again because i may be stupid
public var iconP2:HealthIcon; //what could go wrong?
public var camHUD:FlxCamera;
private var camGame:FlxCamera;
@ -2831,6 +2831,7 @@ class PlayState extends MusicBeatState
if (controls.DOWN_P){luaModchart.executeState('keyPressed',["down"]);};
if (controls.UP_P){luaModchart.executeState('keyPressed',["up"]);};
if (controls.RIGHT_P){luaModchart.executeState('keyPressed',["right"]);};
if (controls.ACCEPT){luaModchart.executeState('keyPressed',["accept"]);};
};
#end