# SPLATMANIA METRICS FILE
# 2018, Jose_Varela

# Welcome to the file, squiddos and octolings.
# This can be considered the mother of the theme.
# As this file is neccesary to make screens exist and also connect to each other.
# Also custom screens are created here, due to -of course- old 3.95 engine management.

[PlayerStageStats]
NumGradeTiersUsed=18
GradeTier02IsAllPerfects=0

// SPLATMANIA SCORING SYSTEM

GradePercentTier01=1.00  // Step Delty
GradePercentTier02=0.99  // Step Royalty
GradePercentTier03=0.98  // Step Champion
GradePercentTier04=0.96  // Team Carrier
GradePercentTier05=0.95  // X
GradePercentTier06=0.94  // S+
GradePercentTier07=0.92  // S
GradePercentTier08=0.89  // S-
GradePercentTier09=0.86  // A+
GradePercentTier10=0.83  // A
GradePercentTier11=0.80  // A-
GradePercentTier12=0.76  // B+
GradePercentTier13=0.72  // B
GradePercentTier14=0.68  // B-
GradePercentTier15=0.64  // C+
GradePercentTier16=0.60  // C
GradePercentTier17=0.55  // C-
GradePercentTier18=-1000 // D

[ScreenSyncOverlay]
Class=ScreenSyncOverlay
Fallback=Screen
InitCommand=zoom,0.5;x,SCREEN_CENTER_X/2;y,SCREEN_CENTER_Y*0.9

[DEBUG_StatsInfo]
Class=ScreenDebugOverlay
InitCommand=

[ScreenDebugOverlay]
InitCommand=zoom,0

[ScreenSystemLayer]
CreditsP1X=SCREEN_LEFT+28
CreditsP1Y=SCREEN_BOTTOM+152222
CreditsP1OnCommand=shadowlength,1;horizalign,left;vertalign,bottom;zoom,0.4;diffuse,1,0.5,0.5,1
CreditsP2X=SCREEN_RIGHT-28
CreditsP2Y=SCREEN_BOTTOM+152222222
StatsY=SCREEN_BOTTOM-30
StatsOnCommand=zoom,0

CreditsP2OnCommand=shadowlength,1;horizalign,right;vertalign,bottom;zoom,0.4;diffuse,0.5,0.5,1,1
MessageX=SCREEN_CENTER_X
MessageY=SCREEN_CENTER_Y+200
MessageOnCommand=%function(self) self:finishtweening(); self:zoom(0.8); self:diffusealpha(1); self:zoom(0.4) end
MessageOffCommand=sleep,1;linear,0.5;diffusealpha,0
MessageFrameX=0
MessageFrameY=0
MessageFrameOnCommand=hidden,1
MessageFrameOffCommand=sleep,5;linear,0.5;diffusealpha,0

[ScreenMapControllers]
Class=ScreenMapControllers
Fallback=ScreenOperatorMenu
AllowOperatorMenuButton=0
EvenLineIn=zoom,1;x,SCREEN_CENTER_X-340;diffusealpha,0.5
OddLineIn=zoom,1;x,SCREEN_CENTER_X-340;diffusealpha,0.5
EvenLineOut=stoptweening;accelerate,0.3;addx,-SCREEN_WIDTH;
OddLineOut=stoptweening;accelerate,0.3;addx,SCREEN_WIDTH;

[Common]
ColorP1=@PlayerColor(PLAYER_1)
ColorP2=@PlayerColor(PLAYER_2)
# We need this to start the game with that screen.
InitialScreen=@InitalBootUpScreen()
WindowTitle=@SplatoonInfo['Name']..' - Version '..SplatoonInfo['Version']
DefaultModifiers=2.5x, Overhead, SplatTest
DefaultCpuModifiers=robot
DifficultiesToShow=beginner,easy,medium,hard,challenge
CourseDifficultiesToShow=regular,difficult
StepsTypesToHide=dance-couple,dance-solo,lights-cabinet
ScreenWidth=640
ScreenHeight=480
OverlayScreens=ScreenSystemLayer,ScreenSyncOverlay,ScreenDebugOverlay,DEBUG_StatsInfo

[ScreenOptions]
####################################

# Make the highlight fit the entire screen
LineHighlightOnCommand=ztest,1;zoomtowidth,532;horizalign,left;x,SCREEN_CENTER_X-196;faderight,1;zoomy,1.3;decelerate,0.3;zoomy,1.1;diffuseramp;effectclock,bgm;effectcolor1,1,1,1,1;effectcolor2,0.8,0.8,0.8,1;effectoffset,0.2
LineHighlightChangeCommand=finishtweening;zoomy,1.1;zoomtowidth,532;horizalign,left;x,SCREEN_CENTER_X-196;zoomy,1.3;decelerate,0.3;zoomy,1
# 27 pixels -> 30 pixels	
LineHighlightChangeToExitCommand=zoomy,1.1111111111;zoomtowidth,532;horizalign,left;x,SCREEN_CENTER_X-196;

# Explanations!
ExplanationTogetherOnCommand=wrapwidthpixels,1700;vertalign,top;horizalign,left;x,SCREEN_CENTER_X-150;y,SCREEN_CENTER_Y+142;zoom,0.27;shadowlength,1;cropright,1;decelerate,0.3;cropright,0
ExplanationP1OnCommand=@'wrapwidthpixels,1700/2.4;vertalign,top;horizalign,left;x,SCREEN_CENTER_X-150;y,SCREEN_CENTER_Y+142;zoom,0.27;shadowlength,1;cropright,1;decelerate,0.3;cropright,0;diffuse,'..PlayerColor(PLAYER_1)
ExplanationP2OnCommand=@'wrapwidthpixels,1700/2.4;vertalign,top;horizalign,right;x,SCREEN_CENTER_X+300;y,SCREEN_CENTER_Y+142;zoom,0.27;shadowlength,1;cropright,1;decelerate,0.3;cropright,0;diffuse,'..PlayerColor(PLAYER_2)

ColorNotSelected=1,1,1,1	// grayed
ColorSelected=1,1,1,1		// normal

CursorTweenSeconds=0.1

# Exit button is actually gone, but i kept a animation for it.
SeparateExitRow=1
ShowExitRow=1
SeparateExitRowY=SCREEN_CENTER_Y+127

# We move the Option Choices
ItemsStartX=SCREEN_CENTER_X-140
ItemsEndX=SCREEN_CENTER_X+350
ItemsGapX=15
ItemsOnCommand=zoom,0.5;shadowlength,3

