[Common]
InitialScreen="ScreenCompany"
FirstAttractScreen="ScreenCompany"
NoScoreName="TONY"
AutoSetStyle=false
StepsTypesToHide="lights-cabinet"

[ScreenReloadSongs]
ShowCoinsAndCredits=true

[ScreenInit]
PrepareScreens="ScreenTitleMenu,ScreenTitleJoin"
GroupedScreens="ScreenInit,ScreenTitleJoin,ScreenTitleMenu"
PersistScreens="ScreenInit,ScreenTitleJoin,ScreenTitleMenu"

[Global]
FallbackTheme=default

[ScreenSystemLayer]
CreditsInitCommand=
CreditsP1X=WideScale(SCREEN_CENTER_X-290,SCREEN_CENTER_X-360)
CreditsP1Y=SCREEN_BOTTOM-20
CreditsP2X=WideScale(SCREEN_CENTER_X+290,SCREEN_CENTER_X+360)
CreditsP2Y=SCREEN_BOTTOM-20
CreditsJoinOnly=false
CreditsP1OnCommand=horizalign,left;vertalign,bottom;zoom,1
CreditsP2OnCommand=horizalign,right;vertalign,bottom;zoom,1

[ScreenWithMenuElements]
ShowHeader=false
ShowFooter=false
TimerStealth=true
TimerOnCommand=visible,false
ShowCoinsAndCredits=true

[ScreenCompany]
Class="ScreenAttract"
Fallback="ScreenAttract"

MemoryCardIcons=false
NextScreen="ScreenTitleMenu"
PrevScreen=""
TimerSeconds=6

[ScreenTitleMenu]
PrevScreen="ScreenCompany"
ShowHeader=false
ShowFooter=false

# 2 hours and 45 minutes or so lol
IdleCommentSeconds=9999
IdleTimeoutSeconds=9999
IdleTimeoutScreen=math.random() % 5 == 2 and Slapnuts() or "ScreenCompany"

ChoiceNames="1,2,3,4,5"
DefaultChoice="1"
Choice1="applydefaultoptions;text,A;screen,ScreenSelectProfile"
Choice2="screen,ScreenOptionsService;name,Option;text,B"
Choice3="screen,ScreenOptionsEdit;name,Edit;text,C"
Choice4="screen,ScreenCustomize;name,Customize;text,D"
Choice5="screen,ScreenExit;name,Quit;text,E"

CollectionStatsX=SCREEN_CENTER_X-300
CollectionStatsY=SCREEN_TOP+20
CollectionStatsOnCommand=zoom,1;hidden,1

VersionInfoX=WideScale(SCREEN_CENTER_X-288,SCREEN_CENTER_X-388)
VersionInfoY=SCREEN_CENTER_Y-215
VersionInfoOnCommand=zoom,1

ShowLifeDifficulty=true
LifeDifficultyX=WideScale(SCREEN_CENTER_X+137,SCREEN_CENTER_X+237)
LifeDifficultyY=SCREEN_CENTER_Y-215
LifeDifficultyOnCommand=zoom,1

ShowIcon=false
ShowScroller=true
PerChoiceScrollElement=false

ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y+80
ScrollerNumItemsToDraw=20
#ScrollerTransform=function(self,offset,itemIndex,numItems) self:x(offset*64) end;
ScrollerTransform=function(self,offset,itemIndex,numItems) end;
ScrollerOnCommand=
ScrollerOffCommand=

[ScreenSelectStyle]
# (formerly known as ScreenSelectPlayMode before sm-ssc v1.0 beta 3)
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
#
NextScreen=Branch.AfterSelectPlayMode()
PrevScreen=Branch.TitleMenu()
#
TimerSeconds=40
#
DefaultChoice="Single"
ChoiceNames=GameCompatibleModes()
#
OptionOrderAuto="1:2,2:1"
ChoiceSingle="stopmusic;name,Single;style,single;text,Single;screen,"..Branch.AfterSelectPlayMode()
ChoiceVersus="stopmusic;name,Versus;style,versus;text,Versus;screen,"..Branch.AfterSelectPlayMode()
ChoiceDouble="stopmusic;name,Double;style,double;text,Double;screen,"..Branch.AfterSelectPlayMode()
ChoiceSolo="stopmusic;name,Solo;style,solo;text,Solo;screen,"..Branch.AfterSelectPlayMode()
ChoiceRoutine="stopmusic;name,Routine;style,routine;text,Routine;screen,"..Branch.AfterSelectPlayMode()
ChoiceHalfDouble="stopmusic;name,HalfDouble;style,halfdouble;text,HalfDouble;screen,"..Branch.AfterSelectPlayMode()
#IIDX
Choice5Keys="stopmusic;name,5Keys;style,single5;text,5Keys;screen,ScreenSelectPlayModeIIDX"
Choice7Keys="stopmusic;name,7Keys;style,single7;text,7Keys;screen,ScreenSelectPlayModeIIDX"
Choice10Keys="stopmusic;name,10Keys;style,double10;text,10Keys;screen,ScreenSelectPlayModeIIDX"
Choice14Keys="stopmusic;name,14Keys;style,double14;text,14Keys;screen,ScreenSelectPlayModeIIDX"
ChoiceKB7="stopmusic;name,kb7;style,single;screen,"..Branch.AfterSelectPlayMode()
#
PerChoiceScrollElement=false
PerChoiceIconElement=false
#
ShowScroller=true
WrapScroller=true
ShowIcon=false
#
ScrollerX=0
ScrollerY=0

