new ending screens
This commit is contained in:
@@ -171,8 +171,9 @@ function SelectEndingScreen()
|
||||
end
|
||||
|
||||
local grade = STATSMAN:GetBestFinalGrade()
|
||||
if Grade:Compare( grade, "Grade_Tier03" ) >= 0 then return "ScreenMusicScroll" end
|
||||
return "ScreenCredits"
|
||||
if Grade:Compare( grade, "Grade_Tier03" ) >= 0 then return "ScreenEnding3" end
|
||||
if Grade:Compare( grade, "Grade_Tier05" ) >= 0 then return "ScreenEnding2" end
|
||||
return "ScreenEnding1"
|
||||
end
|
||||
|
||||
function ScreenProfileSaveNextScreen()
|
||||
|
||||
@@ -86,6 +86,15 @@ function tableshuffle( t )
|
||||
return ret
|
||||
end
|
||||
|
||||
function tableslice( t, num )
|
||||
local ret = { }
|
||||
for i=1,table.getn(t) do
|
||||
table.insert( ret, i, t[i] );
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
|
||||
function GetRandomSongBackground()
|
||||
for i=0,50 do
|
||||
local song = SONGMAN:GetRandomSong()
|
||||
|
||||
Reference in New Issue
Block a user