diff --git a/source/funkin/game/GameOverSubstate.hx b/source/funkin/game/GameOverSubstate.hx index c9957f14..5646b612 100644 --- a/source/funkin/game/GameOverSubstate.hx +++ b/source/funkin/game/GameOverSubstate.hx @@ -131,7 +131,7 @@ class GameOverSubstate extends MusicBeatSubstate { super.beatHit(curBeat); - gameoverScript.call("onBeatHit", [curBeat]); + gameoverScript.call("beatHit", [curBeat]); if (__cancelDefault) return; @@ -140,6 +140,12 @@ class GameOverSubstate extends MusicBeatSubstate character.playAnim("deathLoop", true, DANCE); } + override function stepHit(curStep:Int) + { + super.stepHit(curStep); + gameoverScript.call("stepHit", [curStep]); + } + var isEnding:Bool = false; function endBullshit():Void