[ScreenSelectPlayMode]
PrevScreen="ScreenSelectStyle"
PersistScreens="ScreenSelectPlayMode,ScreenSelectMusic"
#
ScreenOutDelay=3
#
ShowScroller=true
WrapScroller=true
ScrollerX=0
ScrollerY=0
ScrollerOnCommand=SetFastCatchup,true;
ScrollerOffCommand=SetFastCatchup,true;
#
ShowBackgroundFrame=false
ShowIcon=false
#
DefaultChoice="Tutorial"
ChoiceNames="Tutorial,Beginner,Standard,Expert,Dan,Free"
#
PerChoiceScrollElement=false
PerChoiceIconElement=false
#
ShowScroller=true
WrapScroller=true
ShowIcon=false
#
ChoiceTutorial="applydefaultoptions;name,Tutorial;text,Tutorial;playmode,regular;difficulty,easy;screen,ScreenTitleMenu;setenv,sMode,Tutorial"
ChoiceBeginner="applydefaultoptions;name,Beginner;text,Beginner;playmode,regular;difficulty,easy;screen,ScreenSelectMusic;setenv,sMode,Beginner"
ChoiceStandard="applydefaultoptions;name,Standard;text,Standard;playmode,regular;difficulty,hard;screen,ScreenSelectMusic;setenv,sMode,Standard"
ChoiceExpert="applydefaultoptions;name,Expert;text,Expert;playmode,nonstop;screen,ScreenSelectCourse;setenv,sMode,Expert"
ChoiceDan="applydefaultoptions;name,Dan;text,Dan;playmode,oni;screen,ScreenSelectCourse;setenv,sMode,Dan"
ChoiceFree="applydefaultoptions;name,Free;text,Free;playmode,regular;difficulty,hard;screen,ScreenSelectMusic;setenv,sMode,Free"

[ScreenSelectPlayModeIIDX]
Fallback="ScreenSelectPlayMode"
PrevScreen="ScreenSelectStyle"
PersistScreens="ScreenSelectPlayMode,ScreenSelectMusic"
#
ScreenOutDelay=3
#
ShowScroller=true
WrapScroller=true
ScrollerX=0
ScrollerY=0
ScrollerOnCommand=SetFastCatchup,true;
ScrollerOffCommand=SetFastCatchup,true;
#
ShowBackgroundFrame=false
ShowIcon=false
#
DefaultChoice="Tutorial"
ChoiceNames="Tutorial,Beginner,Standard,Expert,Dan,Free"
#
PerChoiceScrollElement=false
PerChoiceIconElement=false
#
ShowScroller=true
WrapScroller=true
ShowIcon=false
#
ChoiceTutorial="applydefaultoptions;name,Tutorial;text,Tutorial;playmode,regular;difficulty,easy;screen,ScreenTitleMenu;setenv,sMode,Tutorial"
ChoiceBeginner="applydefaultoptions;name,Beginner;text,Beginner;playmode,regular;difficulty,easy;screen,ScreenSelectMusic;setenv,sMode,Beginner;mod,108% tiny,reverse,iidx-ac"
ChoiceStandard="applydefaultoptions;name,Standard;text,Standard;playmode,regular;difficulty,hard;screen,ScreenSelectMusic;setenv,sMode,Standard;mod,108% tiny,reverse,iidx-ac"
ChoiceExpert="applydefaultoptions;name,Expert;text,Expert;playmode,nonstop;screen,ScreenSelectCourse;setenv,sMode,Expert;mod,108% tiny,reverse,iidx-ac"
ChoiceDan="applydefaultoptions;name,Dan;text,Dan;playmode,oni;screen,ScreenSelectCourse;setenv,sMode,Dan;mod,108% tiny,reverse,iidx-ac"
ChoiceFree="applydefaultoptions;name,Free;text,Free;playmode,regular;difficulty,hard;screen,ScreenSelectMusic;setenv,sMode,Free;mod,108% tiny,reverse,iidx-ac"

################################################################################
# PHOTwON area
[ScreenCustomize]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen="ScreenTitleMenu"
NextScreen="ScreenTitleMenu"
# sm-ssc v1.2 metric:
HandleBackButton=false

