[ScreenSystemLayer]
CreditsP1X=-SCREEN_WIDTH
CreditsP1Y=-SCREEN_HEIGHT
CreditsP2X=-SCREEN_WIDTH
CreditsP2Y=-SCREEN_HEIGHT

[ScreenTitleMenu]
AllowDisabledPlayerInput=1
MemoryCardIcons=1

ChoiceNames=01,02,09
Choice01=stopmusic;screen,ScreenTitleDecideDance
Choice02=stopmusic;screen,ScreenSelectNumPlayers2;PlayMode,rave
Choice03=stopmusic;screen,ScreenSelectStyle2;PlayMode,nonstop
Choice04=stopmusic;screen,ScreenSelectStyle2Workout
Choice05=stopmusic;screen,ScreenJukeboxMenu
# Choice06=stopmusic;screen,ScreenStartEditMenu
Choice06=stopmusic;screen,ScreenEditMenu
Choice07=stopmusic;screen,ScreenCourseManager
Choice08=stopmusic;screen,ScreenRecordsMenu
Choice09=stopmusic;screen,ScreenOptionsMenu
Choice10=stopmusic;screen,ScreenSelectNumPlayersNewTraining;PlayMode,regular

ScrollerX=SCREEN_CENTER_X-200
ScrollerY=SCREEN_CENTER_Y-128
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(32*offset); end

CodeNames=
VersionOnCommand=hidden,1
SongsOnCommand=hidden,1
MaxStagesOnCommand=hidden,1
MaxStagesText=round
LifeDifficultyOnCommand=hidden,1
LogoHomeOnCommand=hidden,1
LogoOnCommand=hidden,1

HeaderX=SCREEN_LEFT+36
HeaderY=SCREEN_TOP+38
HeaderOnCommand=DrawOrder,10
HeaderOffCommand=
FooterX=SCREEN_CENTER_X
FooterY=SCREEN_BOTTOM-17-16
FooterOffCommand=
FooterOnCommand=DrawOrder,10
HelpX=SCREEN_CENTER_X
HelpY=SCREEN_BOTTOM-17-18
HelpOffCommand=
HelpOnCommand=DrawOrder,10;zoom,0.7

[ScreenTitleDecideDance]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenTitleMenu
ChoiceNames=01
Choice01=

[ScreenSelectStyle2]
OptionOrderLeft=2:1
OptionOrderRight=1:2
OptionOrderAuto=1:2
NumIconParts=0
NumCursorParts=0
NumPreviewParts=1
ShowScroller=1
WrapScroller=1
ScrollerFastCatchup=1
PreviewPart1X=SCREEN_CENTER_X-8000
PreviewPart1Y=SCREEN_CENTER_Y+130
PreviewPart2X=SCREEN_CENTER_X-8000
PreviewPart2Y=SCREEN_CENTER_Y+130
NumChoicesOnPage1=10
SharedPreviewAndCursor=1
CursorPart1P1OffsetXFromIcon=0
CursorPart1P1OffsetYFromIcon=0
CursorPart1P2OffsetXFromIcon=0
CursorPart1P2OffsetYFromIcon=0
CursorPart1OnCommand=draworder,1;zoom,0;sleep,.4;linear,.2;zoom,1
CursorPart1ChangeCommand=
PreSwitchPageSeconds=0
PostSwitchPageSeconds=0
DisabledColor=.5,.5,.5,0
ExplanationPage1X=-1000
ExplanationPage1Y=-1000
ExplanationPage1SwitchToPage1Command=
ExplanationPage1SwitchToPage2Command=
ExplanationPage1OnCommand=hidden,1
ExplanationPage1OffCommand=
ExplanationPage2X=-1000
ExplanationPage2Y=-1000
ExplanationPage2SwitchToPage1Command=
ExplanationPage2SwitchToPage2Command=
ExplanationPage2OnCommand=hidden,1
ExplanationPage2OffCommand=
MorePage1X=SCREEN_CENTER_X-180
MorePage1Y=SCREEN_CENTER_Y-100
MorePage1SwitchToPage1Command=
MorePage1SwitchToPage2Command=
MorePage1OnCommand=
MorePage1OffCommand=
MorePage2X=SCREEN_CENTER_X-180
MorePage2Y=SCREEN_CENTER_Y-100
MorePage2SwitchToPage1Command=
MorePage2SwitchToPage2Command=
MorePage2OnCommand=
MorePage2OffCommand=
IdleCommentSeconds=0
IdleTimeoutSeconds=0

ChoiceNames=1,2,3
Choice1=@"Style,single;Difficulty," .. GetInitialDifficulty() .. ";deletepreparedscreens;screen,ScreenSelectStyleLeviathan"
Choice2=@"Style,versus;Difficulty," .. GetInitialDifficulty() .. ";deletepreparedscreens;screen,ScreenSelectStyleLeviathan"
Choice3=@"Style,double;Difficulty," .. GetInitialDifficulty() .. ";deletepreparedscreens;screen,ScreenSelectStyleLeviathan"

