;-------------------------------------------------------------------
[Info]
name = "Mugen All-stars Fighting Jam"								;Name of motif
author = "Jmorphman + Jesuszilla + Duracelleur"						;Motif author name
versiondate = 11,03,2014											;Version date of motif (MM-DD-YYYY) (new in MUGEN 2009)
mugenversion = 1.0													;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 = def+sff+snd/system.sff          								;Filename of sprite data
snd = def+sff+snd/system.snd	          							;Filename of sound data
logo.storyboard = def+sff+snd/logo.def								;Logo storyboard definition
intro.storyboard = def+sff+snd/intro.def							;Intro storyboard definition
select = select.def       											;Character and stage selection list
fight = def+sff+snd/fight.def

font1 = font/qoh_smallbig.fnt										;Title Screen (not-active)
font2 = font/qoh_bigbig.fnt											;Title Screen (active), Character Name on vs. screen and win quote screen, Team Mode active font
font3 = font/sfa3big.fnt											;"TEAM MODE" text
font4 = font/qoh_big.fnt											;Character Name on select screen, continue + yes/no
font5 = font/qoh_small.fnt											;Team mode non-active font
font6 = font/mshsmall.fnt											;"YOU FINISHED IT" text
font7 = font/sfa2name.fnt											;Character names during fight, stage names
font8 = font/msgothic-tt20.def										;Winquotes


;-------------------------------------------------------------------
[Music]
title.bgm = data/MAFJ/def+sff+snd/ryusfa2mix.mid
title.bgm.loop = 1
select.bgm = data/MAFJ/def+sff+snd/BETAForce.ogg
select.bgm.loop = 1
vs.bgm = data/MAFJ/def+sff+snd/JustBeforeTheBattle.ogg
vs.bgm.loop = 1
victory.bgm = data/MAFJ/def+sff+snd/CelebratoryDrink.mp3
victory.bgm.loop = 0


;-------------------------------------------------------------------
[Title Info]
fadein.time = 20
fadeout.time = 20
menu.pos = 318,354
menu.item.font = 1,0,0
menu.item.font.scale = 1,1
menu.item.active.font = 2,0,0
menu.item.spacing = 0, 24
menu.itemname.arcade = "ARCADE"
menu.itemname.versus = "VS MODE"
menu.itemname.teamarcade = "TEAM ARCADE"
menu.itemname.teamversus = "TEAM VS"
menu.itemname.teamcoop = "TEAM CO-OP"
menu.itemname.survival = "SURVIVAL"
menu.itemname.survivalcoop = "SURVIVAL CO-OP"
menu.itemname.training = "TRAINING"
menu.itemname.watch = "WATCH"
menu.itemname.options = "OPTIONS"
menu.itemname.exit = "EXIT"
menu.window.margins.y = 20,9;12
menu.window.visibleitems = 4
menu.boxcursor.visible = 1   
menu.boxcursor.coords = -115,-21,115,2
cursor.move.snd = 100,0
cursor.done.snd = 100,1
cancel.snd = 100,2


;-------------------------------------------------------------------
[TitleBGdef]
bgclearcolor = 0,0,0

[TitleBG 0, Background]
type  = normal
spriteno = 0,0
start = -320, 0
layerno = 0
trans = none
mask = 1
scale = 2,2

[TitleBG 1, Logo]
type  = normal
spriteno = 0,1
layerno = 1
start = -320, 0;-25
mask = 1
scale = 2,2

[TitleBG 2]
type  = normal
spriteno = 1,0
start = 0, 0
layerno = 0
tile= 1,0
tilespacing = 400,0
velocity = 1,0
trans = add
mask = 1
scale = 2,2

[TitleBG 3]
type  = normal
spriteno = 1,1
start = 0, 0
layerno = 0
tile= 1,0
tilespacing = 400,0
velocity = 1.5,0
trans = add
mask = 1
scale = 2,2

[TitleBG 4]
type  = normal
spriteno = 1,2
start = 0, 0
layerno = 0
tile= 1,0
tilespacing = 400,0
velocity = 2,0
trans = add
mask = 1

[TitleBG 5] ; PB
type  = anim
actionno = 400
start = -164, 270
layerno = 0
mask = 1

[Begin Action 400]
400,0 ,0,0 ,1 ,, AS256D64

[TitleBG 6] ; BG
type  = normal
spriteno = 400,1
start = -164, 270
layerno = 0
mask = 1