SharedSelection=true

# uses mk2ultra technology;
# choices are set up like this, but not visible.
# 1 2
# 3 4
ChoiceNames="1,2,3,4"
Choice1="name,TopLeft;"
Choice2="name,TopRight;"
Choice3="name,BotLeft;"
Choice4="name,BotRight;"
DefaultChoice="1"

OptionOrderUp="1:3,3:1,2:4,4:2"
OptionOrderDown="1:3,3:1,2:4,4:2"
OptionOrderLeft="1:2,2:1,3:4,4:3"
OptionOrderRight="1:2,2:1,3:4,4:3"
# needed for detecting start input
CodeNames="Start,Back"
#ToggleEditMode
CodeStart="~Start"
CodeBack="~Back"
#CodeToggleEditMode="Up,Up,Down,Down,Left,Right,Left,Right,Select,Select,Select"

################################################################################
# misc. stuff

[SongManager]
NumSongGroupColors=23
SongGroupColor1=color("1,1,1,1")
SongGroupColor2=color("1,1,1,1")
SongGroupColor3=color("1,1,1,1")
SongGroupColor4=color("1,1,1,1")
SongGroupColor5=color("1,1,1,1")
SongGroupColor6=color("1,1,1,1")
SongGroupColor7=color("1,1,1,1")
SongGroupColor8=color("1,1,1,1")
SongGroupColor9=color("1,1,1,1")
SongGroupColor10=color("1,1,1,1")
SongGroupColor11=color("1,1,1,1")
SongGroupColor12=color("1,1,1,1")
SongGroupColor13=color("1,1,1,1")
SongGroupColor14=color("1,1,1,1")
SongGroupColor15=color("1,1,1,1")
SongGroupColor16=color("1,1,1,1")
SongGroupColor17=color("1,1,1,1")
SongGroupColor18=color("1,1,1,1")
SongGroupColor19=color("1,1,1,1")
SongGroupColor20=color("1,1,1,1")
SongGroupColor21=color("1,1,1,1")
SongGroupColor22=color("1,1,1,1")
SongGroupColor23=color("1,1,1,1")
ExtraColor=color("1,1,1,1")

[ScreenSelectMusic]
PrepareScreen="ScreenGameplay"
NextScreen="ScreenGameplay"
SampleMusicPreviewMode='SampleMusicPreviewMode_ScreenMusic'
ShowTotalTime=false
ShowCourseContents=false
ShowBannerFrame=false
BannerOnCommand=hidden,1;
CDTitleOnCommand=hidden,1;

GradeP1X=-138
GradeP2X=118

DifficultyIconP1X=SCREEN_CENTER_X-245
DifficultyIconP1Y=SCREEN_BOTTOM
DifficultyIconP2X=SCREEN_CENTER_X+102
DifficultyIconP2Y=SCREEN_BOTTOM
DifficultyIconP1OnCommand=draworder,101
DifficultyIconP1OffCommand=
DifficultyIconP2OnCommand=draworder,101
DifficultyIconP2OffCommand=

# musicwheel
MusicWheelX=WideScale(SCREEN_CENTER_X+200,SCREEN_CENTER_X+266)
MusicWheelY=SCREEN_CENTER_Y-9
MusicWheelOnCommand=draworder,1;zoomx,SCREEN_WIDTH/640
MusicWheelOffCommand=

ShowDifficultyList=true
DifficultyListWidth=15
DifficultyListHeight=5
DifficultyListX=SCREEN_CENTER_X-217
DifficultyListY=SCREEN_CENTER_Y+48
DifficultyListOnCommand=rotationz,-90;draworder,33
DifficultyListOffCommand=

ShowBPMDisplay=true
BPMDisplayX=SCREEN_CENTER_X+30
BPMDisplayY=SCREEN_CENTER_Y-3
BPMDisplayOnCommand=
BPMDisplayOffCommand=

UsePlayerSelectMenu=false
UseOptionsList=true
OptionsListTimeout=0.25
OptionsListP1OnCommand=x,32;y,144
OptionsListP2OnCommand=x,WideScale(434,644);y,144

OptionsListFrameOnCommand=draworder,100
OptionsListFrameX=2
OptionsListFrameY=SCREEN_CENTER_Y+40

[ScreenSelectCourse]
#
ShowDifficultyList=false
ShowCourseContentsList=true
ShowNumCourseSongs=true
#
UsePlayerSelectMenu=false
SelectMenuAvailable=false
#
ShowPaneDisplayFrameP1=false
ShowPaneDisplayTextP1=false
ShowPaneDisplayFrameP2=false
ShowPaneDisplayTextP2=false