[ScreenSelectMaster]
OptionOrderLeft=2:1
OptionOrderRight=1:2
OptionOrderAuto=1:2
NumIconParts=0
NumCursorParts=0
NumPreviewParts=1
ShowScroller=1
WrapScroller=1
ScrollerFastCatchup=1
PreviewPart1X=SCREEN_CENTER_X-8000
PreviewPart1Y=SCREEN_CENTER_Y+130
PreviewPart2X=SCREEN_CENTER_X-8000
PreviewPart2Y=SCREEN_CENTER_Y+130
NumChoicesOnPage1=10
SharedPreviewAndCursor=1
CursorPart1P1OffsetXFromIcon=0
CursorPart1P1OffsetYFromIcon=0
CursorPart1P2OffsetXFromIcon=0
CursorPart1P2OffsetYFromIcon=0
CursorPart1OnCommand=draworder,1;zoom,0;sleep,.4;linear,.2;zoom,1
CursorPart1ChangeCommand=
PreSwitchPageSeconds=0
PostSwitchPageSeconds=0
DisabledColor=.5,.5,.5,0
ExplanationPage1X=-1000
ExplanationPage1Y=-1000
ExplanationPage1SwitchToPage1Command=
ExplanationPage1SwitchToPage2Command=
ExplanationPage1OnCommand=hidden,1
ExplanationPage1OffCommand=
ExplanationPage2X=-1000
ExplanationPage2Y=-1000
ExplanationPage2SwitchToPage1Command=
ExplanationPage2SwitchToPage2Command=
ExplanationPage2OnCommand=hidden,1
ExplanationPage2OffCommand=
MorePage1X=SCREEN_CENTER_X-180
MorePage1Y=SCREEN_CENTER_Y-100
MorePage1SwitchToPage1Command=
MorePage1SwitchToPage2Command=
MorePage1OnCommand=
MorePage1OffCommand=
MorePage2X=SCREEN_CENTER_X-180
MorePage2Y=SCREEN_CENTER_Y-100
MorePage2SwitchToPage1Command=
MorePage2SwitchToPage2Command=
MorePage2OnCommand=
MorePage2OffCommand=
IdleCommentSeconds=0
IdleTimeoutSeconds=0

# WE DON'T NEED A HEADER AND FOOTER, THOSE ARE SHIT
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1
SongsOnCommand=hidden,1
TimerOnCommand=hidden,1
ShowScrollBar=0
ShowUnderlines=0
CapitalizeAllOptionNames=0


[ScreenSelectZCharacter]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenTitleMenu
ChoiceNames=01,02,03,04,05,06
Choice01=lua,function() end;screen,ScreenCharacterSelectedHarpuia
Choice02=lua,function() end;screen,ScreenCharacterSelectedLeviathan
Choice03=lua,function() end;screen,ScreenCharacterSelectedFefnir
Choice04=lua,function() end;screen,ScreenCharacterSelectedPhantom
Choice05=lua,function() end;screen,ScreenCharacterSelectedCyberX
Choice06=lua,function() end;screen,ScreenCharacterSelected

ScrollerX=SCREEN_CENTER_X-150
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=%function(self) self:z(-200); self:SetDrawByZPosition(true) self:zoom(0) self:addx(-360) self:decelerate(0.2) self:zoom(1) self:addx(360) end
ScrollerOffCommand=
ScrollerTransform=function(self,offset,itemIndex,numItems) local theta=offset*math.pi*2/numItems; self:x(math.sin(theta)*100); self:z(math.cos(theta)*200); self:y(self:GetZ()/2.8); local focus=scale(self:GetZ(),0,200,-1,1); focus=clamp(focus,0,1); local bright=scale(focus,0,1,0.3,1); self:diffuse(bright,bright,bright,1); local zoomv=scale(focus,0,0.5,0.7,1); self:zoom(zoomv); end
ScrollerSecondsPerItem=0.1
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=zoomz,1.1
ScrollLoseFocusCommand=zoomz,1

[ScreenCharacterSelectedHarpuia]
Fallback=ScreenTitleDecideDance
Class=ScreenSelectMaster

[ScreenCharacterSelectedLeviathan]
Fallback=ScreenTitleDecideDance
Class=ScreenSelectMaster

[ScreenCharacterSelectedFefnir]
Fallback=ScreenTitleDecideDance
Class=ScreenSelectMaster

[ScreenCharacterSelectedPhantom]
Fallback=ScreenTitleDecideDance
Class=ScreenSelectMaster

[ScreenCharacterSelectedCyberX]
Fallback=ScreenTitleDecideDance
Class=ScreenSelectMaster

[ScreenSelectPlayModeLeviathan]
Fallback=ScreenSelectStyle2
Class=ScreenSelectMaster

[ScreenSelectPlayModeLeviathan]
Fallback=ScreenSelectStyle2
Class=ScreenSelectMaster