;-------------------------------------------------------------------
[Select Info]
fadein.time = 10
fadeout.time = 10
rows = 10
columns = 17
wrapping = 1
pos = 58,81
showemptyboxes = 0        			
moveoveremptyboxes = 0    			
cell.size = 29,29
cell.spacing = 2
cell.bg.spr = 150,0
cell.random.spr = 151,0
cell.random.switchtime = 4
p1.cursor.startcell = 0,0
p1.cursor.active.anim = 1
p1.cursor.done.spr = 160,0
p1.cursor.move.snd = 100,0
p1.cursor.done.snd = 100,1
p1.random.move.snd = 100,0
p2.cursor.startcell = 0,16
p2.cursor.active.anim = 2
p2.cursor.done.spr = 165,0
p2.cursor.blink = 1       
p2.cursor.move.snd = 100,0
p2.cursor.done.snd = 100,1
p2.random.move.snd = 100,0
random.move.snd.cancel = 0
stage.move.snd = 100,0
stage.done.snd = 100,1
cancel.snd = 100,2
portrait.offset = 1,1
portrait.scale = 0.5,0.5
title.offset = 159,13
title.font = -1,-1,-1

;Big portraits
p1.face.offset = 1,143
p1.face.scale = 0.5,0.5
p1.face.facing = 1
p1.face.layerno = -3
p2.face.offset = 638,143
p2.face.scale = 0.5,0.5
p2.face.facing = -1
p2.face.layerno = -3

;Name
p1.name.offset = 5,293  
p1.name.font = 4,0,1    
p2.name.offset = 635,293
p2.name.font = 4,0,-1

;Stage select
stage.pos = 320,430
stage.active.font = 7,0,0
stage.active2.font = 7,0,0
stage.done.font = 7,0,0

;Team menu                
teammenu.move.wrapping = 1
p1.teammenu.pos = 7,192
p1.teammenu.bg.spr = 0,100
p1.teammenu.selftitle.font = 3,0,1
p1.teammenu.selftitle.text = TEAM MODE
p1.teammenu.enemytitle.font = 3,0,1
p1.teammenu.enemytitle.text = TEAM MODE
p1.teammenu.move.snd = 100,0
p1.teammenu.value.snd = 100,0
p1.teammenu.done.snd = 100,1
p1.teammenu.item.offset = 0,20
p1.teammenu.item.spacing = 0,15
p1.teammenu.item.font = 5,0,1
p1.teammenu.item.active.font = 4,0,1
p1.teammenu.item.active2.font = 4,0,1
p1.teammenu.item.cursor.offset = -10, 0
p1.teammenu.item.cursor.spr = 190
p1.teammenu.value.icon.offset = 60,1
p1.teammenu.value.icon.spr = 191,0
p1.teammenu.value.empty.icon.offset = 60,1
p1.teammenu.value.empty.icon.spr = 192,0
p1.teammenu.value.spacing = 6,0

;p2 team
p2.teammenu.pos = 623, 192
p2.teammenu.bg.spr = 0,200
p2.teammenu.selftitle.font = 3,0,-1
p2.teammenu.selftitle.text = TEAM MODE
p2.teammenu.enemytitle.font = 3,0,-1
p2.teammenu.enemytitle.text = TEAM MODE
p2.teammenu.move.snd = 100,0
p2.teammenu.value.snd = 100,0
p2.teammenu.done.snd = 100,1
p2.teammenu.item.offset = 0,20
p2.teammenu.item.spacing = 0,15
p2.teammenu.item.font = 5,0,-1
p2.teammenu.item.active.font = 4,0,-1
p2.teammenu.item.active2.font = 4,0,-1
p2.teammenu.item.cursor.offset = 10, 0
p2.teammenu.item.cursor.anim = 195
p2.teammenu.value.icon.offset = -60,1
p2.teammenu.value.icon.spr = 196,0
p2.teammenu.value.empty.icon.offset = -60,1
p2.teammenu.value.empty.icon.spr = 192,0
p2.teammenu.value.spacing = -6,0

[Begin action 1]
160,0,0,0,4
160,1,0,0,4
160,2,0,0,4
160,1,0,0,4

[Begin action 2]
165,0,0,0,4
165,1,0,0,4
165,2,0,0,4
165,1,0,0,4


;-------------------------------------------------------------------
[SelectBGdef]

[SelectBG World]
type  = normal
spriteno = 2,0
layerno = 0
start = 0,0
tile  = 0,0
velocity = 0, 0

[SelectBG Logo]
type  = normal
trans = add1
spriteno = 900,1
layerno = 0
start = 0,0
tile  = 1,1
velocity = 2, 2

[SelectBG BG]
type  = normal
trans = add1
spriteno = 900,2
layerno = 0
start =0,143
tile  = 0,0
velocity = 0, 0

[SelectBG Player select]
type = normal
spriteno = 2,3
start = -320,0
mask = 1
tile = 1,0
layerno = 1
velocity = 3,0
tilespacing = 10,0

[SelectBG SelectYourCharacter (Top)]
type  = normal
spriteno = 900,3
layerno = 1
start = 0,27
tile  = 1,0
tilespacing = 10,0
velocity = 2, 0
mask = 1