CourseContentsListX=SCREEN_CENTER_X-90
CourseContentsListY=SCREEN_CENTER_Y+40
CourseContentsListOnCommand=addx,-SCREEN_CENTER_X;decelerate,0.35;addx,SCREEN_CENTER_X
CourseContentsListOffCommand=bouncebegin,0.15;zoomx,0;

[OptionsList]
CodeNames=""
TopMenus="SongMenu"
TopMenu="SongMenu"
DirectLines="Speed"
ItemsSpacingY=18
MaxItemsBeforeSplit=26
ItemsSplitWidth=150
TextOnCommand=zoom,0.86;shadowlength,0;horizalign,left
TextOffCommand=
TextTweenOffCommand=stoptweening;linear,0.2;diffusealpha,0
TextTweenOnCommand=stoptweening;linear,0.2;diffusealpha,1
TextResetCommand=
UnderlineOnCommand=
UnderlineOffCommand=
UnderlineSetTwoRowsCommand=
UnderlineSetOneRowCommand=
UnderlineShowCommand=visible,true
UnderlineHideCommand=visible,false
UnderlineTweenOnCommand=stoptweening;linear,0.2;diffusealpha,1
UnderlineTweenOffCommand=stoptweening;linear,0.2;diffusealpha,0
UnderlineResetCommand=
#CursorOnCommand=bounce;effectclock,'beat';effectmagnitude,-6,0,0
CursorOnCommand=
CursorPositionTwoRowsCommand=stoptweening;decelerate,0.06
CursorPositionOneRowCommand=stoptweening;decelerate,0.06
CursorTweenOnCommand=stoptweening;linear,0.2;diffusealpha,1
CursorTweenOffCommand=stoptweening;linear,0.2;diffusealpha,0
CursorResetCommand=
OptionsListOnCommand=
OptionsListOffCommand=
OptionsListTweenOffCommand=
OptionsListTweenOnCommand=
OptionsListResetCommand=
OptionsListTweenOutForwardCommand=playcommandonleaves,"FadeOff"
OptionsListTweenOutBackwardCommand=playcommandonleaves,"FadeOff"
OptionsListTweenInForwardCommand=playcommandonleaves,"FadeOn"
OptionsListTweenInBackwardCommand=playcommandonleaves,"FadeOn"
OptionsListFadeOffCommand=stoptweening;linear,0.15;diffusealpha,0
OptionsListFadeOnCommand=stoptweening;linear,0.15;diffusealpha,1
LineSongMenu="list,SongMenu"
LineCourseMenu="list,CourseMenu"
;LineSpeed="lua,SpeedMods()"
LineSpeed="list,Speed"
LineAccel="list,Accel"
LineEffect="list,Effect"
LineAppearance="list,Appearance"
LineTurn="list,Turn"
LineInsert="list,Insert"
LineScroll="list,Scroll"
LineNoteSkins="list,NoteSkins"
LineRemove="list,Suicide"
LineHide="list,Hide"
LinePersp="list,Persp"
LineMisc="list,Misc"
LineScoreDisplay="list,ScoreDisplay"
LineSteps="list,Steps"
LineCharacters="list,Characters"
LineSongRate="list,SongRate"
Fallback="ScreenWithMenuElements"

[OptionsListP1]
Fallback="OptionsList"

[OptionsListP2]
Fallback="OptionsList"

[MusicWheel]
SwitchSeconds=0.05
RouletteSwitchSeconds=0.02
RouletteSlowDownSwitches=5
LockedInitialVelocity=7

# x,468/640
#ScrollBarOnCommand=x,WideScale(SCREEN_CENTER_X*1.45,SCREEN_CENTER_X+84)
# xxx: is this for 4:3, 16:10 or 4:3, 16:9?
# 468.8   | 320*1.465
# 484.8   | 384*1.2625
# 539.087 | 427*1.2625
ScrollBarOnCommand=draworder,1024;addx,109;addy,70
ScrollBarHeight=240

# items
NumWheelItems=GAMESTATE:GetPlayMode() == 'PlayMode_Regular' and 20 or 6
MostPlayedSongsToShow=50

ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	local maximumX = -6; \
	local NUM_WHEEL_ITEMS = 18; \
	if math.abs(offsetFromCenter) < 1 then \
		self:x(maximumX*math.cos(offsetFromCenter*math.pi)); \
		self:y( offsetFromCenter*28 ); \
	else \
		self:x(0); \
		self:addx(6); \
		self:y( offsetFromCenter*28 ); \
	end; \
end;

HighlightOnCommand=blend,'BlendMode_Add'

# randoms
ShowRoulette=true
ShowRandom=true
ShowPortal=true

NumSectionColors=1
SectionColor1=color("1,1,1,1")
SectionColor2=color("1,1,1,1")
SectionColor3=color("1,1,1,1")
SectionColor4=color("1,1,1,1")
SectionColor5=color("1,1,1,1")
SectionColor6=color("1,1,1,1")
SectionColor7=color("1,1,1,1")
SongRealExtraColor=color("1,1,1,1")
SortMenuColor=color("1,1,1,1")