# Animation of the Option Choices
FrameOnCommand=addy,SCREEN_CENTER_Y*2;decelerate,0.5;addy,-SCREEN_CENTER_Y*2
FrameOffCommand=

# We need labels here
LabelsOnCommand=x,SCREEN_CENTER_X-300;zoom,0.4;horizalign,left;shadowlength,0

# Here we move the Options rows a little bit up.
RowYOffScreenTop=SCREEN_CENTER_Y-113+35*(-0.5)
Row1Y=SCREEN_CENTER_Y-115+33*0
Row2Y=SCREEN_CENTER_Y-115+33*1
Row3Y=SCREEN_CENTER_Y-115+33*2
Row4Y=SCREEN_CENTER_Y-115+33*3
RowYOffScreenCenter=SCREEN_CENTER_Y-115+33*3.5
Row5Y=SCREEN_CENTER_Y-115+33*4
Row6Y=SCREEN_CENTER_Y-115+33*5
Row7Y=SCREEN_CENTER_Y-115+33*6
Row8Y=SCREEN_CENTER_Y-115+33*7
RowYOffScreenBottom=SCREEN_CENTER_Y-115+33*7.5

ScrollBarX=SCREEN_CENTER_X-310
ShowScrollBar=1
ScrollBarHeight=240
ScrollBarTime=0

##################################################

[ScreenPlayerOptions]
CapitalizeAllOptionNames=0
NumRowsShown=7
ShowExitRow=1
TimerSeconds=-1
ShowStage=0
NextScreen=ScreenBranchStage
PrevScreen=@SongSelectionScreen()
PlayMusic=0
LineNames=1,2,3,4,5,6,7,8,9,10,11,12,13,14
OptionMenuFlags=explanations;
Line1=list,Speed
Line2=list,Persp
Line4=list,Scroll
Line5=list,Accel
Line6=list,Effect
Line7=list,Appearance
Line8=list,Handicap
Line9=list,Handicap2
Line10=list,Turn
Line11=list,InsertTaps
Line12=list,InsertOther
Line13=list,Hide
Line14=list,Steps
CancelAllP1OnCommand=hidden,1
CancelAllP2OnCommand=hidden,1

[Gameplay]
ComboIsPerRow=false
MinScoreToContinueCombo=TNS_GREAT
MinScoreToMaintainCombo=TNS_GREAT

[Preferences]
PercentageScoring=1
ComboContinuesBetweenSongs=0
TwoPlayerRecovery=0
AllowExtraStage=0
EasterEggs=0
ShowSongOptions=0
MusicWheelUsesSections=1
ArcadeOptionsNavigation=1
HideDefaultNoteSkin=1
HiddenSongs=1
SignProfileData=1
BlinkGameplayButtonLightsOnNote=1
DelayedCreditsReconcile=1
DelayedBack=0
SubSortByNumSteps=1
CourseSortOrder=1
Minimum1FullSongInCourses=1
FailOffInBeginner=1
FailOffForFirstStageEasy=1
TwoPlayerRecovery=0
PreferredSortUsesGroups=0

# ProductID=1 is ITG1 kits that shipped before the hold note score bug that gave life for an NG.
# ProductID=2 is ITG1
# ProductID=3 is ITG2 with the "MercifulBeginner always in effect" scoring bug
# ProductID=4 is ITG2
ProductID=4

# This currently has no memory cap, so we run out of memory.
DelayedTextureDelete=0

# -random- always uses RandomMovies.
BackgroundMode=0

# Mix down a bit, to prevent clipping.
SoundVolume=0.7

# Long version is 3:30, which includes only Training.
LongVerSongSeconds=210
MarathonVerSongSeconds=99999

# no autogen
AutogenGroupCourses=0
AutogenSteps=0

BGBrightness=0.400000
LockCourseDifficulties=0
MemoryCardProfileSubdir=In The Groove 2
MemoryCardProfileImportSubdirs=In The Groove

# Always use "fantastic".
MarvelousTiming=2

UseUnlockSystem=1

# Disqualify scores when using certain mods.
Disqualification=1

# Don't keep old high scores around.
MaxHighScoresPerListForMachine=10
MaxHighScoresPerListForPlayer=1

AllowMultipleHighScoreWithSameName=0

JudgeWindowScale=1.000000	# don't allow overriding of timing

JudgeWindowSecondsMine=0.070000
JudgeWindowSecondsBoo=0.180000
JudgeWindowSecondsGood=0.135000
JudgeWindowSecondsGreat=0.102000
JudgeWindowSecondsPerfect=0.043000
JudgeWindowSecondsMarvelous=0.021500
JudgeWindowSecondsOK=0.320000
JudgeWindowSecondsAttack=0.130000

# Set this on all plaforms because many home pads are sticky too.
PadStickSeconds=0.05

# Grade weights are equal to percent score weights, and not equal to life weights.
GradeWeightHitMine=-6
GradeWeightMiss=-12
GradeWeightBoo=-6
GradeWeightGood=0
GradeWeightGreat=2
GradeWeightPerfect=4
GradeWeightMarvelous=5
GradeWeightNG=0
GradeWeightOK=5

PercentScoreWeightHitMine=-6
PercentScoreWeightMiss=-12
PercentScoreWeightBoo=-6
PercentScoreWeightGood=0
PercentScoreWeightGreat=2
PercentScoreWeightPerfect=4
PercentScoreWeightMarvelous=5
PercentScoreWeightNG=0
PercentScoreWeightOK=5

LifeDeltaPercentChangeHitMine=-0.050
LifeDeltaPercentChangeMiss=-0.100
LifeDeltaPercentChangeBoo=-0.050
LifeDeltaPercentChangeGood=0.0
LifeDeltaPercentChangeGreat=0.004
LifeDeltaPercentChangePerfect=0.008
LifeDeltaPercentChangeMarvelous=0.008
LifeDeltaPercentChangeNG=-0.080
LifeDeltaPercentChangeOK=0.008

TugMeterPercentChangeHitMine=-0.080
TugMeterPercentChangeMiss=-0.080
TugMeterPercentChangeBoo=-0.040
TugMeterPercentChangeGood=0.0
TugMeterPercentChangeGreat=0.004
TugMeterPercentChangePerfect=0.008
TugMeterPercentChangeMarvelous=0.010
TugMeterPercentChangeNG=-0.080
TugMeterPercentChangeOK=0.008

