; Definition of fight screen

; *** DO NOT MODIFY OR OVERWRITE THIS FILE ***
; To customize, make a copy of this file in a subdirectory of your
; motif's name. See readme.txt for details on motifs.

; Notes about fonts:
;   - up to 10 fonts can be specified in the [Files] section.
;   - fonts indexed here do not refer to the ones in system.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/
;
; See the section "How to Customize" at the end of
; this file.

;-----------------------------------------------------------
;Directories are checked in this order:
;1. current directory fight.def is in
;2. data/
;3. your MUGEN directory

[Files]
sff = fight.sff
snd = fight.snd
font1 = font/GREENTEXT.def
font2 = font/timer.def
font3 = font/upheavtt.def
font4 = font/REDTEXT.def
fightfx.sff = fightfx.sff
fightfx.air = fightfx.air
common.snd = common.snd

;-----------------------------------------------------------
[FightFx]
scale = 2

;-----------------------------------------------------------
[Lifebar]
;Player 1
p1.pos    = 320,25
p1.bg0.anim = 
p1.bg1.spr = 11,0
p1.mid.spr = 12,0
p1.front.spr = 13,0
p1.range.x  = -25,-280
;Player 2
p2.pos    = 319,25
p2.bg0.anim = 
p2.bg0.facing = -1
p2.bg1.spr = 11,0
p2.bg1.facing = -1
p2.mid.spr = 12,0
p2.mid.facing = -1
p2.front.spr = 13,0
p2.front.facing = -1
p2.range.x = 25,280

[Begin Action 10] ;Darkened lifebar background 
10,0, 0,0, 1, , S

[Simul Lifebar]
;Player 1
p1.pos    = 320,25
p1.bg0.anim = 
p1.bg1.spr = 11,0
p1.mid.spr = 12,0
p1.front.spr = 13,0
p1.range.x  = -25,-280
;Player 2
p2.pos    = 319,25
p2.bg0.anim = 
p2.bg0.facing = -1
p2.bg1.spr = 11,0
p2.bg1.facing = -1
p2.mid.spr = 12,0
p2.mid.facing = -1
p2.front.spr = 13,0
p2.front.facing = -1
p2.range.x = 25,280
;Player 3
p3.pos    = 320,25
p3.bg1.spr = 21,0
p3.mid.spr = 22,0
p3.front.spr = 23,0
p3.range.x  = -25,-172
;Player 4
p4.pos    = 340,25
p4.bg1.spr = 116,0
p4.mid.spr = 117,0
p4.front.spr = 118,0
p4.range.x = 3,172

[Begin Action 20] ;Darkened lifebar background (team)
20,0, 0,0, 1, , S

[Turns Lifebar]
;Player 1
p1.pos    = 320,25
p1.bg0.anim = 
p1.bg1.spr = 11,0
p1.mid.spr = 12,0
p1.front.spr = 13,0
p1.range.x  = -25,-280
;Player 2
p2.pos    = 319,25
p2.bg0.anim = 
p2.bg0.facing = -1
p2.bg1.spr = 11,0
p2.bg1.facing = -1
p2.mid.spr = 12,0
p2.mid.facing = -1
p2.front.spr = 13,0
p2.front.facing = -1
p2.range.x = 25,280

;-----------------------------------------------------------
[Powerbar]
;Player 1
p1.pos    = 321,25
p1.bg0.anim = 40
p1.bg1.spr = 41,0
p1.mid.spr = 42,0
p1.front.anim = 43
p1.range.x  = -26,-185

Player 2
p2.pos    = 318,25
p2.bg0.anim = 40
p2.bg0.facing = -1
p2.bg1.spr = 41,0
p2.bg1.facing = -1
p2.mid.spr = 42,0
p2.mid.facing = -1
p2.front.anim = 43
p2.front.facing = -1
p2.range.x = 26,185

; --level sounds---
level1.snd = 21,0
level2.snd = 21,0
level3.snd = 21,0

[Begin Action 40] ;Darkened powerbar background 
40,0, 0,0, 1, , S

[Begin Action 43]
43,0, 0,0, 5
43,1, 0,0, 5
43,2, 0,0, 5
43,3, 0,0, 5
43,4, 0,0, 5

;-----------------------------------------------------------
[Face]
;Player 1
p1.pos    = 8,4
p1.bg.spr = 
p1.face.spr = 9000,0
p1.face.scale = .5,.5
p1.bg.layerno = 1
p1.face.facing = 1
p1.face.offset = 4,8
;Player 2
p2.pos    = 632,4
p2.bg.spr =
p2.bg.facing = -1
p2.face.spr = 9000,0
p2.face.scale = .5,.5
p2.bg.layerno = 1
p2.face.facing = -1
p2.face.offset = -5,8