[CourseWheel]
ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) self:x( (1-math.cos(offsetFromCenter/math.pi))*420 ); self:y( offsetFromCenter*72 ); end

[MusicWheelItem]
WheelNotifyIconX=-151
WheelNotifyIconOnCommand=

SongNameX=-30

CourseX=-130
CourseY=-2
CourseOnCommand=shadowlength,0;zoom,0.8;halign,0;maxwidth,246

SectionExpandedX=-121
SectionExpandedY=-1
SectionExpandedOnCommand=horizalign,left;maxwidth,170;shadowlength,0

SectionCollapsedX=-121
SectionCollapsedY=-1
SectionCollapsedOnCommand=horizalign,left;maxwidth,170;shadowlength,0
SectionCountX=144
SectionCountY=-6
SectionCountOnCommand=horizalign,left;zoom,0.8;shadowlength,1

RouletteX=0
RouletteY=0
RouletteOnCommand=zoom,1;shadowlength,0;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("1,1,1,1");effectperiod,10;

RandomX=0
RandomY=0
RandomOnCommand=zoom,1;shadowlength,0;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("1,1,1,1");effectperiod,10;

PortalX=0
PortalY=0
PortalOnCommand=zoom,1;shadowlength,0;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("1,1,1,1");effectperiod,10;

SortX=-130
SortY=0
SortOnCommand=hidden,1;shadowlength,0;halign,0;maxwidth,224;

GradeP1X=-138
GradeP2X=118

[TextBanner]
TitleOnCommand=x,-70;zoomx,.85;maxwidth,248;horizalign,left
SubtitleOnCommand=horizalign,left
ArtistOnCommand=visible,false
;SetCommand=%TextBannerSet
AfterSetCommand=%function(self,params)\
	local Title=self:GetChild("Title");\
	local Subtitle=self:GetChild("Subtitle");\
	local Artist=self:GetChild("Artist");\
	(cmd(zoom,1;zoomx,.85;maxwidth,248;y,0))(Title);\
	(cmd(visible,false))(Subtitle);\
	(cmd(visible,false))(Artist);\
end
ArtistPrependString=""

[TextBanner]
AfterSetCommand=%TextBannerAfterSet
TitleOnCommand=maxwidth,660;zoomx,.85;horizalign,left;x,-70;

[DifficultyList]
NumShownItems=3

CapitalizeDifficultyNames=0

DescriptionOnCommand=zoom,0
DescriptionOffCommand=
DescriptionMaxWidth=0

RowOnCommand=addx,64
RowOffCommand=
MoveCommand=glow,color("1,1,1,1");linear,.1;glow,color("1,1,1,0")

ItemsSpacingY=96

[StepsDisplay]
NumTicks=12
MaxTicks=12
GlowIfMeterGreaterThan=9000

TicksOnCommand=diffusealpha,0;decelerate,0.4;diffusealpha,1;shadowlength,0
TicksOffCommand=linear,.3;diffusealpha,0

[StepsDisplayListRow]
Fallback="StepsDisplay"

#MeterOnCommand=draworder,99;addx,-63;valign,0;shadowlength,0
#MeterOffCommand=
ShowFrame=true
FrameSetCommand=diffusealpha,1
ShowMeter=true
MeterX=18
MeterY=-10
#glowmode,brighten
MeterOnCommand=rotationz,90;shadowlength,0;draworder,99;valign,0;
MeterOffCommand=
MeterSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end; if param.Meter > THEME:GetMetric("StepsDisplay","GlowIfMeterGreaterThan") then self:glowshift() else self:stopeffect() end end

ShowTicks=false
NumTicks=12
MaxTicks=12
TicksX=80
TicksY=9
#glowmode, brighten
TicksOnCommand=rotationz,90;shadowlength,0;zoom,1;blend,'BlendMode_Add'
TicksOffCommand=
TicksSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end; if param.Meter > THEME:GetMetric("StepsDisplay","GlowIfMeterGreaterThan") then self:glowshift() else self:stopeffect() end end

GlowIfITGMeterGreaterThan=9000
GlowIfXMeterGreaterThan=9000

ShowDescription=false
DescriptionX=-10
DescriptionY=0
DescriptionOnCommand=addx,12;addy,-1
DescriptionOffCommand=
DescriptionSetNoneCommand=diffuse,.5,.5,.5,1
DescriptionSetBeginnerCommand=diffuse,0.5,1,1,1
DescriptionSetEasyCommand=diffuse,1,0.85,0,1
DescriptionSetMediumCommand=diffuse,1,0,0,1
DescriptionSetHardCommand=diffuse,0.6,1,0,1
DescriptionSetChallengeCommand=diffuse,0,0,1,1
DescriptionSetEditCommand=diffuse,1,1,1,1

