; Definitions of system screens

; Motif: MUGEN1
; Optimal resolution: 640x480
; Supported languages: en, ja

; Notes about fonts:
;   - up to 10 fonts can be specified in the [Files] section.
;   - fonts indexed here do not refer to the ones in fight.def
;   - fonts are search in directories in the following order:
;     1. system directory
;     2. mugen program directory (not recommended to keep custom fonts here)
;     3. data/ (not recommended to keep custom fonts here)
;     4. font/

;----------------------------
[Info]
name = "STREET FIGHTER II THE WORLD WARRIOR MUGEN EDITION"           ;Name of motif
author = "fenzi002"       ;Motif author name
versiondate = 06,13,2012  ;Version date of motif (MM-DD-YYYY) (new in MUGEN 2009)
mugenversion = 1.1        ;Version of M.U.G.E.N motif is compatible with (new in MUGEN 2009)
localcoord = 640,480      ;Local coordinate space width and height (new in MUGEN 2009)

;----------------------------

[Files]
spr = system.sff
snd = system.snd
logo.storyboard = sf2logo.def
intro.storyboard = sf2ntro.def
fight = fight.def
select = select.def
font1 = font/sf2sys.fnt
font2 = font/sf2big.fnt
font3 = font/sf2menu.fnt
font4 = font/OPTION.DEF
font5 = font/OPTIONS.DEF
font6 = font/sf2nam.fnt

;----------------------------
[Music]
title.bgm = sound/MENU.MP3
title.bgm.loop = 1
select.bgm = sound/SELECT.MP3
select.bgm.loop = 1
vs.bgm = sound/VERSUS.MP3
vs.bgm.loop = 0
victory.bgm = sound/VICTORY.MP3
victory.bgm.loop = 0

;-------------------------------------------------------------------
;Title screen definition
[Title Info]
fadein.time = 30
fadeout.time = 30
cursor.move.snd = 100,0
cursor.done.snd = 100,1
cancel.snd = 200,0
menu.pos = 320,330
menu.item.font = 4,0,0
menu.item.active.font = 4,2,0
menu.item.spacing = 0, 40
menu.itemname.arcade = "街機模式"
menu.itemname.versus = "對戰模式"
menu.itemname.teamarcade = ""
menu.itemname.teamversus = ""
menu.itemname.teamcoop = "";"TEAM"
menu.itemname.survival = "";"SURVIVAL"
menu.itemname.survivalcoop = ""
menu.itemname.training = "練習模式"
menu.itemname.watch = "觀戰模式"
menu.itemname.options = "";"遊戲選項"
menu.itemname.exit = "";"EXIT"
menu.window.margins.y = 36, 24
menu.window.visibleitems = 4
menu.boxcursor.visible = 1   
menu.boxcursor.coords = -120,-36,120,8
cursor.move.snd = 0,0
cursor.done.snd = 0,1
cancel.snd = 0,1
cursor.snd = 0,1

;----------------------------S
;Title background definition
[TitleBGdef]
bgclearcolor = 0,0,0

[TitleBG 0]
type = normal
layerno = 0
spriteno = 1,0
start = 0,0
mask = 1
tile = 0,0

;-------------------------------------------------------------------
;Character select definition
[Select Info]
fadein.time = 15
fadeout.time = 15
rows = 5 
columns = 4
wrapping = 1
pos = 192,280	
showemptyboxes = 0
moveoveremptyboxes = 0
cell.size = 64,64
cell.spacing = 0
cell.bg.spr = 150,0
cell.random.spr = 151,0
cell.random.switchtime = 4
p1.cursor.startcell = 0,0
p1.cursor.active.anim = 4
p1.cursor.active.scale = 2,2
p1.cursor.done.spr = 160,0
p1.cursor.done.scale = 2,2
p1.cursor.move.snd = 100,0
p1.cursor.done.snd = 100,1
p1.random.move.snd = 100,0
p2.cursor.startcell = 1,0
p2.cursor.active.anim = 5
p2.cursor.active.scale = 2,2
p2.cursor.done.spr = 170,0
p2.cursor.done.scale = 2,2
p2.cursor.blink = 0       
p2.cursor.move.snd = 100,0
p2.cursor.done.snd = 100,1
p2.random.move.snd = 100,0
random.move.snd.cancel = 0		;1 to have random move sound cancel itself when played repeatedly
stage.move.snd = 100,0
stage.done.snd = 100,1	
cancel.snd = 100,2
portrait.spr = 9000,0
portrait.offset = 0,0
portrait.scale = 1,1

;---------- Portrait Data ------------
portrait.offset = 0,0
portrait.offset = 0,0
title.offset = -100,-100
title.font = 4,0,0

;Big Portraits
p1.face.spr = 9000,1 
p1.face.offset = 0,220	;Position to put big portrait
p1.face.facing = 1        
p1.face.scale = 1,1
p2.face.spr = 9000,1 
p2.face.offset = 638,220
p2.face.scale = 1,1
p2.face.facing = -1