[SelectBG SelectYourCharacter (Bottom)]
type  = normal
spriteno = 900,3
layerno = 1
start = 640,449
tile  = 1,0
tilespacing = 10,0
velocity = -2, 0
mask = 1

[SelectBG Player select]
type = normal
spriteno = 2,3
start = -320,456
mask = 1
tile = 1,0
layerno = 1
velocity = -3,0
tilespacing = 10,0

;-------------------------------------------------------------------
[VS Screen]
time =  250
fadein.time = 5
p1.pos =  0,110
p2.pos = 639,110
p1.name.pos  = 18,412
p1.name.spacing = 0,24
p1.name.font = 2,0,1
p2.name.pos  = 622,412
p2.name.font = 2,0,-1
p2.name.spacing = 0,24

;-------------------------------------------------------------------
[VersusBGdef] 

[VersusBG World]
type  = normal
spriteno = 2,0
layerno = 0
start = 0,0
tile  = 0,0
velocity = 0, 0

[VersusBG Logo]
type  = normal
trans = add1
spriteno = 900,1
layerno = 0
start = 0,0
tile  = 1,1
velocity = 2, 2

[VersusBG BG]
type  = normal
trans = add1
spriteno = 901,0
layerno = 0
start =0,110
tile  = 0,0
velocity = 0, 0

[VersusBG Versus Stripe]
type = anim
actionno = 3
start = 0,0
layerno = 1 


[VersusBG PREPARETOFIGHT]
type  = normal
spriteno = 901,1
layerno = 1
start = 0,5
tile  = 1,0
tilespacing = 20,0
velocity = -3, 0
mask = 1

[VersusBG GoForBroke]
type  = normal
spriteno = 901,2
layerno = 1
start = 0,22
tile  = 1,0
tilespacing = 10,0
velocity = -2, 0
mask = 1

[VersusBG PREPARETOFIGHT]
type  = normal
spriteno = 901,1
layerno = 1
start = 640,461
tile  = 1,0
tilespacing = 20,0
velocity = 3, 0
mask = 1

[VersusBG GoForBroke]
type  = normal
spriteno = 901,2
layerno = 1
start = 640,452
tile  = 1,0
tilespacing = 10,0
velocity = 2, 0
mask = 1

[Begin Action 3]
3,0, 0,-480, 1
3,0, 0,-460, 1
3,0, 0,-440, 1
3,0, 0,-420, 1
3,0, 0,-400, 1
3,0, 0,-380, 1
3,0, 0,-360, 1
3,0, 0,-340, 1
3,0, 0,-320, 1
3,0, 0,-300, 1
3,0, 0,-280, 1
3,0, 0,-260, 1
3,0, 0,-240, 1
3,0, 0,-220, 1
3,0, 0,-200, 1
3,0, 0,-180, 1
3,0, 0,-160, 1
3,0, 0,-140, 1
3,0, 0,-120, 1
3,0, 0,-100, 1
3,0, 0,-80, 1
3,0, 0,-60, 1
3,0, 0,-40, 1
3,0, 0,-20, 1
3,0, 0,0, -1



;-------------------------------------------------------------------
;Demo mode definition
[Demo Mode]
enabled = 1               ;Set to 1 to enable demo mode, 0 to disable
select.enabled = 0        ;Set to 1 to display sct screen, 0 to disable
vsscreen.enabled = 0      ;Set to 1 to display versus screen, 0 to disable
title.waittime = 2000      ;Time to wait at title before starting demo mode
fight.endtime = 1000      ;Time to display the fight before returning to title
fight.playbgm = 0         ;Set to 1 to enable in-fight BGM, 0 to disable
fight.bars.display = 0    ;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
pos = 320,120

;***Known issue*** The display elements below use the fight.def resources
;instead of the ones defined in this file.
continue.text = "CONTINUE?"
continue.font = 3,0,0
continue.offset = 0,0
;Inactive and active (selected) YES/NO text
yes.text = "YES"
yes.font = 3,3,0,
yes.offset = -80, 60
yes.active.text = "YES"
yes.active.font = 3,0,0
yes.active.offset = -80, 60
no.text = "NO"
no.font = 3,3,0,
no.offset = 80, 60
no.active.text = "NO"
no.active.font = 3,0,0
no.active.offset = 80, 60


;-------------------------------------------------------------------
[Game Over Screen]
enabled = 1
storyboard = def+sff+snd/GameOver.def


;-------------------------------------------------------------------
[Victory Screen]
enabled = 1
time = 650                ;Time to show screen
fadein.time = 20
fadeout.time = 10
p1.offset = 202,76
p1.spr = 9000,2
p1.facing = 1
p1.scale = 1,1
p1.layerno = 0
p1.window = 0,0,640,357
;Win quote text
winquote.text = "Winner" ;Default win quote text to show
winquote.offset = 115,388
winquote.font = 8,0,1
winquote.window = 114,372,563,440
winquote.textwrap = w     ;Word wrap


