Modified lua for aplowman's new screen

This commit is contained in:
Charles Lohr
2005-01-27 04:19:16 +00:00
parent d6e911df60
commit ccbd5beb7b
+1 -11
View File
@@ -3,21 +3,11 @@ function SongSelectionScreen()
if PlayModeName() == "Oni" then return "ScreenSelectCourseOni" end if PlayModeName() == "Oni" then return "ScreenSelectCourseOni" end
if PlayModeName() == "Endless" then return "ScreenSelectCourseEndless" end if PlayModeName() == "Endless" then return "ScreenSelectCourseEndless" end
if IsNetConnected() then ReportStyle() end if IsNetConnected() then ReportStyle() end
if IsNetSMOnline() then return LoginScreen() end if IsNetSMOnline() then return "ScreenSMOnlineLogin" end
if IsNetConnected() then return "ScreenNetSelectMusic" end if IsNetConnected() then return "ScreenNetSelectMusic" end
return "ScreenSelectMusic" return "ScreenSelectMusic"
end end
function LoginScreen()
if not IsSMOnlineLoggedIn(1) and IsPlayerEnabled(1) then
return "ScreenSMOnlineLogin1"
elseif not IsSMOnlineLoggedIn(2) and IsPlayerEnabled(2) then
return "ScreenSMOnlineLogin2"
else
return "ScreenNetRoom"
end
end
function SelectGameplayScreen() function SelectGameplayScreen()
if IsExtraStage() or IsExtraStage2() then return "ScreenGameplay" end if IsExtraStage() or IsExtraStage2() then return "ScreenGameplay" end
return "ScreenGameplay" return "ScreenGameplay"