;Name
p1.name.offset = 100,280
p1.name.font = 4,0,0
p2.name.offset = 539,280
p2.name.font = 4,0,0

;Stage select
stage.pos = 319,269
stage.active.font = 4,0,0
stage.active2.font = 4,0,0
stage.done.font = 4,1,0
;Sounds

;~~~~~~~~~~~ Team Menu ~~~~~~~~~~~~  
teammenu.move.wrapping = 1

;------------ P1 Data --------------
p1.teammenu.pos = 28,310
p1.teammenu.selftitle.font = 3,0, 1
p1.teammenu.selftitle.text = Select team mode
p1.teammenu.enemytitle.font = 3,0, 1
p1.teammenu.enemytitle.text = Opponent team mode
p1.teammenu.item.spacing = 0,45
p1.teammenu.item.cursor.offset = -30, -30
p1.teammenu.item.cursor.spr = 9,0
p1.teammenu.value.icon.offset = 45,-20
p1.teammenu.value.icon.spr = 10,0
p1.teammenu.value.empty.icon.offset = 80,-30
p1.teammenu.value.empty.icon.spr = -1,-1
p1.teammenu.value.spacing = 30,0
p1.teammenu.move.snd = 100,0
p1.teammenu.value.snd = 100,3
p1.teammenu.done.snd = 100,1
p1.teammenu.item.offset = 22,50
p1.teammenu.item.spacing = 0,42
p1.teammenu.item.font = 3,1,1
p1.teammenu.item.active.font = 3,0,1
p1.teammenu.item.active2.font = 3,1,1

;------------ P2 Data --------------
p2.teammenu.pos = 420,310
p2.teammenu.selftitle.font = 3,0, -1
p2.teammenu.selftitle.offset = 190,0
p2.teammenu.selftitle.text = Select team mode
p2.teammenu.enemytitle.font = 3,0, -1
p2.teammenu.enemytitle.offset = 190,0
p2.teammenu.enemytitle.text = Opponent team mode
p2.teammenu.item.spacing = 0,45
p2.teammenu.item.cursor.offset = 30, -30
p2.teammenu.item.cursor.anim = 9
p2.teammenu.value.icon.offset = -70,-20
p2.teammenu.value.icon.spr = 10,0
p2.teammenu.value.empty.icon.offset = -120,-30
p2.teammenu.value.empty.icon.spr = -1,-1
p2.teammenu.value.spacing = -30,0
p2.teammenu.move.snd = 100,0
p2.teammenu.value.snd = 100,3
p2.teammenu.done.snd = 100,1
p2.teammenu.item.offset = 168,50
p2.teammenu.item.spacing = 0,42
p2.teammenu.item.font = 3,1,-1
p2.teammenu.item.active.font = 3,0,-1
p2.teammenu.item.active2.font = 3,1,-1

[Begin Action 4] ;P1 active cursor
160,0, 0,0, 2
161,0, 0,0, 2

[Begin Action 5] ;P2 active cursor
170,0, 0,0, 2
171,0, 0,0, 2

[Begin Action 8]
8,0,0,0,2
8,1,0,0,2

[Begin Action 82]
8,2,0,0,2
8,3,0,0,2

[Begin Action 9]
9,0,0,0,-1, H

;-----------------------
;Character select screen background
[SelectBGdef]
[SelectBG 1]
type  = normal
spriteno = 3,0
start = 0,0
mask = 1
layerno = 0

[SelectBg plane1]
type = anim
actionno = 11
velocity = 3,.3
start = 0,0
tile = 1, 1
tilespacing = 300
mask = 1

[SelectBg plane2]
type = anim
actionno = 11
velocity = 3,.3
start = -500,100
tile = 1, 1
tilespacing = 300
mask = 1

[Begin Action 11]
11,0,0,0,2 

;-------------------------------------------------------------------
[VS Screen]
time = 350                ;Time to show screen
fadein.time = 20
fadeout.time = 25
;Match text in arcade modes
;match.text = "Match %i"   ;%i can be used for the match number
;match.offset = 20, 709
;match.font = 4,0,1
;Big portraits
p1.spr = 9000,2
p1.offset = 0,280
p1.facing = 1
p1.scale = 1,1
p2.spr = 9000,2
p2.offset = 639,280
p2.facing = -1
p2.scale = 1,1

;Names
p1.name.pos  =  120,320 
p1.name.font =   4,0,0
p2.name.pos  = 519,320
p2.name.font =   4,0,0

;-----------------------
;VS Match up screen background
[VersusBGdef] 
;bgclearcolor = 0,0,0

[VersusBG BG1] 
type = normal
layerno = 0
spriteno = 5,0
start = 0,0
tile = 0,0
mask=1