[StepsDisplayGameplay]
Fallback="StepsDisplay"
#
FrameSetCommand=diffusealpha,0
ShowMeter=false
ShowDescription=false
ShowAutogen=false
ShowStepsType=false

[Player]
ReceptorArrowsYStandard=GetTapPosition('Standard')
ReceptorArrowsYReverse=GAMESTATE:GetCurrentGame():GetName() == "beat" and 79 or GetTapPosition('Reverse')
ReceptorArrowsXReverse=-50
DrawDistanceBeforeTargetsPixels=SCREEN_HEIGHT
DrawDistanceAfterTargetsPixels=GAMESTATE:GetCurrentGame():GetName() == "beat" and -(SCREEN_CENTER_Y*0) or -128
JudgmentOnCommand=

[ScreenGameplay]

PlayerInitCommand=zoomx,GAMESTATE:GetCurrentGame():GetName() == "beat" and SCREEN_WIDTH/640 or 1;y,SCREEN_CENTER_Y;addy,999;sleep,.5;addy,-999

PlayerP1OnePlayerOneSideX=GAMESTATE:GetCurrentGame():GetName() == "beat" and WideScale(SCREEN_CENTER_X-224,SCREEN_CENTER_X-299) or WideScale(SCREEN_CENTER_X-165,SCREEN_CENTER_X-235)
PlayerP2OnePlayerOneSideX=GAMESTATE:GetCurrentGame():GetName() == "beat" and WideScale(SCREEN_CENTER_X-224,SCREEN_CENTER_X-299) or WideScale(SCREEN_CENTER_X+165,SCREEN_CENTER_X+235)
PlayerP1TwoPlayersTwoSidesX=GAMESTATE:GetCurrentGame():GetName() == "beat" and WideScale(SCREEN_CENTER_X-224,SCREEN_CENTER_X-299) or WideScale(SCREEN_CENTER_X-165,SCREEN_CENTER_X-235)
PlayerP2TwoPlayersTwoSidesX=GAMESTATE:GetCurrentGame():GetName() == "beat" and WideScale(SCREEN_CENTER_X-224,SCREEN_CENTER_X-299) or WideScale(SCREEN_CENTER_X+165,SCREEN_CENTER_X+235)
#
SongMeterDisplayX=SCREEN_CENTER_X
SongMeterDisplayY=SCREEN_TOP+50
SongMeterDisplayOnCommand=draworder,50;zoom,0;y,SCREEN_TOP-24;sleep,1.5;decelerate,0.5;zoom,1;y,SCREEN_TOP+50
SongMeterDisplayOffCommand=

ScoreP1OnCommand=hidden,1
ScoreP2OnCommand=hidden,1

LifeP1OnCommand=hidden,1
LifeP2OnCommand=hidden,1

ShowMaxCombo=false

StepsDisplayP1OnCommand=hidden,1
StepsDisplayP2OnCommand=hidden,1

PlayerOptionsP1OnCommand=visible,false
PlayerOptionsP2OnCommand=visible,false

ShowStageDisplay=false

[RollingNumbers]
TextFormat="%06.0f"
ApproachSeconds=0.2
Commify=false
LeadingZeroMultiplyColor=color("#FFFFFF50")

[HoldJudgment]
HoldJudgmentLetGoCommand=hidden,1
HoldJudgmentHeldCommand=hidden,1

[NoteField]
ShowBoard=GAMESTATE:GetCurrentGame():GetName() == "kb7"
ShowBeatBars=true


[ScreenOptionsMaster]
Fallback="ScreenOptions"
Class="ScreenOptionsMaster"
NoteSkinSortOrder=""
SongMenu="4"
SongMenuDefault=""
SongMenu,1="name,Speed;screen,Speed"
SongMenu,2="name,NoteSkins;screen,NoteSkins"
SongMenu,3="name,Character;screen,Characters"
SongMenu,4="name,Misc;screen,Misc"
SongMenu,5="name,ResetOptions"

#Effect="1"
#Effect,1="mod,105% tiny,reverse;name,Tiny"

Misc="5"
MiscDefault=""
Misc,1="name,Effect;screen,Effect"
Misc,2="name,Accel;screen,Accel"
Misc,3="name,Remove;screen,Remove"
Misc,4="name,Turn;screen,Turn"
Misc,5="name,Scroll;screen,Scroll"

Appearance="8"
AppearanceDefault="mod,no hidden,no sudden,no stealth,no blink,no randomvanish,no dark,no blind"
Appearance,1="name,Off"
Appearance,2="mod,hidden;name,Hidden"
Appearance,3="mod,sudden;name,Sudden"
Appearance,4="mod,stealth;name,Stealth"
Appearance,5="mod,blink;name,Blink"
Appearance,6="mod,randomvanish;name,R.Vanish"
Appearance,7="mod,dark;name,Dark"
Appearance,8="mod,blind;name,Blind"