TimeMeterSecondsChangeMarvelous=0.2
TimeMeterSecondsChangePerfect=0
TimeMeterSecondsChangeGreat=-0.5
TimeMeterSecondsChangeGood=-1
TimeMeterSecondsChangeBoo=-2
TimeMeterSecondsChangeMiss=-4
TimeMeterSecondsChangeHitMine=-2
TimeMeterSecondsChangeOK=0
TimeMeterSecondsChangeNG=-4

MercifulDrain=0
MercifulBeginner=1

# Take marquee lights from Hard steps, and bass lights from Medium steps.
LightsStepsDifficulty=hard,medium

[ScreenCenterImage]
# WE DON'T NEED A HEADER AND FOOTER
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1

[ScreenTestLights]
# WE DON'T NEED A HEADER AND FOOTER
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1

[ScreenTestInput]
# WE DON'T NEED A HEADER AND FOOTER
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1
TimerOnCommand=hidden,1

[ScreenSelectMusic]
# WE DON'T NEED A HEADER AND FOOTER
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1
SongsOnCommand=hidden,1
StageOnCommand=hidden,1
TimerOnCommand=hidden,1

OptionsMessageX=SCREEN_CENTER_X
OptionsMessageY=SCREEN_CENTER_Y
OptionsMessageOnCommand=
OptionsMessageOffCommand=linear,0.3;cropleft,1.3

OverrideSleepAfterTweenOffSeconds=1
SleepAfterTweenOffSeconds=-1

StageX=SCREEN_LEFT+200000000000000000000000000004
StageY=SCREEN_TOP+72

MusicWheelX=SCREEN_RIGHT-190
MusicWheelY=SCREEN_CENTER_Y+20
MusicWheelOffCommand=%function(self) self:accelerate(1) self:addx(2000) end
# Keep this Y and FOVCenterY the same.
MusicWheelOnCommand=%function(self) self:ztest(1) self:rotationy(5) self:zoom(0.7) self:addx(2000) self:decelerate(1) self:addx(-2000) end
FOV=45
SelectMenuAvailable=false
ModeMenuAvailable=ModeMenuAvailable()
FOVCenterX=SCREEN_CENTER_X
FOVCenterY=SCREEN_CENTER_Y-18
DoRouletteOnMenuTimer=0
WheelUnderX=SCREEN_RIGHT-190
WheelUnderY=SCREEN_CENTER_Y+20
WheelUnderOnCommand=draworder,300;zoomx,0.55;zoomy,0.35;z,0;zwrite,1;rotationy,5;blend,noeffect
WheelUnderOffCommand=
DifficultyListX=SCREEN_LEFT+150
DifficultyListY=SCREEN_CENTER_Y-70
DifficultyListOnCommand=zoom,0.6
DifficultyListOffCommand=hidden,1
DifficultyListShowCommand=
DifficultyListHideCommand=

ShowPanes=0
ShowDifficultyList=0
MeterP1OnCommand=hidden,1
MeterP2OnCommand=hidden,1
#Banner

BannerX=SCREEN_LEFT+200-40
BannerY=SCREEN_CENTER_Y-138
BannerOnCommand=zoom,0
BannerOffCommand=

#MusicWheel Animations

MusicWheelItemStartOnCommand=
MusicWheelItemFinishOnCommand=
MusicWheelItemStartOffCommand=
MusicWheelItemFinishOffCommand=
HighlightOnCommand=diffuseshift;effectcolor2,1,1,1,0.09;effectcolor1,1,1,1,0.15;effectperiod,2.0;effectoffset,0.2;effectclock,beat;ztest,1

#BPM Display

BPMDisplayOffCommand=hidden,1;zoom,0
BPMDisplayOnCommand=hidden,1;zoom,0

#Balloon, otherwise known as the long/marathon markers.

BalloonX=SCREEN_CENTER_X-125
BalloonY=SCREEN_CENTER_Y-70+OffsetInc
BalloonOffCommand=%function(self) self:accelerate(1) self:addx(-2000) end
BalloonOnCommand=%function(self) self:addx(-1100) self:decelerate(1) self:addx(1100) end
BalloonShowCommand=%function(self) if GAMESTATE:GetCurrentSong():IsMarathon() then AudioPlay('BalloonWarnMar') else AudioPlay('BalloonWarn') end self:hidden(0) self:bounceend(0.1) self:zoom(1) end
BalloonHideCommand=%function(self) self:bouncebegin(0.1) self:zoom(0) end

#Other stuff that needs to go

ArtistDisplayX=
ArtistDisplayY=
ArtistDisplayOffCommand=
ArtistDisplayOnCommand=hidden,1
MachineRankX=SCREEN_CENTER_X+260
MachineRankY=SCREEN_CENTER_Y-32
MachineRankOnCommand=hidden,1
MachineRankOffCommand=

[CodeDetector]
Easier1=Up,Up
Easier2=MenuUp,MenuUp
Harder1=Down,Down
Harder2=MenuDown,MenuDown
NextSort1=
NextSort2=
NextSort3=
NextSort4=
# Always allow L+R+Start, even when we have the secondary button available.
# That way, people transitioning from kits trying to enter the menu won't
# end up selecting a song unintentionally.
ModeMenu1=MenuLeft-MenuRight-Start
ModeMenu2=Up,Down,Up,Down
#ModeMenu2=Secondary
Mirror=
Left=
Right=
Shuffle=
SuperShuffle=
NextTransform=
NextScrollSpeed=
PreviousScrollSpeed=
NextAccel=
NextEffect=
NextAppearance=
NextTurn=
Reverse=
HoldNotes=
Mines=
Dark=
CancelAll=
NextTheme=Up,Down,Left
NextTheme2=
NextAnnouncer=Up,Down,Right
NextAnnouncer2=
NextGame=
NextGame2=
NextBannerGroup=
NextBannerGroup2=
Hidden=
RandomVanish=
CancelAllPlayerOptions=
BackInEventMode=
SaveScreenshot1=MenuLeft+MenuRight
SaveScreenshot2=Select

###########################
#####     da iterms   #####
###########################

