From 882f4ea123243d29c497c1865ffd7271b8382e84 Mon Sep 17 00:00:00 2001 From: Jayce Newton Date: Mon, 30 Dec 2013 22:36:51 +0800 Subject: [PATCH] Look at this fuck, you wouldn't eat shit off this cunt --- .../BGAnimations/ScreenEvaluation overlay.xml | 31 +++++++++++++++-- .../ScreenGameplay overlay/default.xml | 6 ++-- .../BGAnimations/ScreenStage overlay/default.xml | 2 +- ...eenEvaluation LifeGraph FEC p1 (res 270x40).png | Bin 123 -> 122 bytes ...eenEvaluation LifeGraph FEC p2 (res 270x40).png | Bin 132 -> 123 bytes ...eenEvaluation LifeGraph FFC p1 (res 270x40).png | Bin 122 -> 119 bytes ...eenEvaluation LifeGraph FFC p2 (res 270x40).png | Bin 129 -> 122 bytes ...eenEvaluation LifeGraph FGC p1 (res 270x40).png | Bin 121 -> 120 bytes ...eenEvaluation LifeGraph FGC p2 (res 270x40).png | Bin 131 -> 121 bytes .../ScreenEvaluation grade frame p1/default.xml | 12 +++++++ .../Graphics/ScreenEvaluationRave LifeGraph p1.png | Bin 290 -> 564 bytes ...luationStage ComboGraph p1 max (res 271x18).png | Bin 2808 -> 157 bytes ...tionStage ComboGraph p1 normal (res 271x18).png | Bin 2808 -> 146 bytes ...tionStage ComboGraph p2 normal (res 271x18).png | Bin 2808 -> 146 bytes .../ScreenSelectMusic banner frame/default.xml | 7 ++-- Themes/GrooveNights/Scripts/GrooveNights.lua | 2 +- Themes/GrooveNights/Scripts/gnSystem.lua | 37 +++++++++++++++++---- 17 files changed, 82 insertions(+), 15 deletions(-) diff --git a/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml b/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml index 5cb9af5..3bf1cdb 100644 --- a/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml +++ b/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml @@ -8,13 +8,40 @@ end"> OnCommand="%function(self) self:diffusealpha(0); InitScreen('ScreenEvaluation'); end" /> + + + + + + + diff --git a/Themes/GrooveNights/Scripts/GrooveNights.lua b/Themes/GrooveNights/Scripts/GrooveNights.lua index 5493e87..cd22069 100644 --- a/Themes/GrooveNights/Scripts/GrooveNights.lua +++ b/Themes/GrooveNights/Scripts/GrooveNights.lua @@ -117,7 +117,7 @@ function MenuButtonGiveUp() gnLowestRestartPercent = 0.05; gnHighestRestartPercent = 99.8; -if gnStaminaSongPercent == nil then gnStaminaSongPercent = 0; end +if gnSongElapsedPercent == nil then gnSongElapsedPercent = 0; end -- Set to true to enable this feature return true diff --git a/Themes/GrooveNights/Scripts/gnSystem.lua b/Themes/GrooveNights/Scripts/gnSystem.lua index 129d519..705d756 100644 --- a/Themes/GrooveNights/Scripts/gnSystem.lua +++ b/Themes/GrooveNights/Scripts/gnSystem.lua @@ -162,7 +162,7 @@ end if scn == 'ScreenSelectMusic' then ScreenTransitionWhoosh('short'); -RateRestoreMessage(false); +RateRestoreMessage(true); if curRate == nil then curRate = 1 end gnBlazedP1 = 0; gnBlazedP2 = 0; @@ -175,7 +175,7 @@ RateRestoreMessage(false); gnStatFrequency = gnStatFrequency + 1; gnOptionMod = 0; gnOptionModType = 0; - gnStaminaSongPercent = 0; + gnSongElapsedPercent = 0; gnNoRestart = false; end @@ -246,12 +246,11 @@ if scn == 'ScreenGameplay' then gnLowHealth = false; gnLowHealth = false; gnVoiceTimer = 0; - gnStaminaTimer = 0; gnRandomVoice = math.random(1,5); gnRandomMark1 = math.random(5,92); gnRandomMark2 = math.random(5,92); gnRandomMark3 = math.random(5,92); - gnStaminaSongPercent = 0; + gnSongElapsedPercent = 0; gnStamina25Window = 0; gnStamina50Window = 0; gnStamina75Window = 0; @@ -271,6 +270,22 @@ if scn == 'ScreenGameplay' then gnSameGrade = 0; gnSoundCheck = true; gnAward = 0; + gnOptionCheck = false; + + -- Each 0 represents 1% of the song (0% inclusive), there are 202 in total, 101 per player. + gnSongTimeline = { + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 + } end @@ -285,7 +300,9 @@ end if scn == 'ScreenEvaluation' then ScreenTransitionWhoosh('short'); gnSongCount = gnSongCount + 1; -RateRestoreMessage(false); +if not (GAMESTATE:IsEventMode() and MenuButtonGiveUp() and not gnNoRestart and not GAMESTATE:IsCourseMode()) then + RateRestoreMessage(false); + end end @@ -351,11 +368,17 @@ end -- ==='RATE MOD HAS BEEN RESTORED' MESSAGE=== -- Call with false to display message, call with true to display the message AND reset the mod function RateRestoreMessage(i) - if GetRateMod() ~= '1.0x' then + if GetRateMod() ~= '1.0x' then if i then GAMESTATE:ApplyGameCommand('mod, 1.0xmusic',1); + gnOptionCheck = true; end - SCREENMAN:SystemMessage('Rate Modifier has been restored to 1.0x') + SCREENMAN:SystemMessage('Rate Modifier has been restored to 1.0x'); + else + if gnOptionCheck then + gnOptionCheck = false; + SCREENMAN:SystemMessage('Rate Modifier has been restored to 1.0x'); + end end end -- 2.11.0