CourseMenu="3"
CourseMenuDefault=""
CourseMenu,1="name,Speed;screen,Speed"
CourseMenu,2="name,NoteSkins;screen,NoteSkins"
CourseMenu,3="name,ResetOptions"

# broken. and I don't know why.
Suicide="5;selectmultiple;together"
SuicideDefault="mod,no norecover,no suddendeath,no dark,no blind,no stealth"
Suicide,1="mod,norecover;name,NoRecover"
;Suicide,2="mod,2 lives,battery;name,Hazard"
Suicide,2="mod,suddendeath;name,SuddenDeath"
Suicide,3="mod,dark;name,Dark"
Suicide,4="mod,blind;name,Blind"
Suicide,5="mod,stealth;name,Stealth"

Speed="14"
SpeedDefault="mod,1x,no randomspeed"
Speed,1="mod,1x;name,x1"
Speed,2="mod,1.5x;name,x1.5"
Speed,3="mod,2x;name,x2"
Speed,4="mod,2.5x;name,x2.5"
Speed,5="mod,3x;name,x3"
Speed,6="mod,3.5x;name,x3.5"
Speed,7="mod,4x;name,x4"
Speed,8="mod,4.5x;name,x4.5"
Speed,9="mod,5x;name,x5"
Speed,10="mod,6x;name,x6"
Speed,11="mod,C450;name,C450"
Speed,12="mod,C550;name,C550"
Speed,13="mod,C650;name,C650"
Speed,14="mod,C750;name,C750"

# buggy
#Effect,5="mod,*10000 -40000% Bumpy,0.0045x,Overhead,-5% Distant,80% Centered,-100% Split,NoHolds,25% Flip,-25% Invert,Blind;name,D-Pad"

Rate="26;together"
RateDefault="mod,1.0xmusic;mod,no haste"
Rate,1="mod,0.1xmusic;name,0.1x"
Rate,2="mod,0.2xmusic;name,0.2x"
Rate,3="mod,0.3xmusic;name,0.3x"
Rate,4="mod,0.4xmusic;name,0.4x"
Rate,5="mod,0.5xmusic;name,0.5x"
Rate,6="mod,0.6xmusic;name,0.6x"
Rate,7="mod,0.7xmusic;name,0.7x"
Rate,8="mod,0.8xmusic;name,0.8x"
Rate,9="mod,0.9xmusic;name,0.9x"
Rate,10="mod,1.0xmusic;name,1.0x"
Rate,11="mod,1.1xmusic;name,1.1x"
Rate,12="mod,1.2xmusic;name,1.2x"
Rate,13="mod,1.3xmusic;name,1.3x"
Rate,14="mod,1.4xmusic;name,1.4x"
Rate,15="mod,1.5xmusic;name,1.5x"
Rate,16="mod,1.6xmusic;name,1.6x"
Rate,17="mod,1.7xmusic;name,1.7x"
Rate,18="mod,1.8xmusic;name,1.8x"
Rate,19="mod,1.9xmusic;name,1.9x"
Rate,20="mod,2.0xmusic;name,2.0x"
Rate,21="mod,2.1xmusic;name,2.1x"
Rate,22="mod,2.2xmusic;name,2.2x"
Rate,23="mod,2.3xmusic;name,2.3x"
Rate,24="mod,2.4xmusic;name,2.4x"
Rate,25="mod,2.5xmusic;name,2.5x"
Rate,26="mod,haste;name,Haste"

[ScreenPlayerOptionsRestricted]
Fallback="ScreenPlayerOptions"
NextScreen=Branch.GameplayScreen()
LineNames="1,8,16,17"

# funny

[ScreenSongOptions]
Fallback="ScreenOptions"
Class="ScreenSongOptions"
#
PrevScreen="ScreenPlayerOptions"
NextScreen=Branch.GameplayScreen()
#
PlayMusic=false
#
TimerSeconds=30
#
LineNames="1,2,3,4,5,6,7,8,9,10"
#,11
Line1="list,LifeType"
Line2="list,BarDrain"
Line3="list,BatLives"
# Line4="list,Fail"
Line4="lua,GamePrefDefaultFail()"
Line5="list,Assist"
Line6="list,Rate"
Line7="list,SoundEffect"
Line8="list,AutoAdjust"
Line9="list,Background"
Line10="list,SaveScores"
Line11="list,SaveReplays"
StopMusicOnBack=false

[CustomScoring]
# Custom scoring, usually good for custom games.

# Various tweakers
ComboAboveThresholdAddsToScoreBonus=0
ComboScoreBonusThreshold=+40
ComboScoreBonusValue=+500

