;================================================================
;MADE BY:  Toni          especially for the z2 chars!
;================================================================
[Info]
Name 		= "Pilaf Castle"
DisplayName	= "Pilaf Castle"
Author		= "Toni"


;--------------------------------------------------------
[Camera]
Startx 		= 0
Starty 		= 0
BoundLeft 	= -308
BoundRight 	= 308
BoundHigh 	= -300
BoundLow		= 0
Tension		= 50
VerticalFollow 	= .75
FloorTension 	= 90


;--------------------------------------------------------
[PlayerInfo]
P1StartX		= -70		;Starting x coordinates
P1StartY		= 0		;Starting y coordinates
P1StartZ		= 0		;Starting z coordinates
P1Facing		= 1		;direction player faces: 1=right, -1=left

P2StartX		= 70
P2StartY		= 0
P2StartZ		= 0
P2Facing		= -1

LeftBound		= -1000		;left bound (x-movement)
RightBound	=  1000		;right bound
TopBound		=  0		;Top bound (z-movement)
BotBound		=  0		;Bottom bound


;--------------------------------------------------------
[Scaling]
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	= 30		;distance from left of screen that player can move to
ScreenRight	= 30		;right edge


;--------------------------------------------------------
[StageInfo]
ZOffset		= 220
ZOffsetLink	= 2
AutoTurn		= 1
ResetBG		= 0


;--------------------------------------------------------
[Shadow]
Intensity		= 60
Color		= 20,20,20
Fade.Range	= 0,-50
YScale		= 0.26


;--------------------------------------------------------
[Music]
BGMusic = sound/chars/Pilaf.mp3
BGVolume = 255
bgmloopstart = 682533
bgmloopend = 4311333


;========================================================
; Main background definition
[BGDef]
spr = stages/hdbz_pilaf.sff
DebugBG = 0


;----------

[bg sky]
type = normal
spriteno = 0,1
start = 0, 180
delta = .025,.25
tile = 1, 0
velocity = -0.4, 0
layerno = 0

[bg mushrooms back]
type  = normal
spriteno = 0,2
start = 0, 180
delta = .0745,.345
mask = 1

[BG clouds]
type  = normal
spriteno = 10,0
start = 0, 170
delta = .0745,.345
mask = 1
layerno = 0
sin.x = 4, 820
velocity = -0.3, 0
tile = 1, 0
trans = addalpha
alpha = 55,225

[bg ground1]
type  = normal
spriteno = 0,3
start = 0, 180
delta = .075,.35

[bg ground]
type  = parallax
spriteno = 0,3
start = 0, 180
delta = .075,.35
tile = 1, 0
xscale = 1, 20
yscalestart = 115
yscaledelta = .9

[bg mushrooms middle]
type  = normal
spriteno = 1,4
start = 0, 177
delta = .1,.4
mask = 1

[bg castle towers]
type  = normal
spriteno = 5,3
start = 0, 175
delta = .135,.435
mask = 1

[bg castle building]
type  = normal
spriteno = 5,2
start = 0, 175
delta = .14,.44
mask = 1

[bg castle walls]
type  = normal
spriteno = 5,1
start = 0, 175
delta = .145,.445
mask = 1

[bg castle ziggurat]
type  = normal
spriteno = 5,0
start = 0, 175
delta = .15,.45
mask = 1

[BG wind]
type = anim
actionno = 1
start = 0,192
delta = .31, .545 ;.2,.55
layerno = 0
velocity = -2, 0
tile = 1, 0
tilespacing = 903, 0

[bg rock back]
type  = normal
spriteno = 15,6
start = -200, 190
delta = .25,.52
mask = 1

[bg rock back]
type  = normal
spriteno = 15,8
start = 190, 190
delta = .25,.52
mask = 1

[bg bush back]
type  = normal
spriteno = 15,0
start = -180, 193
delta = .28,.535
mask = 1

[bg bush back]
type  = normal
spriteno = 15,1
start = 60, 193
delta = .28,.535
mask = 1

[bg bush back]
type  = normal
spriteno = 15,2
start = 157, 194
delta = .29,.54
mask = 1

[bg mushrooms front]
type  = normal
spriteno = 12,0
start = 0, 177
delta = .32,.548
mask = 1
tile = 1, 0
tilespacing = 140, 0

[BG wind 1]
type = anim
actionno = 2
start = 0,203
delta = .2,.65
layerno = 0
velocity = -2.5, 0
tile = 1, 0
tilespacing = 903, 0

[bg bush front]
type  = normal
spriteno = 15,4
start = -240, 198
delta = .364,.5845
mask = 1

[bg bush front]
type  = normal
spriteno = 15,5
start = 200, 198
delta = .364,.5845
mask = 1

[bg bush front]
type  = normal
spriteno = 15,3
start = -140, 199
delta = .37,.585
mask = 1

[bg rock front]
type  = normal
spriteno = 15,10
start = 5, 203
delta = .42,.65
mask = 1

[bg rock front]
type  = normal
spriteno = 15,9
start = -60, 203
delta = .42,.65
mask = 1

[bg rock front]
type  = normal
spriteno = 15,11
start = 280, 205
delta = .45,.69
mask = 1

[bg rock front]
type  = normal
spriteno = 15,12
start = -295, 207
delta = .49,.74
mask = 1

[bg mighty mouse]
type  = normal
spriteno = 20,0
start = 145, 210
delta = .6,.79
mask = 1



[Begin Action 1]
11,0, 0,0, 5, , AS125D145
11,1, 0,0, 5, , AS125D145
11,2, 0,0, 5, , AS125D145
11,3, 0,0, 5, , AS125D145
11,4, 0,0, 5, , AS125D145
11,5, 0,0, 5, , AS125D145
11,6, 0,0, 5, , AS125D145
11,7, 0,0, 5, , AS125D145
11,8, 0,0, 5, , AS125D145
11,9, 0,0, 5, , AS125D145
11,10, 0,0, 5, , AS125D145
11,-1, 0,0, 600, ,

[Begin Action 2]
11,-1, 0,0, 300, ,
11,0, 0,0, 5, , AS125D145
11,1, 0,0, 5, , AS125D145
11,2, 0,0, 5, , AS125D145
11,3, 0,0, 5, , AS125D145
11,4, 0,0, 5, , AS125D145
11,5, 0,0, 5, , AS125D145
11,6, 0,0, 5, , AS125D145
11,7, 0,0, 5, , AS125D145
11,8, 0,0, 5, , AS125D145
11,9, 0,0, 5, , AS125D145
11,10, 0,0, 5, , AS125D145
11,-1, 0,0, 300, ,