From: Jayce Newton Date: Mon, 23 Dec 2013 13:55:10 +0000 (+0800) Subject: Song doesn't restart if player fails in event mode now WHAT THIS ISN'T WHAT ISS26... X-Git-Url: https://git.cameron1729.xyz/?a=commitdiff_plain;h=8733dacdef028d2907e0ab0e110b4af2888398df;p=GrooveNights.git Song doesn't restart if player fails in event mode now WHAT THIS ISN'T WHAT ISS26 IS ABOUT FUCK YOU I MAKE MY OWN RULES --- diff --git a/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml b/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml index 87e1b1f..5cb9af5 100644 --- a/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml +++ b/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml @@ -12,7 +12,7 @@ OnCommand="%function(self) self:diffusealpha(0); InitScreen('ScreenEvaluation'); SOUND:PlayOnce(gnPath); end" /> + @@ -28,7 +29,7 @@ end"> diff --git a/Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/default.xml b/Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/default.xml index 272e0d5..0173c1e 100644 --- a/Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/default.xml +++ b/Themes/GrooveNights/BGAnimations/ScreenGameplay overlay/default.xml @@ -2960,13 +2960,19 @@ StepP2MessageCommand="%function(self) diff --git a/Themes/GrooveNights/Scripts/gnSystem.lua b/Themes/GrooveNights/Scripts/gnSystem.lua index de1d653..129d519 100644 --- a/Themes/GrooveNights/Scripts/gnSystem.lua +++ b/Themes/GrooveNights/Scripts/gnSystem.lua @@ -176,6 +176,7 @@ RateRestoreMessage(false); gnOptionMod = 0; gnOptionModType = 0; gnStaminaSongPercent = 0; + gnNoRestart = false; end @@ -274,6 +275,13 @@ end +if scn == 'ScreenGameplayFailed' then +MESSAGEMAN:Broadcast('NoRestart'); +gnNoRestart = true +end + + + if scn == 'ScreenEvaluation' then ScreenTransitionWhoosh('short'); gnSongCount = gnSongCount + 1; diff --git a/Themes/GrooveNights/metrics.ini b/Themes/GrooveNights/metrics.ini index fc5ad25..95ba94a 100644 --- a/Themes/GrooveNights/metrics.ini +++ b/Themes/GrooveNights/metrics.ini @@ -2403,7 +2403,7 @@ CompareScores=1 BPMDisplayX=SCREEN_CENTER_X BPMDisplayY=SCREEN_TOP-44 BPMDisplayOnCommand=sleep,0.5;zoom,1.1;decelerate,0.8;addy,100 -BPMDisplayOffCommand=%function(self) MESSAGEMAN:Broadcast('ScreenTransition'); end +BPMDisplayOffCommand= NextScreen=@GetGameplayNextScreen() PrevScreen=@SongSelectionScreen() FailAfter30Misses=1