[MusicWheelItem]
GradeP1X=2
GradeP2X=38
IconX=0
IconOnCommand=zoomx,0.98;zoomy,0.9
RouletteX=0
RouletteY=-20
RouletteOnCommand=zoom,0.8
SectionX=-120
SectionY=-20
SectionOnCommand=zoom,0.6;maxwidth,480;horizalign,left
SongNameX=-88.125*((SCREEN_WIDTH/SCREEN_HEIGHT)-(4/3))
SongNameOnCommand=zoom,0.7;zoomx,0.7/((SCREEN_WIDTH/SCREEN_HEIGHT)/(4/3));
CourseNameX=-150-30*((SCREEN_WIDTH/SCREEN_HEIGHT-4/3)/(4/3))
CourseNameY=-6
CourseNameOnCommand=shadowlength,0;zoom,0.5;horizAlign,left;maxwidth,400*((SCREEN_WIDTH/SCREEN_HEIGHT)/(4/3));zoomx,0.5/((SCREEN_WIDTH/SCREEN_HEIGHT)/(4/3))
SortX=-150-30*((SCREEN_WIDTH/SCREEN_HEIGHT-4/3)/(4/3))
SortY=-6
SortOnCommand=shadowlength,0;zoom,0.5;horizAlign,left;maxwidth,400*((SCREEN_WIDTH/SCREEN_HEIGHT)/(4/3));zoomx,0.5/((SCREEN_WIDTH/SCREEN_HEIGHT)/(4/3))

# This restores the artist text in the wheel.
[TextBanner]
TitleX=-150
TitleY=-35
TitleOnCommand=shadowlength,1;horizalign,left
SubtitleX=-140
SubtitleY=-15
SubtitleOnCommand=shadowlength,1;horizalign,left
ArtistX=-150
ArtistY=5
ArtistOnCommand=shadowlength,1;horizalign,left
ArtistPrependString=by: 
TwoLinesTitleCommand=maxwidth,500;zoom,0.8
TwoLinesSubtitleCommand=maxwidth,500;zoom,0.5
TwoLinesArtistCommand=maxwidth,500;zoom,0.5
ThreeLinesTitleCommand=maxwidth,500;zoom,0.6
ThreeLinesSubtitleCommand=maxwidth,500;zoom,0.6
ThreeLinesArtistCommand=maxwidth,500;zoom,0.5


###########################
##### WE NEED A WHEEL #####
###########################

[BitmapText]
RainbowColor1=1.0,0.0,0.4,1	# red
RainbowColor2=0.8,0.2,0.6,1	# pink
RainbowColor3=0.4,0.3,0.5,1	# purple
RainbowColor4=0.2,0.6,1.0,1	# sky blue
RainbowColor5=0.2,0.8,0.8,1	# sea green
RainbowColor6=0.2,0.8,0.4,1	# green
RainbowColor7=1.0,0.8,0.2,1	# orange

[SongManager]
BeginnerColor=@DifficultyColor(DIFFICULTY_BEGINNER)
EasyColor=@DifficultyColor(DIFFICULTY_EASY)
MediumColor=@DifficultyColor(DIFFICULTY_MEDIUM)
HardColor=@DifficultyColor(DIFFICULTY_HARD)
ChallengeColor=@DifficultyColor(DIFFICULTY_CHALLENGE)
EditColor=@DifficultyColor(DIFFICULTY_EDIT)
ExtraColor=1,0,0,1
# Colour Time
NumSongGroupColors=11
# Magenta
SongGroupColor1=#FF00FF
# Orange
SongGroupColor2=#FFA500
# Yellow-orange
SongGroupColor3=#FA9500
# Lime green
SongGroupColor4=#32CD32
# Emerald
SongGroupColor5=#7FFFD4
# Turquoise
SongGroupColor6=#40E0D0
# Blue
SongGroupColor7=#0000FF
# Purple
SongGroupColor8=#800080
# Red-orange
SongGroupColor9=#FF4500
# Sky blue
SongGroupColor10=#87CEEB
# Light blue
SongGroupColor11=#ADD8E6
ExtraColorMeter=12

[MusicWheel]
FadeSeconds=0.5
ItemCurveX=0
ItemSpacingY=70
LockedInitialVelocity=7
RandomPicksLockedSongs=0
NumWheelItems=7
NoCurving=1
MusicWheelItemStartOnCommand=addx,640;zoom,0
MusicWheelItemFinishOnCommand=sleep,1;decelerate,0.2;addx,-640;zoom,1
MusicWheelItemStartOffCommand=
MusicWheelItemFinishOffCommand=accelerate,0.2;addx,640;zoom,1
HighlightOnCommand=x,-1;diffuseshift;effectcolor1,1,1,1,0.09;effectcolor2,1,0.5,0,0.6;effectperiod,1;effectoffset,0.2;effectclock,beat;ztest,1
HighlightStartOnCommand=addx,640;zoom,0
HighlightFinishOnSortCommand=
HighlightFinishOnCommand=sleep,1.2;decelerate,0.2;addx,-640;;zoom,1
HighlightStartOffCommand=
HighlightFinishOffCommand=
HighlightFinishOffSortCommand=
WheelItemOffDelayCenter=4
WheelItemOffDelayOffset=0.04
WheelItemOnDelayCenter=4
WheelItemOnDelayOffset=0.04
Wheel3DRadius=200
CirclePercent=1
RouletteSlowDownSwitches=5
RouletteSwitchSeconds=0.05
ScrollBarHeight=360
ScrollBarX=234
ShowRandom=0
ShowRoulette=1
ShowPortal=1
SongRealExtraColor=0.9,0.9,0,1		# yellow
SortMenuColor=1,1,1,1
SwitchSeconds=0.01
Use3D=0
MostPlayedSongsToShow=9999
ModeMenuChoiceNames=Group,Title,Bpm,Popularity,TopGrade,Artist,EasyMeter,MediumMeter,HardMeter,ExpertMeter
ChoiceGroup=name,SORT - Version;sort,Group
ChoiceTitle=name,SORT - Title;sort,Title
ChoiceBpm=name,SORT - BPM;sort,BPM
ChoicePopularity=name,SORT - Popularity;sort,Popularity
ChoiceTopGrade=name,SORT - Top Grade;sort,TopGrade
ChoiceArtist=name,SORT - Artist;sort,Artist
ChoiceGenre=name,SORT - Genre;sort,Genre
ChoiceEasyMeter=name,SORT - Easy Meter;sort,EasyMeter
ChoiceMediumMeter=name,SORT - Medium Meter;sort,MediumMeter
ChoiceHardMeter=name,SORT - Hard Meter;sort,HardMeter
ChoiceExpertMeter=name,SORT - Expert Meter;sort,ChallengeMeter
ChoiceDance=name,MODE - Dance;PlayMode,regular
ChoiceBattle=name,MODE - Battle;PlayMode,rave

###########################
##### Set ya clock !  #####
###########################

[ScreenSetTime]
Class=ScreenSetTime
StyleIcon=0
TimerSeconds=0
TimerOnCommand=hidden,1
Fallback=ScreenWithMenuElements
NextScreen=ScreenOptionsMenu
PrevScreen=ScreenOptionsMenu

