From 4fcdb8aa1e8997df7619e26736be2d73e2225cb8 Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Sat, 3 Feb 2024 01:12:48 -0700 Subject: [PATCH] gameoversd --- source/funkin/game/GameOverSubstate.hx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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