local stages = Def.ActorFrame {
};

for _, s in ipairs(Stage) do
	if s == "Stage_Normal" then
		stages[#stages+1] = LoadFont("_songtitles") .. {
			InitCommand=cmd(shadowlength,0;zoom,0.5);
			SetCommand=function(self, params)
				self:visible( params.StageToShow == s );
				if params.StageNumber then
					self:settext( string.format("%s", FormatNumberAndSuffix(params.StageNumber+1)) );
				end
			end;
		}
	else
		stages[#stages+1] = LoadActor("_stage " .. s) .. {
			SetCommand=function(self, params)
				self:visible( params.StageToShow == s );
			end;
		}
	end
end

return stages;
