f257f19dad
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.
28 lines
653 B
Lua
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 |