LabelsOnCommand=x,SCREEN_LEFT+20;zoom,0.4;horizalign,left;shadowlength,0

[ScreenWithMenuElements]
# WE DON'T NEED A HEADER AND FOOTER
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1
SongsOnCommand=hidden,1

#########
# Arcade Options, otherwise know as the main ones.
#########

[SplatMania Main Settings]
Fallback=ScreenOptionsSubmenu
PrevScreen=ScreenOptionsMenu
LineNames=1,2,5,8,9
OptionMenuFlags=together;forceallplayers;explanations;
Line1=conf,Language
Line2=conf,SongsPerPlay
Line5=conf,EventMode
Line8=conf,LifeDifficulty
Line9=conf,DefaultFailTypeNoOff

ShowScrollBar=0
ShowUnderlines=0
CapitalizeAllOptionNames=0

[ScreenGameplay]
AllowOperatorMenuButton=0
#Player 1
LifeP1OnCommand=%function(self) self:ztest(1) self:draworder(-1) self:rotationz(-90) self:zoom(0.6) self:horizalign('left') end
LifeP1OffCommand=
LifeP1X=SCREEN_LEFT+120
LifeP1Y=SCREEN_TOP+47
ScoreP1Y=SCREEN_TOP+7
ScoreP1X=SCREEN_LEFT+150
ScoreP1OnCommand=draworder,101;zoom,0.45;addy,-100;decelerate,0.6;addy,100
#Player 2
LifeP2OnCommand=%function(self) self:draworder(-1) self:zoom(0.6) self:horizalign('right') self:zoomx(-0.6) end
LifeP2OffCommand=
LifeP2X=SCREEN_RIGHT-120
LifeP2Y=SCREEN_TOP+47
ScoreP2Y=SCREEN_TOP+7
ScoreP2X=SCREEN_RIGHT-72
ScoreP2OnCommand=draworder,101;zoom,0.45;addy,-100;decelerate,0.6;addy,100
StageX=0
StageY=0
StageOnCommand=hidden,1;zoom,0

SecondaryScoreP1OnCommand=zoom,0
SecondaryScoreP1OffCommand=
SecondaryScoreP2OnCommand=zoom,0
SecondaryScoreP2OffCommand=

CombinedLifeX=SCREEN_CENTER_X
CombinedLifeY=SCREEN_TOP+54
CombinedLifeOnCommand=hidden,1
CombinedLifeOffCommand=hidden,1

PlayerP1OnePlayerOneSideX=SCREEN_CENTER_X-(SCREEN_WIDTH*160/640)
PlayerP2OnePlayerOneSideX=SCREEN_CENTER_X+(SCREEN_WIDTH*160/640)
PlayerP1TwoPlayersTwoSidesX=SCREEN_CENTER_X-(SCREEN_WIDTH*160/640)
PlayerP2TwoPlayersTwoSidesX=SCREEN_CENTER_X+(SCREEN_WIDTH*160/640)
PlayerP1OnePlayerBothSidesX=SCREEN_CENTER_X
PlayerP2OnePlayerBothSidesX=SCREEN_CENTER_X

NextScreen=@GetGameplayNextScreen()

[ScoreDisplayRave]
# MeterP1OnCommand=y,1;zoomx,2.5;rotationz,-90;glowshift;effectcolor2,1,1,1,0.5
# MeterP2OnCommand=y,1;zoomx,2.5;rotationz,-90;glowshift;effectcolor2,1,1,1,0.5
# LevelP1OnCommand=@"y,-140;diffuse,"..PlayerColor(PLAYER_1)
# LevelP2OnCommand=@"y,-140;diffuse,"..PlayerColor(PLAYER_2)
MeterP1OnCommand=hidden,1;zoom,0
MeterP2OnCommand=hidden,1;zoom,0
LevelP1OnCommand=hidden,1
LevelP2OnCommand=hidden,1

[LifeMeterBar]
DangerThreshold=0.3
MeterHeight=115
MeterWidth=120
NumChambers=1
NumStrips=2
StreamNormalOnCommand=diffusealpha,0.85
StreamHotOnCommand=diffusealpha,0.85
StreamPassingOnCommand=

[ScreenGraphicOptionsBasic]
Fallback=SplatMania Main Settings
CapitalizeAllOptionNames=0
LineNames=1,2,3,4,5,6
OptionMenuFlags=together;forceallplayers;explanations;smnavigation
Line1=conf,Windowed
Line2=lua,LuaGraphicOptions()
Line3=lua,LuaSetAspectRatio()
Line4=lua,LuaSetResolution('4:3')
Line5=lua,LuaSetResolution('16:10')
Line6=lua,LuaSetResolution('16:9')
Line7=list,Advanced Graphic Options
ColorDisabled=0.82,0.82,0.82,0
Row4Y=SCREEN_CENTER_Y-115+35*3
Row5Y=SCREEN_CENTER_Y-115+35*3
Row6Y=SCREEN_CENTER_Y-115+35*3
Row7Y=SCREEN_CENTER_Y-115+35*5
NumIconParts=0
NumCursorParts=0
NumPreviewParts=0
ShowScroller=0
WrapScroller=0
HelpOnCommand=hidden,1
ShowScrollBar=0


###############################################################


# This will manage all screens that we give to it.
[ScreenAttract]
StartScreen=@TitleBranch()
Fallback=ScreenWithMenuElementsBlank
BackGoesToStartScreen=0

[SplatAbout]
AllowDisabledPlayerInput=1
MemoryCardIcons=1
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenOptionsMenu
BackGoesToStartScreen=0
AllowBack=0

ChoiceNames=01
Choice01=screen,ScreenOptionsMenu
ScrollerOnCommand=hidden,1
NumChoicesOnPage1=5
ScrollerNumItemsToDraw=15

[SplatBackgroundTest]
Fallback=ScreenAttract
Class=ScreenAttract
NextScreen=SplatBackgroundTest
AllowDisabledPlayerInput=0
TimerSeconds=500000000000000
StartScreen=SplatBackgroundTest

[SplatBootUp]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenOptionsMenu
SleepAfterTweenOffSeconds=1
ChoiceNames=1
Choice1=screen,SplatSaveWarning
ChoiceOnCommand=zoom,0
ScrollerOnCommand=zoom,0

