;--------------------------------------------------------
[Info]
 ;Name of the stage.
name = "Frosty City"
author = "Enscripture"

;--------------------------------------------------------
[Camera]
startx = 0
starty = 0
boundleft = -557
boundright = 547
boundhigh = 0
boundlow = 0
verticalfollow = .3
floortension = 35
tension = 60


;--------------------------------------------------------
[PlayerInfo]
;--- Player 1 ---
 ;Player 1 starting coordinates.
 ;p1startx is typically -70 and p2startx is 70.
 ;p1starty and p1startz should be 0.
p1startx = -70          ;Starting x coordinates
p1starty = 0           ;Starting y coordinates
p1startz = 0          ;Starting z coordinates
p1facing = 1            ;Direction player faces: 1=right, -1=left

;--- Player 2 ---
p2startx = 70
p2starty = 0
p2startz = 0
p2facing = -1

;--- Common ---
 ;Don't change these values.
leftbound  = -1000 ;Left bound (x-movement)
rightbound =  1000 ;Right bound
topbound  =  0     ;Top bound (z-movement)
botbound  =  0     ;Bottom bound

;--------------------------------------------------------
[Scaling]
 ;No need to change these values
topz     = 0       ;Top z-coordinate for scaling
botz     = 50      ;Bottom z-coordinate for scaling
topscale = 1       ;Scale to use at top
botscale = 1.2     ;Scale to use at bottom

;--------------------------------------------------------
[Bound]
screenleft = 15
screenright = 15

;--------------------------------------------------------
[StageInfo]
 ;Z offset for drawing
 ;Adjust this value to move the ground level up/down in the screen.
 ;It's the position where the players stand at.
 ;Up - smaller, Down - larger
 ;***
zoffset = 180

 ;Leave this at 1. It makes the players face each other
autoturn = 1

 ;Set the following to 1 to have the background be reset between
 ;rounds.
resetBG = 0

;--------------------------------------------------------
[Shadow]
color = 45,45,10
yscale = .01
reflect = 0

;--------------------------------------------------------
[Reflection]
intensity = 0

;--------------------------------------------------------
[Music]
bgmusic = sound/Ice.mp3
bgvolume = 255