ScrollerX=SCREEN_CENTER_X-150
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=%function(self) self:z(-200); self:SetDrawByZPosition(true) self:zoom(0) self:addx(-360) self:decelerate(0.2) self:zoom(1) self:addx(360) end
ScrollerOffCommand=
ScrollerTransform=function(self,offset,itemIndex,numItems) local theta=offset*math.pi*2/numItems; self:x(math.sin(theta)*100); self:z(math.cos(theta)*200); self:y(self:GetZ()/2.8); local focus=scale(self:GetZ(),0,200,-1,1); focus=clamp(focus,0,1); local bright=scale(focus,0,1,0.3,1); self:diffuse(bright,bright,bright,1); local zoomv=scale(focus,0,0.5,0.7,1); self:zoom(zoomv); end
ScrollerSecondsPerItem=0.1
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=zoomz,1.1
ScrollLoseFocusCommand=zoomz,1

[ScreenSelectStyleLeviathan]
Fallback=ScreenSelectPlayMode
Class=ScreenSelectMaster

ScrollerX=SCREEN_CENTER_X-150
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=%function(self) self:z(-200); self:SetDrawByZPosition(true) self:zoom(0) self:addx(-360) self:decelerate(0.2) self:zoom(1) self:addx(360) end
ScrollerOffCommand=
ScrollerTransform=function(self,offset,itemIndex,numItems) local theta=offset*math.pi*2/numItems; self:x(math.sin(theta)*100); self:z(math.cos(theta)*200); self:y(self:GetZ()/2.8); local focus=scale(self:GetZ(),0,200,-1,1); focus=clamp(focus,0,1); local bright=scale(focus,0,1,0.3,1); self:diffuse(bright,bright,bright,1); local zoomv=scale(focus,0,0.5,0.7,1); self:zoom(zoomv); end
ScrollerSecondsPerItem=0.1
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=zoomz,1.1
ScrollLoseFocusCommand=zoomz,1


[ScreenSelectPlayMode]
Class=ScreenSelectMaster
Fallback=ScreenSelectMaster
InitCommand=fov,90
PrevScreen=@ScreenTitleBranch()
FooterOnCommand=diffusealpha,0;linear,0.3;diffusealpha,1
TimerSeconds=20
ChoiceNames=1,2,3,4
Choice1=PlayMode,regular;screen,ScreenSelectMusic
Choice2=PlayMode,rave;screen,ScreenSelectMusicRave
Choice3=PlayMode,nonstop;screen,ScreenSelectMusicCourse
DefaultChoice=1
StyleIcon=0
MemoryCardIcons=1
OverrideSleepAfterTweenOffSeconds=1
SleepAfterTweenOffSeconds=1
OverrideLockInputSeconds=1
LockInputSeconds=0.5
WrapCursor=1

OptionOrderLeft=4:3,3:2,2:1
OptionOrderRight=1:2,2:3,3:4
OptionOrderAuto=1:2,2:3,3:4
NumIconParts=0
NumCursorParts=0
NumPreviewParts=1
ShowScroller=1
WrapScroller=1
ScrollerFastCatchup=1


[WheelItemBase]
TextOnCommand=
TextX=0
TextY=0

[MusicWheelItem]
Fallback=WheelItemBase
IconX=-136
IconY=0
IconOnCommand=
SongNameX=-30
SongNameY=0
SongNameOnCommand=
SectionX=-145
SectionY=0
SectionOnCommand=zoom,1.0;maxwidth,250;horizalign,left
RouletteX=-30
RouletteY=0
RouletteOnCommand=Zoom,1.3
CourseNameX=-130
CourseNameY=0
CourseNameOnCommand=shadowlength,0;zoom,1.3;horizAlign,left;maxwidth,200
SortX=-130
SortY=0
SortOnCommand=shadowlength,0;zoom,1.3;horizAlign,left;maxwidth,200
GradeP1X=SCREEN_CENTER_X-238
GradeP1Y=0
GradeP2X=SCREEN_CENTER_X-202
GradeP2Y=0

[MusicWheel]
ItemCurveX=140
ItemSpacingY=50
WheelRadius=490
WheelCenterX=490
WheelCenterY=0
TotalWheelItems=30
NoCurving=0
NumWheelItems=14
Use3D=0
Wheel3DRadius=200 # Possibly safe defaults?

# This restores the artist text in the wheel
# Esto recupera el texto del artista en la rueda de canciones.
[TextBanner]
TitleX=-85
TitleY=0
TitleOnCommand=shadowlength,1;horizalign,left
SubtitleX=-85
SubtitleY=0
SubtitleOnCommand=shadowlength,1;horizalign,left
ArtistX=-85
ArtistY=0
ArtistOnCommand=shadowlength,1;horizalign,left
ArtistPrependString=/
TwoLinesTitleCommand=zoom,0.9;maxwidth,280;y,-8
TwoLinesSubtitleCommand=hidden,1
TwoLinesArtistCommand=zoom,0.6;maxwidth,400;y,10
ThreeLinesTitleCommand=zoom,0.7;maxwidth,380;y,-10;zoomy,0.55
ThreeLinesSubtitleCommand=hidden,0;zoom,.5;maxwidth,360
ThreeLinesArtistCommand=zoom,0.6;maxwidth,400;y,10