[ScreenTutorialTest]
Fallback=ScreenGameplay
PrevScreen=@ScreenTitleBranch()
LifeP1OnCommand=hidden,1
LifeP2OnCommand=hidden,1
ScoreP1OnCommand=hidden,1
ScoreP2OnCommand=hidden,1
OverlayOnCommand=hidden,1
StageOnCommand=hidden,1;zoom,0
StageFrameOnCommand=hidden,1
PlayerType=PlayerTraining
NextScreen=@ScreenTitleBranch()

[ScreenTitleMenu]
AllowDisabledPlayerInput=1
MemoryCardIcons=1
PrevScreen=ScreenTitleMenu
BackGoesToStartScreen=0
AllowBack=0

ChoiceNames=01,03,04,05,06
Choice01=screen,SplatSelectGameMode
Choice02=screen,ScreenEditMenu
Choice03=screen,ScreenOptionsMenu
# TODO: Make a confirm exit!
Choice04=screen,ScreenExit
#Choice05=screen,ScreenTutorialTest;style,single;playmode,regular;song,SplatMania Missions/Introduction - 15;steps,expert;
Choice05=screen,SplatStatisticsMainMenu
#Choice06=@'screen,'..MissionModeScreen('Testing Enviroment')
Choice06=screen,SplatMania Credits
NumChoicesOnPage1=5
ScrollerNumItemsToDraw=15

ScrollerX=SCREEN_RIGHT-200
ScrollerY=SCREEN_CENTER_Y-100
ScrollerOnCommand=zoom,0.5
ScrollerOffCommand=accelerate,1;addx,2000
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(100*offset) end
#ScrollerSecondsPerItem=0.1
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=zoom,1.8;stoptweening;bounceend,0.2;zoom,1.3
ScrollLoseFocusCommand=stoptweening;bounceend,0.2;zoom,1

# WE DON'T NEED A HEADER AND FOOTER
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1
SongsOnCommand=hidden,1

# Although some might want the game version for bug related stuff
VersionOnCommand=hidden,1

# TO PREVENT CRASHES FROM SHAME
IdleTimeoutSeconds=300000000
IdleTimeoutScreen=ScreenTitleMenu

[SplatSelectGameMode]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenTitleMenu
OptionMenuFlags=together;forceallplayers;explanations
ScrollerX=SCREEN_LEFT+230
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=%function(self) self:zoom(0.25) self:rotationy(-15) end
ScrollerOffCommand=%function(self) end
ScrollerNumItemsToDraw=15
TimerOnCommand=hidden,1
OverrideSleepAfterTweenOffSeconds=1
SleepAfterTweenOffSeconds=2
OverrideLockInputSeconds=1
TimerSeconds=-1

ChoiceNames=1,2
Choice1=PlayMode,regular;screen,ScreenSelectPlayers
Choice2=PlayMode,battle;screen,ScreenSelectPlayers
Choice3=
# Choice1=screen,SplatSelectGameMode
# Choice2=screen,SplatSelectGameMode
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(700*offset) end
#ScrollerTransform=function(self,offset,itemIndex,numItems) local theta=offset*math.pi*2/numItems; self:y(math.sin(theta)*200); self:y(self:GetZ()/2.2-20); local focus=scale(self:GetZ(),0,200,-1,1); local zoomv=scale(focus,0,1,0.7,1); self:zoom(zoomv); end
ScrollerSecondsPerItem=0.3
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=stoptweening;bounceend,0.3;zoom,1.4
ScrollLoseFocusCommand=stoptweening;bounceend,0.3;zoom,1

[SplatMania Language Selection Start]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenExit
OptionMenuFlags=together;forceallplayers;explanations
ScrollerX=SCREEN_CENTER_X-80
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=%function(self) self:zoom(0.5) end
ScrollerOffCommand=
ScrollerNumItemsToDraw=15
TimerOnCommand=hidden,1
TimerSeconds=-1

ChoiceNames=1,2
Choice1=lua,function() LanguageSet('english') end;screen,SplatAbout
Choice2=lua,function() LanguageSet('spanish') end;screen,SplatAbout
Choice3=lua,function() LanguageSet('japan') end;screen,SplatAbout
ScrollerTransform=function(self,offset,itemIndex,numItems) self:x(offset+( 150*( offset*numItems ) ) ) end

[SplatMania Language Selection Options]
PrevScreen=ScreenOptionsMenu
Fallback=SplatMania Language Selection Start
ChoiceNames=1,2
Choice1=lua,function() LanguageSet('english')  end;screen,ScreenOptionsMenu
Choice2=lua,function() LanguageSet('spanish')  end;screen,ScreenOptionsMenu
Choice3=lua,function() LanguageSet('japan') end;screen,ScreenOptionsMenu
ScrollerTransform=function(self,offset,itemIndex,numItems) self:x(offset+( 150*( offset*numItems ) ) ) end

# The Options Menu
[ScreenOptionsMenu]
MemoryCardIcons=0
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
TimerSeconds=5200000000
PrevScreen=@ScreenTitleBranch()
LockInputSeconds=0
OverrideSleepAfterTweenOffSeconds=0
SleepAfterTweenOffSeconds=0
ChoiceNames=1,3,4,5,6,7,2
Choice1=screen,SplatMania Main Settings
Choice3=screen,ScreenGraphicOptionsBasic
Choice4=screen,ScreenMapControllers
Choice5=screen,ScreenReloadSongs
Choice6=screen,SplatAbout
Choice7=screen,ScreenTitleMenu
Choice2=screen,SplatMania Language Selection Options
NumChoicesOnPage1=8
ChoiceOnCommand=zoom,0
HelpOnCommand=hidden,1
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1

NumIconParts=0
NumCursorParts=0
NumPreviewParts=1
ShowScroller=1
WrapScroller=0
ScrollerFastCatchup=1

PreviewPart1X=SCREEN_CENTER_X-8000
PreviewPart1Y=SCREEN_CENTER_Y+130
PreviewPart2X=SCREEN_CENTER_X-8000
PreviewPart2Y=SCREEN_CENTER_Y+130
PreviewPart3X=SCREEN_CENTER_X-8000
PreviewPart3Y=SCREEN_CENTER_Y+130
PreviewPart4X=SCREEN_CENTER_X-8000
PreviewPart4Y=SCREEN_CENTER_Y+130

ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y-80
ScrollerOnCommand=%function(self) self:zoom(0.5) end
ScrollerOffCommand=
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(50*offset) end
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=zoomz,1
ScrollLoseFocusCommand=zoomz,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
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1
SongsOnCommand=hidden,1
TimerOnCommand=hidden,1

[ScreenEvaluationStageFailed]
Fallback=ScreenEvaluationStage