[VictoryBGdef]

[VictoryBG World]
type  = normal
spriteno = 2,0
layerno = 0
start = 0,0
tile  = 0,0
velocity = 0, 0

[VictoryBG Logo]
type  = normal
trans = add1
spriteno = 900,1
layerno = 0
start = 0,0
tile  = 1,1
velocity = 2, 2

[VictoryBG  5] ; Black
type  = anim
actionno = 180
start = -320,0
layerno = 0
mask = 1

[VictoryBG 6] ; Holder
type  = normal
spriteno = 180,1
start = -320,0
layerno = 0
mask = 1

[VictoryBG stage]
type  = anim
actionno = 6
start = 0,0
layerno = 1

[Begin Action 6]
6,13,0,0,8
6,12,0,0,2
6,11,0,0,2
6,10,0,0,2
6,9,0,0,2
6,8,0,0,2
6,7,0,0,2
6,6,0,0,2
6,5,0,0,2
6,4,0,0,2
6,3,0,0,2
6,2,0,0,2
6,1,0,0,2
6,0,0,0,20
6,14,0,0,2
6,15,0,0,2
6,16,0,0,2
6,17,0,0,2
6,18,0,0,2
6,19,0,0,2
6,20,0,0,2
6,21,0,0,2
6,22,0,0,2
6,23,0,0,2
6,24,0,0,2
6,25,0,0,2
6,13,0,0,8
6,13, 0,0, 2, , AS256D128
6,13, 0,0, 2, , AS246D136
6,13, 0,0, 2, , AS236D144
6,13, 0,0, 2, , AS226D152
6,13, 0,0, 2, , AS216D160
6,13, 0,0, 2, , AS206D168
6,13, 0,0, 2, , AS196D176
6,13, 0,0, 2, , AS186D184
6,13, 0,0, 2, , AS176D192
6,13, 0,0, 2, , AS166D200
6,13, 0,0, 2, , AS156D208
6,13, 0,0, 2, , AS146D216
6,13, 0,0, 2, , AS136D224
6,13, 0,0, 2, , AS126D232
6,13, 0,0, 2, , AS116D240
6,13, 0,0, 2, , AS96D248
6,13, 0,0, 2, , AS76D256
6,13, 0,0, 2, , AS56D256
6,13, 0,0, 2, , AS16D256
-1,-1,0,0,-1

[Begin Action 180]
180,0 ,0,0 ,1 ,, As256D64


;-------------------------------------------------------------------
;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
wintext.text = BEHOLD THE CHAMPION
wintext.font = 6,0,0
wintext.offset = 318,140
wintext.displaytime = -1
wintext.layerno = 2
fadein.time = 32
pose.time = 300
fadeout.time = 64


;	font1 =  font/f-4x6.fnt									;System fonts
;	font2 = font/f-6x9.fnt										;System fonts
;1	font3 = font/qoh_smallbig.fnt
;3	font4 = font/sfa3big.fnt
;4	font5 = font/qoh_big.fnt
;5	font6 = font/qoh_small.fnt
;2	font7 = font/qoh_bigbig.fnt
;6	font8 = font/mshsmall.fnt
;7	font9 = font/fbi-name.fnt



;-------------------------------------------------------------------
[Default Ending]
enabled = 1
storyboard = def+sff+snd/endingcredits.def


;-------------------------------------------------------------------
[End Credits]
enabled = 1
storyboard = def+sff+snd/GameOver.def


;-------------------------------------------------------------------
[Survival Results Screen]
enabled = 1
winstext.text = Rounds Survived: %i
winstext.font = 6,0,0
winstext.offset = 320,70
winstext.displaytime = -1
winstext.layerno = 2
fadein.time = 32
show.time = 300
fadeout.time = 64
roundstowin = 5


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


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

[OptionBG 0] ; BG
type  = normal
spriteno = 0,0
start = -320, 0
layerno = 0
trans = none
mask = 1
scale = 2,2

[OptionBG 1]
type  = normal
spriteno = 1,0
start = 0, 0
layerno = 0
tile= 1,0
tilespacing = 400,0
velocity = 1,0
trans = add
mask = 1
scale = 2,2
[OptionBG 2]
type  = normal
spriteno = 1,1
start = 0, 0
layerno = 0
tile= 1,0
tilespacing = 400,0
velocity = 1.5,0
trans = add
mask = 1
scale = 2,2
[OptionBG 3]
type  = normal
spriteno = 1,2
start = 0, 0
layerno = 0
tile= 1,0
tilespacing = 400,0
velocity = 2,0
trans = add
mask = 1