Files
itgmania212121/Themes/default/Scripts/04 Other.lua
T
ListenerJubatus f257f19dad Add new 5.1 default theme Lambda
I'd like to thank everyone who made this possible;, including but not
limited to Riakodoadm, MrThatKid, kyzentun, Luizsan, JoseVarelaP,
everyone else who provided feedback and bug reports.
2017-08-08 01:07:34 -06:00

28 lines
653 B
Lua

local numbered_stages= {
Stage_1st= true,
Stage_2nd= true,
Stage_3rd= true,
Stage_4th= true,
Stage_5th= true,
Stage_6th= true,
Stage_Next= true,
}
function thified_curstage_index(on_eval)
local cur_stage= GAMESTATE:GetCurrentStage()
local adjust= 1
-- hack: ScreenEvaluation shows the current stage, but it needs to show
-- the last stage instead. Adjust the amount.
if on_eval then
adjust= 0
end
if numbered_stages[cur_stage] then
return FormatNumberAndSuffix(GAMESTATE:GetCurrentStageIndex() + adjust)
else
return ToEnumShortString(cur_stage)
end
end
function check_stop_course_early()
return course_stopped_by_pause_menu
end