Files
itgmania212121/Themes/default/Scripts/02 BranchOverrides.lua
T
ListenerJubatus 35f8e70d58 A few more theme tweaks
Fix the extra stage badge on evaluation, style fixes for ScreenGameOver, attempt to have ScreenContinue branch respect AutoSetStyle.
2018-08-05 10:01:59 -06:00

21 lines
496 B
Lua

Branch.OptionsEdit = function()
if SONGMAN:GetNumSongs() == 0 and SONGMAN:GetNumAdditionalSongs() == 0 then
return "ScreenHowToInstallSongs"
end
return "ScreenEditMenu"
end,
AfterContinue = function()
if GAMESTATE:GetNumPlayersEnabled() == 0 then
return "ScreenGameOver"
end
if STATSMAN:GetStagesPlayed() == 0 then
if THEME:GetMetric("Common","AutoSetStyle") == false then
return "ScreenSelectStyle"
else
return "ScreenProfileLoad"
end
end
return "ScreenProfileLoad"
end