[Simul Face]
;Player 1
p1.pos    = 8,4
p1.bg.spr = 
p1.face.spr = 9000,0
p1.face.scale = .5,.5
p1.bg.layerno = 1
p1.face.facing = 1
p1.face.offset = 4,8
;Player 2
p2.pos    = 632,4
p2.bg.spr =
p2.bg.facing = -1
p2.face.spr = 9000,0
p2.face.scale = .5,.5
p2.bg.layerno = 1
p2.face.facing = -1
p2.face.offset = -5,8
;Player 3
p3.pos    = 107,17
p3.face.spr = 9000,0
p3.face.scale = .5,.5
p3.face.facing = 1
p3.face.offset = 11,11
;Player 4
p4.pos    = 532,17
p4.bg.facing = -1
p4.face.spr = 9000,0
p4.face.scale = .5,.5
p4.face.facing = -1
p4.face.offset = -11,11

[Turns Face]
;Player 1
p1.pos    = 8,9
p1.bg.spr = 
p1.face.spr = 9000,0
p1.face.scale = .5,.5
p1.bg.layerno = 1
p1.face.facing = 1
p1.face.offset = 4,3
p1.teammate.pos = 115,26
p1.teammate.spacing = 30,0
p1.teammate.bg.spr = 70,0
p1.teammate.ko.anim = 71
p1.teammate.face.spr = 9000,0
p1.teammate.face.scale = .5,.5
p1.teammate.face.facing = 1
p1.teammate.face.offset = 2,2
;Player 2
p2.pos    = 632,4
p2.bg.spr =
p2.bg.facing = -1
p2.face.spr = 9000,0
p2.face.scale = .5,.5
p2.bg.layerno = 1
p2.face.facing = -1
p2.face.offset = -5,8
p2.teammate.pos = 524,26
p2.teammate.spacing = -30,0
p2.teammate.bg.spr = 70,0
p2.teammate.bg.facing = -1
p2.teammate.ko.anim = 71
p2.teammate.ko.facing = -1
p2.teammate.face.spr = 9000,0
p2.teammate.face.scale = .5,.5
p2.teammate.face.facing = -1
p2.teammate.face.offset = -2,2

;-----------------------------------------------------------
[Name]
p1.pos = 45,22
;p1.bg. =
p1.name.font = 3,0, 1, 255,0,0
;p2.bg. =
p2.pos = 592,22
p2.name.font = 3,0, -1, 255,0,0

[Simul Name]
p1.pos = 45,22
;p1.bg. =
p1.name.font = 3,0, 1, 255,0,0
;p2.bg. =
p2.pos = 592,22
p2.name.font = 3,0, -1, 255,0,0
p3.pos = 195,48
p3.name.font = 
p4.pos = 440,48
p4.name.font = 

[Turns Name]
p1.pos = 45,22
;p1.bg. =
p1.name.font = 3,0, 1, 255,0,0
;p2.bg. =
p2.pos = 592,22
p2.name.font = 3,0, -1, 255,0,0


;-----------------------------------------------------------
[Time]
pos = 320,19
bg.spr = 115, 0
counter.offset = 1,2
counter.font = 2,0, 0
framespercount = 60

;-----------------------------------------------------------
[Combo]
team1.pos = 25,81     ;Coords to show
team1.start.x = -40       ;Starting x-coords
team1.counter.font = 1,0,1, 0,255,0
team1.counter.shake = 1   ;Set to 1 to shake count on hit
team1.text.text = RETROHITS   ;You can use %i to show count in the text, eg "%i Hit!"
team1.text.font = 1,0,1, 0,255,0
team1.text.offset = 3,0  ;Offset of text
team1.displaytime = 90    ;Time to show text
team2.pos = 610,81      ;Coords to show
team2.start.x = 1580     ;Starting x-coords
team2.counter.font = 1,0,-1, 0,255,0
team2.counter.shake = 1   ;Set to 1 to shake count on hit
team2.text.text = RETROHITS    ;You can use %i to show count in the text, eg "%i Hit!"
team2.text.font = 1,0,-1, 0,255,0
team2.text.offset = 3,0   ;Offset of text
team2.displaytime = 90    ;Time to show text

;-----------------------------------------------------------
[Round]
match.wins = 2              ;Rounds needed to win a match
match.maxdrawgames = 1      ;Max number of drawgames allowed (-1 for infinite) *2001.11.01 NEW*
start.waittime = 30         ;Time to wait before starting intro

; Default position for all components
pos = 0,0

; ROUND X
round.time = 0              ;Time to show round display
round.default.offset = 320,191
;round.default.font = 1,0, 0
;round.default.text = Round %i
round.default.displaytime = 60
; Sounds to play for each round (optional, specify up to round 9)
round1.snd = 0,1
round2.snd = 0,1
round3.snd = 0,1
round4.snd = 0,1
round5.snd = 0,1
round6.snd = 0,1
round7.snd = 0,1
round8.snd = 0,1
round9.snd = 0,1
round.sndtime = 0           ;Time to play the sounds
; Components to show for each round (optional, specify up to round 9)
; Uncomment to use
round1.offset = 320,191
round2.offset = 320,191
round3.offset = 320,191
round4.offset = 320,191
round5.offset = 320,191
round6.offset = 320,191
round7.offset = 320,191
round8.offset = 320,191
round9.offset = 320,191
round1.anim =  119
round2.anim =  119
round3.anim =  119
round4.anim =  119
round5.anim =  119
round6.anim =  119
round7.anim =  119
round8.anim =  119
round9.anim =  119