[ScreenEvaluationBattle]
Fallback=ScreenEvaluationStage

[ScreenEvaluationStage]
# everything is lua now
TimerOnCommand=hidden,1;zoom,0
ShowBannerArea=0
ShowBonusArea=0
ShowBoo=0
ShowGood=0
ShowGradeArea=0
ShowGreat=0
ShowMarvelous=0
ShowMaxCombo=0
ShowMiss=0
ShowOK=0
ShowPerfect=0
ShowJumps=0
ShowHolds=0
ShowMines=0
ShowHands=0
ShowRolls=0
ShowPointsArea=0
ShowScoreArea=0
ShowSurvivedArea=0
ShowTimeArea=0
ShowGraphArea=0
ShowComboArea=0
ShowPerDifficultyAward=0
ShowPeakComboAward=0
ShowTotalError=0

#OverrideSleepAfterTweenOffSeconds=2
SleepAfterTweenOffSeconds=2
# Discualification doesn't exist in DWI.
DisqualifiedP1OnCommand=hidden,1;zoom,0
DisqualifiedP2OnCommand=hidden,1;zoom,0
HelpOnCommand=hidden,1
MachineRecordP1OnCommand=hidden,1
MachineRecordP2OnCommand=hidden,1
# Trophies have to go
PerDifficultyAwardP1OnCommand=hidden,1
PerDifficultyAwardP2OnCommand=hidden,1
# combo (Done in lua)
MaxComboNumberP1OnCommand=hidden,1
MaxComboNumberP2OnCommand=hidden,1
# mods (Done in lua)
PlayerOptionsP1OnCommand=hidden,1
PlayerOptionsP1OffCommand=
PlayerOptionsP2OnCommand=hidden,1
PlayerOptionsP2OffCommand=
MarvelousLabelOnCommand=hidden,1
MarvelousNumberP1OnCommand=zoom,0;hidden,1
MarvelousNumberP2OnCommand=zoom,0;hidden,1
PerfectLabelOnCommand=hidden,1
PerfectNumberP1OnCommand=zoom,0;hidden,1
PerfectNumberP2OnCommand=zoom,0;hidden,1
GreatLabelOnCommand=hidden,1
GreatNumberP1OnCommand=zoom,0;hidden,1
GreatNumberP2OnCommand=zoom,0;hidden,1
GoodLabelOnCommand=hidden,1
GoodNumberP1OnCommand=zoom,0;hidden,1
GoodNumberP2OnCommand=zoom,0;hidden,1
BooLabelOnCommand=hidden,1
BooNumberP1OnCommand=zoom,0;hidden,1
BooNumberP2OnCommand=zoom,0;hidden,1
MissLabelOnCommand=hidden,1
MissNumberP1OnCommand=zoom,0;hidden,1
MissNumberP2OnCommand=zoom,0;hidden,1
HoldsLabelOnCommand=hidden,1
HoldsNumberP1OnCommand=zoom,0;hidden,1
HoldsNumberP2OnCommand=zoom,0;hidden,1

# We need graph gone, it didn't exist in DWI.
LifeGraphP1OnCommand=hidden,1
LifeGraphP2OnCommand=hidden,1
ComboGraphP1OnCommand=hidden,1
ComboGraphP2OnCommand=hidden,1
# And this too
JumpsTextP1OnCommand=hidden,1
JumpsTextP2OnCommand=hidden,1
HoldsTextP1OnCommand=hidden,1
HoldsTextP2OnCommand=hidden,1
MinesTextP1OnCommand=hidden,1
MinesTextP2OnCommand=hidden,1
HandsTextP1OnCommand=hidden,1
HandsTextP2OnCommand=hidden,1
RollsTextP1OnCommand=hidden,1
RollsTextP2OnCommand=hidden,1

GradeP1OnCommand=zoom,0
GradeP2OnCommand=zoom,0

# difficulty icons
DifficultyIconP1OnCommand=hidden,1
DifficultyIconP2OnCommand=hidden,1
ScoreLabelOnCommand=zoom,0
ScoreNumberP1OnCommand=zoom,0
ScoreNumberP2OnCommand=zoom,0
TotalScoreNumberP1OnCommand=zoom,0
TotalScoreNumberP2OnCommand=zoom,0
ShowBonusArea=0

[Combo]
ShowComboAt=4
LabelOnCommand=shadowlength,0;VertAlign,top;
NumberOnCommand=y,-20;shadowlength,0;HorizAlign,right;VertAlign,bottom
NumberMinZoom=0.5
NumberMaxZoom=1
NumberMaxZoomAt=300
PulseCommand=x,20;y,0;zoom,0.75;diffusealpha,1;decelerate,0.1;zoom,0.7;sleep,0.5;accelerate,0.2;diffusealpha,0
ShowMissCombo=0

[Judgment]
BooOddCommand=rotationz,0
GoodOddCommand=rotationz,0
GreatOddCommand=rotationz,0
MarvelousOddCommand=rotationz,0
MissOddCommand=rotationz,0
PerfectOddCommand=rotationz,0
BooEvenCommand=rotationz,0
GoodEvenCommand=rotationz,0
GreatEvenCommand=rotationz,0
MarvelousEvenCommand=rotationz,0
MissEvenCommand=rotationz,0
PerfectEvenCommand=rotationz,0
BooCommand=%function(self) JudgmentTween(self) end
GoodCommand=%function(self) JudgmentTween(self) end
GreatCommand=%function(self) JudgmentTween(self) end
MarvelousCommand=%function(self) JudgmentTween(self) end
MissCommand=%function(self) JudgmentTween(self) end
PerfectCommand=%function(self) JudgmentTween(self) end

[HoldJudgment]
NGOddCommand=rotationz,20
NGEvenCommand=rotationz,-20
OKOddCommand=rotationz,0
OKEvenCommand=rotationz,0
NGCommand=diffuse,1,1,1,1;zoom,0.18;y,5;bounceend,0.3;zoom,0.16;y,0;sleep,0.2;accelerate,0.3;diffuse,1,1,1,0;y,-10
OKCommand=diffuse,1,1,1,1;zoom,0.18;y,5;bounceend,0.3;zoom,0.16;y,0;sleep,0.2;accelerate,0.3;diffuse,1,1,1,0;y,10


# Choose how many players will join.