ComboMultiplier=0.0

DoubleNoteScoreMultiplier=1.1
TripleNoteScoreMultiplier=1.2
QuadOrHigherNoteScoreMultiplier=1.4
# And what they award you
PointsW1=+21

PointsW2=+21
PointsW3=+11
PointsW4=+6
PointsW5=+1
PointsMiss=0
PointsHitMine=-5
PointsCheckpointHit=+5
PointsCheckpointMiss=-5
PointsNone=0
PointsHoldHeld=+5
PointsHoldLetGo=-5

[ScreenEvaluationNormal]
Fallback="ScreenEvaluation"
#
NextScreen="ScreenProfileSave"

#[ScreenProfileSave]
#NextScreen="ScreenEvaluationNormal"
#PrevScreen="ScreenEvaluationNormal"
#TimerSeconds=-1

[ScreenEvaluationSummary]
Fallback="ScreenEvaluation"
#
NextScreen="ScreenSelectMusic"
#
Summary=true

[ScreenEvaluation]
ShowHeader=true
Class="ScreenEvaluation"
Fallback="ScreenWithMenuElements"

ShowJudgmentLineHeld=false
ShowComboGraph=false
ShowSharedJudgmentLineLabels=false
LargeBannerOnCommand=hidden,1
LargeBannerFrameOnCommand=hidden,1
#
PlayerOptionsP1OnCommand=hidden,1
PersonalRecordP1OnCommand=hidden,1
StageAwardP1OnCommand=hidden,1

PlayerOptionsP2OnCommand=hidden,1
PersonalRecordP2OnCommand=hidden,1
StageAwardP2OnCommand=hidden,1
#
PeakComboAwardP1OnCommand=hidden,1
ShowSurvivedArea=false
ShowBonusArea=false
ShowWinArea=false
ShowTimeArea=false

GraphDisplayP1X=WideScale(SCREEN_CENTER_X-183,SCREEN_CENTER_X-244)
GraphDisplayP1Y=SCREEN_CENTER_Y-129
GraphDisplayP1OnCommand=blend,'BlendMode_Add';zoomx,SCREEN_WIDTH/640;diffusealpha,.8;addy,-999;sleep,.55;addy,999
GraphDisplayP1OffCommand=
GraphDisplayP2X=WideScale(SCREEN_CENTER_X+183,SCREEN_CENTER_X+244)
GraphDisplayP2Y=SCREEN_CENTER_Y-129
GraphDisplayP2OnCommand=blend,'BlendMode_Add';zoomx,SCREEN_WIDTH/640;diffusealpha,.8;addy,-999;sleep,.55;addy,999
GraphDisplayP2OffCommand=

SongInformationY=999

W1NumberP1OnCommand=hidden,1
W1NumberP2OnCommand=hidden,1

W2NumberP1OnCommand=hidden,1
W2NumberP2OnCommand=hidden,1

W3NumberP1OnCommand=hidden,1
W3NumberP2OnCommand=hidden,1

W4NumberP1OnCommand=hidden,1
W4NumberP2OnCommand=hidden,1

W5NumberP1OnCommand=hidden,1
W5NumberP2OnCommand=hidden,1

MissNumberP1OnCommand=hidden,1
MissNumberP2OnCommand=hidden,1

MaxComboNumberP1OnCommand=hidden,1
MaxComboNumberP2OnCommand=hidden,1

ScoreNumberP1OnCommand=hidden,1
ScoreNumberP2OnCommand=hidden,1

GradeP1X=-5
GradeP1Y=-4
GradeP1OnCommand=zoomx,SCREEN_WIDTH/640
GradeP1OffCommand=
GradeP2X=WideScale(360,480)
GradeP2Y=-4
GradeP2OnCommand=zoomx,SCREEN_WIDTH/640
GradeP2OffCommand=

HeaderX=0
HeaderY=0

MachineRecordP1OnCommand=hidden,1
MachineRecordP2OnCommand=hidden,1
PersonalRecordP1OnCommand=hidden,1
PersonalRecordP2OnCommand=hidden,1
StageAwardP1OnCommand=hidden,1
StageAwardP2OnCommand=hidden,1
PeakComboAwardP1OnCommand=hidden,1
PeakComboAwardP2OnCommand=hidden,1

[GraphDisplay]
BodyWidth=216
BodyHeight=174
LineOnCommand=zoomy,.98;blend,'BlendMode_WeightedMultiply';

[GraphDisplayP1]
Fallback="GraphDisplay"
[GraphDisplayP2]
Fallback="GraphDisplay"

[Combo]
ShowComboAt=0

LabelMaxZoom=0

PulseCommand=hidden,1
PulseLabelCommand=hidden,1
NumberOnCommand=hidden,1
LabelOnCommand=hidden,1