;========================================================
;--------------------------------------------------------
; Background definition
; ***
;-------------------------------------
; [BG x]
; type = ?       "Normal"/"Parallax"  (def: "normal")
; spriteno = ?, ? Sprite group and number: groupno, imgno  (req'd)
; start = ?, ?   Starting location (integer)  (def: 0, 0)
; delta = ?, ?   Change in location per camera unit moved (float)  (def: 1,1)
; trans = ?      Transparency settings: "none"/"add"/"add1"/"sub"/"addalpha" (def: "none")
; alpha = ?, ?   (only for trans=addalpha) Source,dest alpha (def: 256,0)
; mask = ?       Masking (int): 0 - off, 1 - on  (def: 0)
; velocity = ?, ? Velocity: x, y (float): speed background moves (def: 0, 0)
; tile = ?, ?    Tiling: xtile, ytile (int): 0 - off, 1 - infinite,
;                        >1 - tile that number of times  (def: 0, 0) - only for Normal BG
; tilespacing = ?, ? Tiling: x, y (int) : space between tiles (def: 0, 0)
;  Parallax-only:
; xscale = ?, ?    Top xscale, bottom xscale (float)
; width = ?, ?     Top width, bottom width (int)  (use either this or above, but not both)
; yscalestart = ?  Starting y-scale (float, in percent)  (def: 100)
; yscaledelta = ?  Change in y-scale per unit (float, in percent)  (def: 0)
;-------------------------------------

;-------------------------------------
; Main background definition
[BGdef]
 ;Filename of sprite data
spr = stages/RM8-Frostman1-1.sff
;-------------------------------------


[BG Frost City]
type  = normal
spriteno = 0, 1
layerno = 0
start = 0, 240
delta = .257,1
mask = 1
tile = 0,0

[BG Frostground]
type  = normal
spriteno = 0, 0
layerno = 0
start = 0, 280
delta = 1,1
mask = 1
tile = 1,0

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

[Begin action 1]
1,0,0,0,1


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


[Begin action 3]
1,2,0,0,1


[Begin action 4]
1,3,0,0,1
;------------------------------------


[BG Big Snow 3.0]
type  = anim
actionno = 1
id = 3
layerno = 1
start = 0, -20
delta = 1, 1
tile = 1,0
tilespacing = 470

[BGCtrlDef 3]
CtrlID = 3
Looptime = 241

[BGCtrl 3.1]
type = VelSet
time = 0
x = 0
y = 2.0

[BGCtrl 3.2]
type = PosSet
time = 200
y = 0


[BG Big Snow 4.0]
type  = anim
actionno = 1
id = 4
layerno = 1
start = -10, -30
delta = 1, 1
tile = 1,0
tilespacing = 320

[BGCtrlDef 4]
CtrlID = 4
Looptime = 322

[BGCtrl 4.1]
type = VelSet
time = 0
x = 0
y = 1.3

[BGCtrl 4.2]
type = PosSet
time = 200
y = 0

[BG Big Snow 5.0]
type  = anim
actionno = 1
id = 5
layerno = 1
start = 100, -60
delta = 1, 1
tile = 1,0
tilespacing = 574

[BGCtrlDef 5]
CtrlID = 5
Looptime = 412

[BGCtrl 5.1]
type = VelSet
time = 0
x = 0
y = 1.7

[BGCtrl 5.2]
type = PosSet
time = 200
y = 0

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

[BG Snow Med 6.0]
type  = anim
actionno = 4
id = 6
layerno = 1
start = 50, -40
delta = 1, 1
tile = 1,0
tilespacing = 214

[BGCtrlDef 6]
CtrlID = 6
Looptime = 247

[BGCtrl 6.1]
type = VelSet
time = 0
x = 0
y = 2

[BGCtrl 6.2]
type = PosSet
time = 200
y = 0

[BG Snow Med 6.1]
type  = anim
actionno = 4
id = 7
layerno = 1
start = -23, -90
delta = 1, 1
tile = 1,0
tilespacing = 554

[BGCtrlDef 7]
CtrlID = 7
Looptime = 32

[BGCtrl 7.1]
type = VelSet
time = 0
x = 0
y = 1.2

[BGCtrl 7.2]
type = PosSet
time = 200
y = 0


[BG Snow Med 6.2]
type  = anim
actionno = 4
id = 8
layerno = 1
start = -23, -60
delta = 1, 1
tile = 1,0
tilespacing = 411

[BGCtrlDef 8]
CtrlID = 8
Looptime = 32

[BGCtrl 8.1]
type = VelSet
time = 0
x = 0
y = 1.5

[BGCtrl 8.2]
type = PosSet
time = 200
y = 0

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


[BG Snow Small 10.0]
type  = anim
actionno = 2
id = 10
layerno = 1
start = 80, -30
delta = 1, 1
tile = 1,0
tilespacing = 296

[BGCtrlDef 10]
CtrlID = 10
Looptime = 365

[BGCtrl 10.1]
type = VelSet
time = 60
x = 0
y = 1

[BGCtrl 10.2]
type = PosSet
time = 250
y = 0

[BG Snow Small 10.0]
type  = anim
actionno = 2
id = 11
layerno = 1
start = 180, -32
delta = 1, 1
tile = 1,0
tilespacing = 312

[BGCtrlDef 11]
CtrlID = 11
Looptime = 396

[BGCtrl 11.1]
type = VelSet
time = 60
x = 0
y = 1.1

[BGCtrl 11.2]
type = PosSet
time = 260
y = 0


[BG Snow Small 12.0]
type  = anim
actionno = 3
id = 12
layerno = 1
start = 142, -29
delta = 1, 1
tile = 1,0
tilespacing = 300

[BGCtrlDef 12]
CtrlID = 12
Looptime = 365

[BGCtrl 12.1]
type = VelSet
time = 60
x = 0
y = 1.6

[BGCtrl 12.2]
type = PosSet
time = 330
y = 0

[BG Snow Small 13.0]
type  = anim
actionno = 3
id = 13
layerno = 1
start = 280, -24
delta = 1, 1
tile = 1,0
tilespacing = 555

[BGCtrlDef 13]
CtrlID = 13
Looptime = 396

[BGCtrl 13.1]
type = VelSet
time = 60
x = 0
y = 1.4

[BGCtrl 13.2]
type = PosSet
time = 330
y = 0