; FIGHT
fight.time = 0           
fight.offset = 320,191
fight.anim = 120           
fight.snd = 1,0             ;Sound to play
fight.sndtime = 0         
ctrl.time = 30

; KO
KO.time    = 0              ;Time to show KO component
KO.offset  = 320, 191      ;Component for KO display
KO.anim    =            ;.
KO.snd     =            ;Sound to play for KO announcement
; Double KO
DKO.offset = 320, 94
DKO.font   = 4,0,0, 255,0,0
DKO.text   = OH NO
DKO.displaytime = 60
DKO.snd    = 
; Time Over
TO.offset  = 320, 94
TO.font    = 1,5
TO.text    = TIME
TO.displaytime = 60
TO.snd     = 
KO.sndtime = 0             ;Time to play sound for KO, DKO and TO.
slow.time  = 60            ;Time for KO slowdown (in ticks)
over.waittime = 45         ;Time to wait after KO before player control is stopped
over.hittime = 10          ;Time after KO that players can still damage each other (for double KO)
over.wintime = 45          ;Time to wait before players change to win states
over.time = 210            ;Time to wait before round ends
; Time to wait before showing win/draw message
win.time = 60
; Win text
win.offset = 320, 94
win.font = 4,0, 0, 255,0,0
win.text = %s Wins
win.displaytime = 540
; 2-player win text
win2.offset = 320, 94
win2.font = 4,0, 0, 255,0,0
win2.text = %s and %s Win
win2.displaytime = 540
; Draw text
draw.offset = 320, 94
draw.font = 4,0, 0, 255,0,0
draw.text = Draw Game
draw.displaytime = 540


;-----------------------------------------------------------
[WinIcon]
p1.pos = 50,33
p2.pos = 589,33  
p1.iconoffset = 18,0  
p2.iconoffset = -18,0
p1.counter.offset = 0,0
;p1.counter.font = 3,1
p2.counter.offset = 0,0
;p2.counter.font = 3,1
p1.n.anim = 1
p2.n.anim = 1
p1.s.anim = 2
p2.s.anim = 2
p1.h.anim = 3
p2.h.anim = 3
p1.throw.anim = 4
p2.throw.anim = 4
p1.c.anim= 1
p2.c.anim = 1
p1.t.anim = 2
p2.t.anim = 2
p1.suicide.anim = 3
p2.suicide.anim = 3
p1.teammate.anim = 4
p2.teammate.anim = 4
p1.perfect.anim = 1
p2.perfect.anim = 1
useiconupto = 4


[begin action 1]
1, 1, 0, 0, 5
1, 2, 0, 0, 5
1, 3, 0, 0, 5
1, 4, 0, 0, 5

[begin action 2]
2, 1, 0, 0, 5
2, 2, 0, 0, 5
2, 3, 0, 0, 5
2, 4, 0, 0, 5

[begin action 3]
3, 1, 0, 0, 5
3, 2, 0, 0, 5
3, 3, 0, 0, 5
3, 4, 0, 0, 5

[begin action 4]
4, 1, 0, 0, 5
4, 2, 0, 0, 5
4, 3, 0, 0, 5
4, 4, 0, 0, 5

[Begin Action 119]
119,0, 0,0, 2
119,1, 0,0, 2
119,2, 0,0, 2
119,3, 0,0, 2
119,4, 0,0, 2
119,0, 0,0, 2
119,1, 0,0, 2
119,2, 0,0, 2
119,3, 0,0, 2
119,4, 0,0, 2
119,0, 0,0, 2
119,1, 0,0, 2
119,2, 0,0, 2
119,3, 0,0, 2
119,4, 0,0, 2
119,0, 0,0, 2
119,1, 0,0, 2
119,2, 0,0, 2
119,3, 0,0, 2
119,4, 0,0, 2
119,0, 0,0, 2
119,1, 0,0, 2
119,2, 0,0, 2
119,3, 0,0, 2
119,4, 0,0, 2
119,0, 0,0, 2
119,1, 0,0, 2
119,2, 0,0, 2
119,3, 0,0, 2
119,4, 0,0, 2

[Begin Action 120]
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2
120,0, 0,0, 2
120,1, 0,0, 2
120,2, 0,0, 2
120,3, 0,0, 2
120,4, 0,0, 2

[begin action 71]
71, 0, 0, 0, 5
71, 1, 0, 0, 5
71, 2, 0, 0, 5
71, 3, 0, 0, 5
71, 4, 0, 0, 5