;-------------------------------------------------------------------
;Demo mode definition
[Demo Mode]
enabled = 1               ;Set to 1 to enable demo mode, 0 to disable
select.enabled = 1        ;Set to 1 to display select screen, 0 to disable
vsscreen.enabled = 0      ;Set to 1 to display versus screen, 0 to disable
title.waittime = 1350     ;Time to wait at title before starting demo mode
fight.endtime = 1800      ;Time to display the fight before returning to title
fight.playbgm = 1         ;Set to 1 to enable in-fight BGM, 0 to disable
fight.stopbgm = 1		  ;Set to 1 to stop title BGM (only if playbgm = 0)
fight.bars.display = 1    ;Set to 1 to display lifebar, 0 to disable
intro.waitcycles = 1      ;Cycles to wait before intro cutscene is played again
debuginfo = 0             ;Set to 0 to hide debugging info (debug mode only)

;-------------------------------------------------------------------
;Continue screen definition
[Continue Screen]
enabled = 1               ;Set to 1 to show continue screen, 0 to disable
pos = 640,240             ;Position
;***Known issue*** The display elements below use the fight.def resources
;instead of the ones defined in this file.
continue.text = "CONTINUE?"
continue.scale = 2,2
continue.font = 2,0,0
continue.offset = -320,-150
;Inactive and active (selected) YES/NO text
yes.text = "YES"
yes.scale = 2,2
yes.font = 1,0,0, ;128,128,128
yes.offset = -450, -100
yes.active.text = "YES"
yes.active.scale = 2,2
yes.active.font = 1,4,0
yes.active.offset = -450, -100
no.text = "NO"
no.scale = 2,2
no.font = 1,0,0, ;128,128,128
no.offset = -180, -100
no.active.text = "NO"
no.active.scale = 2,2
no.active.font = 1,4,0
no.active.offset = -180, -100

;-------------------------------------------------------------------
;Game over screen definition
[Game Over Screen]
enabled = 1               ;Set to 1 to show game over screen, 0 to disable
storyboard = gameover.def ;Game over storyboard filename

;-------------------------------------------------------------------
;Victory screen definition
;This is the screen that is shown when you win a match in arcade mode.
;It will not be displayed on the last match of arcade mode.
[Victory Screen]
enabled = 1
time = 300                ;Time to show screen
fadein.time = 8
fadeout.time = 15
;Winner's portrait and name
p1.offset = 192,310
p1.spr = 9000,2
p1.facing = 1
p1.scale = 1,1
;p1.window = 0,0, 1279,500
;p1.name.offset = 420,220 
;p1.name.font = 4,0,1
;Win quote text
winquote.text = "WINNER!" ;Default win quote text to show
winquote.offset = 70,360
winquote.font = 4,0,1
winquote.window =  0,100, 600,480 ;400,300
winquote.textwrap = w     ;Word wrap

;-----------------------
;Victory screen background
[VictoryBGdef] 

[VictoryBG 0] 
type  = normal
spriteno = 20,0
start = 0,0
layerno=0
mask=1

[VictoryBG 1] 
type  = normal
spriteno = 30,0
start = 0,0
layerno=0
mask=1

;-------------------------------------------------------------------
;Win screen definition
;This is the screen that is shown when you win in arcade mode.
;It will not be displayed if the winning character has an ending.
[Win Screen]
enabled = 1               ;Set to 1 to show win screen, 0 to disable
wintext.text = "THANK YOU FOR PLAYING!"
;wintext.scale = 1,1
wintext.font = 4,0,0
wintext.offset = 300,85
wintext.displaytime = -1
wintext.layerno = 2
fadein.time = 32
pose.time = 300
fadeout.time = 64

;-------------------------------------------------------------------
;Game ending screen definition
;This screen shows up after the Win Screen.
;It will not be displayed if the winning character has an ending.
[Default Ending]
enabled = 1               ;Set to 1 to show default ending, 0 to disable
storyboard = gameover.def             ;Default ending storyboard filename

;-------------------------------------------------------------------
;Ending credits screen definition
;This screen shows up after the Win Screen and Ending
[End Credits]
enabled = 0               ;Set to 1 to show credits, 0 to disable
storyboard = gameover.def             ;Credits storyboard filename

;-------------------------------------------------------------------
;Survival mode results screen definition
;This is the screen that is shown when you win in survival mode.
;It will not be displayed if the winning character has an ending.
[Survival Results Screen]
enabled = 1
winstext.text = "Rounds survived: %i"  ;Use %i for win counter
winstext.font = 3,0,0
winstext.scale = 2,2
winstext.offset = 320,80
winstext.displaytime = -1
winstext.layerno = 2
fadein.time = 32
show.time = 300
fadeout.time = 64
roundstowin = 5           ;Number of rounds to get win pose (lose pose otherwise)

;-------------------------------------------------------------------
;Options screen definition
[Option Info]
title.offset = 320,35
title.font = 2,0,0
cursor.move.snd = 100,0
cursor.done.snd = 100,1
cancel.snd = 100,2

;-------------------
;Options screen background
[OptionBGdef] 
bgclearcolor = 40,40,40

[OptionBG 0a]
type  = normal
spriteno = 2,0
layerno = 0
start = 0,0
mask = 1
tile = 0,0