[ScreenSelectPlayers]
TimerOnCommand=hidden,1
MemoryCardIcons=0
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
TimerSeconds=5200000000
PrevScreen=ScreenTitleMenu
LockInputSeconds=0
ChoiceNames=1,2
Choice1=Style,single;screen,ScreenSelectMusic
Choice2=Style,versus;screen,ScreenSelectMusic
NumChoicesOnPage1=5
ChoiceOnCommand=zoom,1
HelpOnCommand=hidden,1
OverrideSleepAfterTweenOffSeconds=1
SleepAfterTweenOffSeconds=2
OverrideLockInputSeconds=1
LockInputSeconds=0.2

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

ScrollerX=SCREEN_CENTER_X-150
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=%function(self) self:zoom(0.25) end
ScrollerOffCommand=%function(self) end
ScrollerNumItemsToDraw=15
ScrollerTransform=function(self,offset,itemIndex,numItems) self:x(1200*offset) end
#ScrollerTransform=function(self,offset,itemIndex,numItems) local theta=offset*math.pi*2/numItems; self:y(math.sin(theta)*200); self:y(self:GetZ()/2.2-20); local focus=scale(self:GetZ(),0,200,-1,1); local zoomv=scale(focus,0,1,0.7,1); self:zoom(zoomv); end
ScrollGainFocusCommand=stoptweening;bounceend,0.3;zoom,1.3
ScrollLoseFocusCommand=stoptweening;bounceend,0.3;zoom,1

# WE DON'T NEED A HEADER AND FOOTER
HeaderOnCommand=hidden,1
FooterOnCommand=hidden,1
LogoOnCommand=hidden,1
HelpOnCommand=hidden,1


[ScreenMissionSelectionTest]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
ChoiceNames=01,02,03
Choice01=screen,ScreenSelectMusic
Choice02=screen,ScreenTitleMenu
Choice03=screen,ScreenTitleMenu

ScrollerX=SCREEN_CENTER_X-200
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=zoom,0.5
ScrollerTransform=function(self,offset,itemIndex,numItems) self:x(260*offset) end

# Neccesary.
# Otherwise, custom scrollers for custom screens won't show up.
[ScreenSelectMaster]
DefaultChoice=1
StyleIcon=0
MemoryCardIcons=0
OverrideSleepAfterTweenOffSeconds=1
OverrideLockInputSeconds=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=0
ScrollerFastCatchup=1

PreviewPart1X=SCREEN_CENTER_X-8000
PreviewPart1Y=SCREEN_CENTER_Y+130
PreviewPart2X=SCREEN_CENTER_X-8000
PreviewPart2Y=SCREEN_CENTER_Y+130
PreviewPart3X=SCREEN_CENTER_X-8000
PreviewPart3Y=SCREEN_CENTER_Y+130
PreviewPart4X=SCREEN_CENTER_X-8000
PreviewPart4Y=SCREEN_CENTER_Y+130

ScrollerOffCommand=
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=zoomz,1.1
ScrollLoseFocusCommand=zoomz,1
NumChoicesOnPage1=4
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
TimerOnCommand=hidden,1

[ScreenWithMenuElementsBlank]
Fallback=ScreenWithMenuElements
Class=ScreenSelectMaster
MemoryCardIcons=0
TimerSeconds=-1
TimerOnCommand=hidden,1
PrevScreen=ScreenOptionsMenu
ChoiceNames=1
Choice1=
ChoiceOnCommand=zoom,0
HelpOnCommand=hidden,1

[ScreenThemeTest]
Fallback=ScreenWithMenuElementsBlank
PrevScreen=ScreenOptionsMenu

[SplatMania Credits]
Fallback=ScreenWithMenuElementsBlank
ChoiceNames=1
Choice1=
ChoiceOnCommand=zoom,0

[ScreenLanguageTest]
Fallback=ScreenWithMenuElementsBlank
PrevScreen=ScreenOptionsMenu
ChoiceNames=1
Choice1=screen,ScreenTitleMenu
ChoiceOnCommand=zoom,0

[SplatSaveWarning]
Fallback=ScreenWithMenuElementsBlank
PrevScreen=ScreenOptionsMenu
ChoiceNames=1
Choice1=screen,ScreenTitleMenu
ChoiceOnCommand=zoom,0

OverrideSleepAfterTweenOffSeconds=1
SleepAfterTweenOffSeconds=1
OverrideLockInputSeconds=1.54
TimerSeconds=-1

[SplatPressStart]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenTitleMenu
OptionMenuFlags=together;forceallplayers;explanations
ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=%function(self) self:zoom(0.25) self:draworder(60) end
ScrollerOffCommand=%function(self) end
ScrollerNumItemsToDraw=15
TimerOnCommand=hidden,1
OverrideSleepAfterTweenOffSeconds=1
SleepAfterTweenOffSeconds=1
OverrideLockInputSeconds=1
TimerSeconds=-1

ChoiceNames=1
Choice1=screen,ScreenTitleMenu
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(700*offset) end
ScrollerSecondsPerItem=0.3
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=zoom,1.8;stoptweening;decelerate,0.3;zoom,1.3
ScrollLoseFocusCommand=stoptweening;decelerate,0.3;zoom,1

[MissionMode/Testing Enviroment]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenOptionsMenu
ChoiceNames=1,2,3,4,5,6,7,8,9
Choice1=screen,MissionMode/Testing Enviroment
Choice2=
Choice3=
Choice4=
Choice5=
Choice6=
Choice7=
Choice8=
Choice9=
ChoiceOnCommand=zoom,0
SleepAfterTweenOffSeconds=2
ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y-50
ScrollerOnCommand=zoom,0.5
ScrollerTransform=function(self,offset,itemIndex,numItems) self:x(offset*( 5*numItems )*itemIndex) self:z(90*offset) end
ScrollerSecondsPerItem=0.2
ScrollerNumItemsToDraw=15
ScrollGainFocusCommand=stoptweening;decelerate,0.7;
ScrollLoseFocusCommand=stoptweening;decelerate,0.7;

[SplatStatisticsMainMenu]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=ScreenTitleMenu
ChoiceNames=1,2
Choice1=screen,SplatStatisticsGeneral
Choice2=screen,ScreenTitleMenu
ChoiceOnCommand=zoom,0
SleepAfterTweenOffSeconds=2
ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(200*offset) end
ScrollerOnCommand=zoom,0.5

[SplatStatisticsGeneral]
Fallback=ScreenSelectMaster
Class=ScreenSelectMaster
PrevScreen=SplatStatisticsMainMenu
ChoiceNames=1
Choice1=screen,SplatStatisticsMainMenu
ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y+200
ScrollerOnCommand=zoom,0.5
ChoiceOnCommand=zoom,0
SleepAfterTweenOffSeconds=2
