[info]
name 		= "Capsule Corp Hangar"
displayname	= "Capsule Corp Hangar"
author		= "Pansh & Toni"

[camera]
startx 		= 0 ;-16
starty 		= 0
boundleft 	= -224 ;-208
boundright 	= 224 ;208
boundhigh 	= -240 ;-400
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    ;dist from left of screen that player can move to
screenright = 30   ;right edge

;--------------------------------------------------------
[stageinfo]
 
zoffset = 220
zoffsetlink = 2
autoturn = 1
resetbg = 0

;--------------------------------------------------------
[shadow]
intensity = 120
color = 30,30,30
fade.range = 0,-50
yscale = 0.3


;--------------------------------------------------------
[music]

bgmusic = sound/stages/hdbz_hangar.mp3
bgvolume = 100

;========================================================
; main background definition
[bgdef]
spr = stages/hdbz_hangar.sff
debugbg = 0

;----------

[bg sky]
type  = normal
spriteno = 0,0
start = 12, 162
delta = .8,1
mask = 0

[bg buildings]
type  = normal
spriteno = 0,1
start = 28, 162
delta = .84,1
mask = 1

[bg hot air balloon]
type  = normal
spriteno = 6,0
start = 15, 162
delta = .86,1
sin.x = 4, 1200, 0
sin.y = 5, 1800, 0
mask = 1

[bg tower]
type  = normal
spriteno = 0,2
start = 8, 162
delta = .9,1
mask = 1

[bg hangar]
type  = normal
spriteno = 1,1
start = 0, 162
delta = .96,1
mask = 1

[bg hangar support]
type  = normal
spriteno = 2,0
start = 0, 162
delta = .96,1
mask = 1

[bg toribot]
type  = normal
spriteno = 4,0
start = 0, 162
delta = .96,1
mask = 1

[bg toribot shadow]
type  = normal
spriteno = 4,1
start = 0, 162
delta = .96,1
trans = add1
mask = 1

;[bg plane]
;type  = normal
;spriteno = 7,0
;start = 0, 162
;delta = .975,1
;mask = 1

;[bg plane shadow]
;type  = normal
;spriteno = 7,1
;start = 0, 162
;delta = .975,1
;trans = add1
;mask = 1


;----------
[BG plane]
type = Anim
actionno = 4000
start = 0, 162
delta = .975,1
id = 4000

[Begin Action 4000] ;big plane
40,0, 0,0, -1

[Begin Action 4001] ;small plane
40,10, 0,0, -1

[Begin Action 4002] ;grey plane
40,20, 0,0, -1

;----------
[BG plane shadow]
type = Anim
actionno = 4100
start = 0, 162
delta = .975,1
id = 4100

[Begin Action 4100] ;big plane shadow
40,1, 0,0, -1, , AS128D128

[Begin Action 4101] ;small plane shadow
40,11, 0,0, -1, , AS128D128

[Begin Action 4102] ;grey plane shadow
40,21, 0,0, -1, , AS128D128

;----------
[BG cloud helper left]
type = Anim
actionno = 30
start = 0, 162
delta = .975,1
id = 4200

[Begin Action 4200] ;big plane
-1,0, 0,0, 8
40,2, -0,0, 4
40,2, -2,0, 4, , AS192D64
40,2, -4,0, 4, , AS128D128
40,2, -6,0, 4, , AS64D192
-1,0, 0,0, -1

[Begin Action 4201] ;small plane
-1,0, 0,0, 8
40,12, -0,0, 4
40,12, -2,0, 4, , AS192D64
40,12, -4,0, 4, , AS128D128
40,12, -6,0, 4, , AS64D192
-1,0, 0,0, -1

;----------
[BG cloud helper right]
type = Anim
actionno = 30
start = 0, 162
delta = .975,1
id = 4300

[Begin Action 4300] ;big plane
-1,0, 0,0, 8
40,3, 0,0, 4
40,3, 2,0, 4, , AS192D64
40,3, 4,0, 4, , AS128D128
40,3, 6,0, 4, , AS64D192
-1,0, 0,0, -1

;----------
[BG BOM]
type = Anim
actionno = 30
start = 0, 162
delta = .975,1
id = 4500

[Begin Action 4500] ;plane appears
45,0, 0,0, 4
45,1, 0,0, 4

45,2, 0,0, 4
45,3, 0,0, 4
45,4, 0,0, 4
45,3, 0,0, 4
45,2, 0,0, 4
45,3, 0,0, 4
45,4, 0,0, 4
45,3, 0,0, 4
45,2, 0,0, 4

45,6, 0,0, 4
45,7, 0,0, 4, , AS192D64
45,6, 0,0, 4, , AS128D128
45,5, 0,0, 4, , AS64D192
-1,0, 0,0, -1

[Begin Action 4501] ;plane vanishes
45,0, 0,0, 4
45,1, 0,0, 4

45,6, 0,0, 4
45,7, 0,0, 4, , AS192D64
45,6, 0,0, 4, , AS128D128
45,5, 0,0, 4, , AS64D192
-1,0, 0,0, -1




[bg hangar floor]
type  = normal
spriteno = 1,2
start = 0, 162
delta = 1,1
mask = 1

[bg hangar shadows]
type  = normal
spriteno = 3,0
start = 0, 162
delta = 1,1
trans = add1
mask = 1

[bg blue rail]
type  = normal
spriteno = 9,0
start = 0, 162
delta = 1,1
mask = 1

[bg workshop]
type  = normal
spriteno = 20,0
start = 0, 162
delta = 1,1
mask = 1

;----------
[BG workshop floor]
type = Anim
actionno = 22
start = 0, 162
delta = 1,1
id = 22

[Begin Action 22]
22,4, 0,0, 200
22,3, 0,0, 5
22,2, 0,0, 5
22,1, 0,0, 5
22,0, 0,0, -1

[Begin Action 221]
23,0, 0,120, 3
23,0, 0,115, 3
23,0, 0,110, 3
23,0, 0,105, 3
23,0, 0,100, 3
23,0, 0,95, 3
23,0, 0,90, 3
23,0, 0,85, 3
23,0, 0,80, 3
23,0, 0,75, 3
23,0, 0,70, 3
23,0, 0,65, 3
23,0, 0,60, 3
23,0, 0,55, 3
23,0, 0,50, 3
23,0, 0,45, 3
23,0, 0,40, 3
23,0, 0,35, 3
23,0, 0,30, 3
23,0, 0,25, 3
23,0, 0,20, 3
23,0, 0,15, 3
23,0, 0,10, 3
23,0, 0,6, 3
23,0, 0,3, 3
23,0, 0,1, 3
23,0, 0,0, 530

23,1, 0,0, 4
23,2, 0,0, 4
23,3, 0,0, 60
23,2, 0,0, 4
23,1, 0,0, 4
23,0, 0,0, 20

23,0, 0,1, 3
23,0, 0,3, 3
23,0, 0,6, 3
23,0, 0,10, 3
23,0, 0,15, 3
23,0, 0,20, 3
23,0, 0,25, 3
23,0, 0,30, 3
23,0, 0,35, 3
23,0, 0,40, 3
23,0, 0,45, 3
23,0, 0,50, 20

22,0, 0,0, 5
22,1, 0,0, 5
22,2, 0,0, 5
22,3, 0,0, 5
22,4, 0,0, -1

;----------
[BG workshop ceiling]
type = Anim
actionno = 30
start = 0, 162
delta = 1,1
id = 21

[Begin Action 21]
21,0, 0,0, 5
21,1, 0,0, 5
21,2, 0,0, 60
21,1, 0,0, 5
21,0, 0,0, 5
-1,0, 0,0, -1

;----------
[BG car shadow]
type = Anim
actionno = 30
start = 0, 162
delta = 1,1
id = 3000

[Begin Action 3000] ;yellow and red car
30,100, 0,120, 3, , AS128D128
30,100, 0,115, 3, , AS128D128
30,100, 0,110, 3, , AS128D128
30,100, 0,105, 3, , AS128D128
30,100, 0,100, 3, , AS128D128
30,100, 0,95, 3, , AS128D128
30,100, 0,90, 3, , AS128D128
30,100, 0,85, 3, , AS128D128
30,100, 0,80, 3, , AS128D128
30,100, 0,75, 3, , AS128D128
30,100, 0,70, 3, , AS128D128
30,100, 0,65, 3, , AS128D128
30,100, 0,60, 3, , AS128D128
30,100, 0,55, 3, , AS128D128
30,100, 0,50, 3, , AS128D128
30,100, 0,45, 3, , AS128D128
30,100, 0,40, 3, , AS128D128
30,100, 0,35, 3, , AS128D128
30,100, 0,30, 3, , AS128D128
30,100, 0,25, 3, , AS128D128
30,100, 0,20, 3, , AS128D128
30,100, 0,15, 3, , AS128D128
30,100, 0,10, 3, , AS128D128
30,100, 0,6, 3, , AS128D128
30,100, 0,3, 3, , AS128D128
30,100, 0,1, 3, , AS128D128
30,100, 0,0, -1, , AS128D128

[Begin Action 3003] ;blue shark
30,102, 0,120, 3, , AS128D128
30,102, 0,115, 3, , AS128D128
30,102, 0,110, 3, , AS128D128
30,102, 0,105, 3, , AS128D128
30,102, 0,100, 3, , AS128D128
30,102, 0,95, 3, , AS128D128
30,102, 0,90, 3, , AS128D128
30,102, 0,85, 3, , AS128D128
30,102, 0,80, 3, , AS128D128
30,102, 0,75, 3, , AS128D128
30,102, 0,70, 3, , AS128D128
30,102, 0,65, 3, , AS128D128
30,102, 0,60, 3, , AS128D128
30,102, 0,55, 3, , AS128D128
30,102, 0,50, 3, , AS128D128
30,102, 0,45, 3, , AS128D128
30,102, 0,40, 3, , AS128D128
30,102, 0,35, 3, , AS128D128
30,102, 0,30, 3, , AS128D128
30,102, 0,25, 3, , AS128D128
30,102, 0,20, 3, , AS128D128
30,102, 0,15, 3, , AS128D128
30,102, 0,10, 3, , AS128D128
30,102, 0,6, 3, , AS128D128
30,102, 0,3, 3, , AS128D128
30,102, 0,1, 3, , AS128D128
30,102, 0,0, -1, , AS128D128

[Begin Action 3004] ;blue car
30,103, 0,120, 3, , AS128D128
30,103, 0,115, 3, , AS128D128
30,103, 0,110, 3, , AS128D128
30,103, 0,105, 3, , AS128D128
30,103, 0,100, 3, , AS128D128
30,103, 0,95, 3, , AS128D128
30,103, 0,90, 3, , AS128D128
30,103, 0,85, 3, , AS128D128
30,103, 0,80, 3, , AS128D128
30,103, 0,75, 3, , AS128D128
30,103, 0,70, 3, , AS128D128
30,103, 0,65, 3, , AS128D128
30,103, 0,60, 3, , AS128D128
30,103, 0,55, 3, , AS128D128
30,103, 0,50, 3, , AS128D128
30,103, 0,45, 3, , AS128D128
30,103, 0,40, 3, , AS128D128
30,103, 0,35, 3, , AS128D128
30,103, 0,30, 3, , AS128D128
30,103, 0,25, 3, , AS128D128
30,103, 0,20, 3, , AS128D128
30,103, 0,15, 3, , AS128D128
30,103, 0,10, 3, , AS128D128
30,103, 0,6, 3, , AS128D128
30,103, 0,3, 3, , AS128D128
30,103, 0,1, 3, , AS128D128
30,103, 0,0, -1, , AS128D128

[Begin Action 3005] ;pink glider
30,104, 0,120, 3, , AS128D128
30,104, 0,115, 3, , AS128D128
30,104, 0,110, 3, , AS128D128
30,104, 0,105, 3, , AS128D128
30,104, 0,100, 3, , AS128D128
30,104, 0,95, 3, , AS128D128
30,104, 0,90, 3, , AS128D128
30,104, 0,85, 3, , AS128D128
30,104, 0,80, 3, , AS128D128
30,104, 0,75, 3, , AS128D128
30,104, 0,70, 3, , AS128D128
30,104, 0,65, 3, , AS128D128
30,104, 0,60, 3, , AS128D128
30,104, 0,55, 3, , AS128D128
30,104, 0,50, 3, , AS128D128
30,104, 0,45, 3, , AS128D128
30,104, 0,40, 3, , AS128D128
30,104, 0,35, 3, , AS128D128
30,104, 0,30, 3, , AS128D128
30,104, 0,25, 3, , AS128D128
30,104, 0,20, 3, , AS128D128
30,104, 0,15, 3, , AS128D128
30,104, 0,10, 3, , AS128D128
30,104, 0,6, 3, , AS128D128
30,104, 0,3, 3, , AS128D128
30,104, 0,1, 3, , AS128D128
30,104, 0,0, -1, , AS128D128

[Begin Action 3006] ;green roomba
30,105, 0,120, 3, , AS128D128
30,105, 0,115, 3, , AS128D128
30,105, 0,110, 3, , AS128D128
30,105, 0,105, 3, , AS128D128
30,105, 0,100, 3, , AS128D128
30,105, 0,95, 3, , AS128D128
30,105, 0,90, 3, , AS128D128
30,105, 0,85, 3, , AS128D128
30,105, 0,80, 3, , AS128D128
30,105, 0,75, 3, , AS128D128
30,105, 0,70, 3, , AS128D128
30,105, 0,65, 3, , AS128D128
30,105, 0,60, 3, , AS128D128
30,105, 0,55, 3, , AS128D128
30,105, 0,50, 3, , AS128D128
30,105, 0,45, 3, , AS128D128
30,105, 0,40, 3, , AS128D128
30,105, 0,35, 3, , AS128D128
30,105, 0,30, 3, , AS128D128
30,105, 0,25, 3, , AS128D128
30,105, 0,20, 3, , AS128D128
30,105, 0,15, 3, , AS128D128
30,105, 0,10, 3, , AS128D128
30,105, 0,6, 3, , AS128D128
30,105, 0,3, 3, , AS128D128
30,105, 0,1, 3, , AS128D128
30,105, 0,0, -1, , AS128D128

[Begin Action 3007] ;green racecar
30,106, 0,120, 3, , AS128D128
30,106, 0,115, 3, , AS128D128
30,106, 0,110, 3, , AS128D128
30,106, 0,105, 3, , AS128D128
30,106, 0,100, 3, , AS128D128
30,106, 0,95, 3, , AS128D128
30,106, 0,90, 3, , AS128D128
30,106, 0,85, 3, , AS128D128
30,106, 0,80, 3, , AS128D128
30,106, 0,75, 3, , AS128D128
30,106, 0,70, 3, , AS128D128
30,106, 0,65, 3, , AS128D128
30,106, 0,60, 3, , AS128D128
30,106, 0,55, 3, , AS128D128
30,106, 0,50, 3, , AS128D128
30,106, 0,45, 3, , AS128D128
30,106, 0,40, 3, , AS128D128
30,106, 0,35, 3, , AS128D128
30,106, 0,30, 3, , AS128D128
30,106, 0,25, 3, , AS128D128
30,106, 0,20, 3, , AS128D128
30,106, 0,15, 3, , AS128D128
30,106, 0,10, 3, , AS128D128
30,106, 0,6, 3, , AS128D128
30,106, 0,3, 3, , AS128D128
30,106, 0,1, 3, , AS128D128
30,106, 0,0, -1, , AS128D128

[Begin Action 3008] ;flaming car
30,107, 0,120, 3, , AS128D128
30,107, 0,115, 3, , AS128D128
30,107, 0,110, 3, , AS128D128
30,107, 0,105, 3, , AS128D128
30,107, 0,100, 3, , AS128D128
30,107, 0,95, 3, , AS128D128
30,107, 0,90, 3, , AS128D128
30,107, 0,85, 3, , AS128D128
30,107, 0,80, 3, , AS128D128
30,107, 0,75, 3, , AS128D128
30,107, 0,70, 3, , AS128D128
30,107, 0,65, 3, , AS128D128
30,107, 0,60, 3, , AS128D128
30,107, 0,55, 3, , AS128D128
30,107, 0,50, 3, , AS128D128
30,107, 0,45, 3, , AS128D128
30,107, 0,40, 3, , AS128D128
30,107, 0,35, 3, , AS128D128
30,107, 0,30, 3, , AS128D128
30,107, 0,25, 3, , AS128D128
30,107, 0,20, 3, , AS128D128
30,107, 0,15, 3, , AS128D128
30,107, 0,10, 3, , AS128D128
30,107, 0,6, 3, , AS128D128
30,107, 0,3, 3, , AS128D128
30,107, 0,1, 3, , AS128D128
30,107, 0,0, -1, , AS128D128

[Begin Action 3009] ;green scooter
30,108, 0,120, 3, , AS128D128
30,108, 0,115, 3, , AS128D128
30,108, 0,110, 3, , AS128D128
30,108, 0,105, 3, , AS128D128
30,108, 0,100, 3, , AS128D128
30,108, 0,95, 3, , AS128D128
30,108, 0,90, 3, , AS128D128
30,108, 0,85, 3, , AS128D128
30,108, 0,80, 3, , AS128D128
30,108, 0,75, 3, , AS128D128
30,108, 0,70, 3, , AS128D128
30,108, 0,65, 3, , AS128D128
30,108, 0,60, 3, , AS128D128
30,108, 0,55, 3, , AS128D128
30,108, 0,50, 3, , AS128D128
30,108, 0,45, 3, , AS128D128
30,108, 0,40, 3, , AS128D128
30,108, 0,35, 3, , AS128D128
30,108, 0,30, 3, , AS128D128
30,108, 0,25, 3, , AS128D128
30,108, 0,20, 3, , AS128D128
30,108, 0,15, 3, , AS128D128
30,108, 0,10, 3, , AS128D128
30,108, 0,6, 3, , AS128D128
30,108, 0,3, 3, , AS128D128
30,108, 0,1, 3, , AS128D128
30,108, 0,0, -1, , AS128D128

[Begin Action 3010] ;oldie
30,109, 0,120, 3, , AS128D128
30,109, 0,115, 3, , AS128D128
30,109, 0,110, 3, , AS128D128
30,109, 0,105, 3, , AS128D128
30,109, 0,100, 3, , AS128D128
30,109, 0,95, 3, , AS128D128
30,109, 0,90, 3, , AS128D128
30,109, 0,85, 3, , AS128D128
30,109, 0,80, 3, , AS128D128
30,109, 0,75, 3, , AS128D128
30,109, 0,70, 3, , AS128D128
30,109, 0,65, 3, , AS128D128
30,109, 0,60, 3, , AS128D128
30,109, 0,55, 3, , AS128D128
30,109, 0,50, 3, , AS128D128
30,109, 0,45, 3, , AS128D128
30,109, 0,40, 3, , AS128D128
30,109, 0,35, 3, , AS128D128
30,109, 0,30, 3, , AS128D128
30,109, 0,25, 3, , AS128D128
30,109, 0,20, 3, , AS128D128
30,109, 0,15, 3, , AS128D128
30,109, 0,10, 3, , AS128D128
30,109, 0,6, 3, , AS128D128
30,109, 0,3, 3, , AS128D128
30,109, 0,1, 3, , AS128D128
30,109, 0,0, -1, , AS128D128

[Begin Action 3011] ;white car
30,110, 0,120, 3, , AS128D128
30,110, 0,115, 3, , AS128D128
30,110, 0,110, 3, , AS128D128
30,110, 0,105, 3, , AS128D128
30,110, 0,100, 3, , AS128D128
30,110, 0,95, 3, , AS128D128
30,110, 0,90, 3, , AS128D128
30,110, 0,85, 3, , AS128D128
30,110, 0,80, 3, , AS128D128
30,110, 0,75, 3, , AS128D128
30,110, 0,70, 3, , AS128D128
30,110, 0,65, 3, , AS128D128
30,110, 0,60, 3, , AS128D128
30,110, 0,55, 3, , AS128D128
30,110, 0,50, 3, , AS128D128
30,110, 0,45, 3, , AS128D128
30,110, 0,40, 3, , AS128D128
30,110, 0,35, 3, , AS128D128
30,110, 0,30, 3, , AS128D128
30,110, 0,25, 3, , AS128D128
30,110, 0,20, 3, , AS128D128
30,110, 0,15, 3, , AS128D128
30,110, 0,10, 3, , AS128D128
30,110, 0,6, 3, , AS128D128
30,110, 0,3, 3, , AS128D128
30,110, 0,1, 3, , AS128D128
30,110, 0,0, -1, , AS128D128

[Begin Action 3012] ;red racecar
30,111, 0,120, 3, , AS128D128
30,111, 0,115, 3, , AS128D128
30,111, 0,110, 3, , AS128D128
30,111, 0,105, 3, , AS128D128
30,111, 0,100, 3, , AS128D128
30,111, 0,95, 3, , AS128D128
30,111, 0,90, 3, , AS128D128
30,111, 0,85, 3, , AS128D128
30,111, 0,80, 3, , AS128D128
30,111, 0,75, 3, , AS128D128
30,111, 0,70, 3, , AS128D128
30,111, 0,65, 3, , AS128D128
30,111, 0,60, 3, , AS128D128
30,111, 0,55, 3, , AS128D128
30,111, 0,50, 3, , AS128D128
30,111, 0,45, 3, , AS128D128
30,111, 0,40, 3, , AS128D128
30,111, 0,35, 3, , AS128D128
30,111, 0,30, 3, , AS128D128
30,111, 0,25, 3, , AS128D128
30,111, 0,20, 3, , AS128D128
30,111, 0,15, 3, , AS128D128
30,111, 0,10, 3, , AS128D128
30,111, 0,6, 3, , AS128D128
30,111, 0,3, 3, , AS128D128
30,111, 0,1, 3, , AS128D128
30,111, 0,0, -1, , AS128D128




;----------
[BG cars]
type = Anim
actionno = 30
start = 0, 162
delta = 1,1
id = 30

[Begin Action 30]
-1,0, 0,0, -1

[Begin Action 301] ;yellow car
30,0, 0,120, 3
30,0, 0,115, 3
30,0, 0,110, 3
30,0, 0,105, 3
30,0, 0,100, 3
30,0, 0,95, 3
30,0, 0,90, 3
30,0, 0,85, 3
30,0, 0,80, 3
30,0, 0,75, 3
30,0, 0,70, 3
30,0, 0,65, 3
30,0, 0,60, 3
30,0, 0,55, 3
30,0, 0,50, 3
30,0, 0,45, 3
30,0, 0,40, 3
30,0, 0,35, 3
30,0, 0,30, 3
30,0, 0,25, 3
30,0, 0,20, 3
30,0, 0,15, 3
30,0, 0,10, 3
30,0, 0,6, 3
30,0, 0,3, 3
30,0, 0,1, 3
30,0, 0,0, -1

[Begin Action 302] ;red car
30,1, 0,120, 3
30,1, 0,115, 3
30,1, 0,110, 3
30,1, 0,105, 3
30,1, 0,100, 3
30,1, 0,95, 3
30,1, 0,90, 3
30,1, 0,85, 3
30,1, 0,80, 3
30,1, 0,75, 3
30,1, 0,70, 3
30,1, 0,65, 3
30,1, 0,60, 3
30,1, 0,55, 3
30,1, 0,50, 3
30,1, 0,45, 3
30,1, 0,40, 3
30,1, 0,35, 3
30,1, 0,30, 3
30,1, 0,25, 3
30,1, 0,20, 3
30,1, 0,15, 3
30,1, 0,10, 3
30,1, 0,6, 3
30,1, 0,3, 3
30,1, 0,1, 3
30,1, 0,0, -1

[Begin Action 303] ;blue shark
30,2, 0,120, 3
30,2, 0,115, 3
30,2, 0,110, 3
30,2, 0,105, 3
30,2, 0,100, 3
30,2, 0,95, 3
30,2, 0,90, 3
30,2, 0,85, 3
30,2, 0,80, 3
30,2, 0,75, 3
30,2, 0,70, 3
30,2, 0,65, 3
30,2, 0,60, 3
30,2, 0,55, 3
30,2, 0,50, 3
30,2, 0,45, 3
30,2, 0,40, 3
30,2, 0,35, 3
30,2, 0,30, 3
30,2, 0,25, 3
30,2, 0,20, 3
30,2, 0,15, 3
30,2, 0,10, 3
30,2, 0,6, 3
30,2, 0,3, 3
30,2, 0,1, 3
30,2, 0,0, -1

[Begin Action 304] ;blue car
30,3, 0,120, 3
30,3, 0,115, 3
30,3, 0,110, 3
30,3, 0,105, 3
30,3, 0,100, 3
30,3, 0,95, 3
30,3, 0,90, 3
30,3, 0,85, 3
30,3, 0,80, 3
30,3, 0,75, 3
30,3, 0,70, 3
30,3, 0,65, 3
30,3, 0,60, 3
30,3, 0,55, 3
30,3, 0,50, 3
30,3, 0,45, 3
30,3, 0,40, 3
30,3, 0,35, 3
30,3, 0,30, 3
30,3, 0,25, 3
30,3, 0,20, 3
30,3, 0,15, 3
30,3, 0,10, 3
30,3, 0,6, 3
30,3, 0,3, 3
30,3, 0,1, 3
30,3, 0,0, -1

[Begin Action 305] ;pink glider
30,4, 0,120, 3
30,4, 0,115, 3
30,4, 0,110, 3
30,4, 0,105, 3
30,4, 0,100, 3
30,4, 0,95, 3
30,4, 0,90, 3
30,4, 0,85, 3
30,4, 0,80, 3
30,4, 0,75, 3
30,4, 0,70, 3
30,4, 0,65, 3
30,4, 0,60, 3
30,4, 0,55, 3
30,4, 0,50, 3
30,4, 0,45, 3
30,4, 0,40, 3
30,4, 0,35, 3
30,4, 0,30, 3
30,4, 0,25, 3
30,4, 0,20, 3
30,4, 0,15, 3
30,4, 0,10, 3
30,4, 0,6, 3
30,4, 0,3, 3
30,4, 0,1, 3
30,4, 0,0, -1

[Begin Action 306] ;green roomba
30,5, 0,120, 3
30,5, 0,115, 3
30,5, 0,110, 3
30,5, 0,105, 3
30,5, 0,100, 3
30,5, 0,95, 3
30,5, 0,90, 3
30,5, 0,85, 3
30,5, 0,80, 3
30,5, 0,75, 3
30,5, 0,70, 3
30,5, 0,65, 3
30,5, 0,60, 3
30,5, 0,55, 3
30,5, 0,50, 3
30,5, 0,45, 3
30,5, 0,40, 3
30,5, 0,35, 3
30,5, 0,30, 3
30,5, 0,25, 3
30,5, 0,20, 3
30,5, 0,15, 3
30,5, 0,10, 3
30,5, 0,6, 3
30,5, 0,3, 3
30,5, 0,1, 3
30,5, 0,0, -1

[Begin Action 307] ;green racecar
30,6, 0,120, 3
30,6, 0,115, 3
30,6, 0,110, 3
30,6, 0,105, 3
30,6, 0,100, 3
30,6, 0,95, 3
30,6, 0,90, 3
30,6, 0,85, 3
30,6, 0,80, 3
30,6, 0,75, 3
30,6, 0,70, 3
30,6, 0,65, 3
30,6, 0,60, 3
30,6, 0,55, 3
30,6, 0,50, 3
30,6, 0,45, 3
30,6, 0,40, 3
30,6, 0,35, 3
30,6, 0,30, 3
30,6, 0,25, 3
30,6, 0,20, 3
30,6, 0,15, 3
30,6, 0,10, 3
30,6, 0,6, 3
30,6, 0,3, 3
30,6, 0,1, 3
30,6, 0,0, -1

[Begin Action 308] ;flaming car
30,7, 0,120, 3
30,7, 0,115, 3
30,7, 0,110, 3
30,7, 0,105, 3
30,7, 0,100, 3
30,7, 0,95, 3
30,7, 0,90, 3
30,7, 0,85, 3
30,7, 0,80, 3
30,7, 0,75, 3
30,7, 0,70, 3
30,7, 0,65, 3
30,7, 0,60, 3
30,7, 0,55, 3
30,7, 0,50, 3
30,7, 0,45, 3
30,7, 0,40, 3
30,7, 0,35, 3
30,7, 0,30, 3
30,7, 0,25, 3
30,7, 0,20, 3
30,7, 0,15, 3
30,7, 0,10, 3
30,7, 0,6, 3
30,7, 0,3, 3
30,7, 0,1, 3
30,7, 0,0, -1

[Begin Action 309] ;green scooter
30,8, 0,120, 3
30,8, 0,115, 3
30,8, 0,110, 3
30,8, 0,105, 3
30,8, 0,100, 3
30,8, 0,95, 3
30,8, 0,90, 3
30,8, 0,85, 3
30,8, 0,80, 3
30,8, 0,75, 3
30,8, 0,70, 3
30,8, 0,65, 3
30,8, 0,60, 3
30,8, 0,55, 3
30,8, 0,50, 3
30,8, 0,45, 3
30,8, 0,40, 3
30,8, 0,35, 3
30,8, 0,30, 3
30,8, 0,25, 3
30,8, 0,20, 3
30,8, 0,15, 3
30,8, 0,10, 3
30,8, 0,6, 3
30,8, 0,3, 3
30,8, 0,1, 3
30,8, 0,0, -1

[Begin Action 310] ;oldie
30,9, 0,120, 3
30,9, 0,115, 3
30,9, 0,110, 3
30,9, 0,105, 3
30,9, 0,100, 3
30,9, 0,95, 3
30,9, 0,90, 3
30,9, 0,85, 3
30,9, 0,80, 3
30,9, 0,75, 3
30,9, 0,70, 3
30,9, 0,65, 3
30,9, 0,60, 3
30,9, 0,55, 3
30,9, 0,50, 3
30,9, 0,45, 3
30,9, 0,40, 3
30,9, 0,35, 3
30,9, 0,30, 3
30,9, 0,25, 3
30,9, 0,20, 3
30,9, 0,15, 3
30,9, 0,10, 3
30,9, 0,6, 3
30,9, 0,3, 3
30,9, 0,1, 3
30,9, 0,0, -1

[Begin Action 311] ;white car
30,10, 0,120, 3
30,10, 0,115, 3
30,10, 0,110, 3
30,10, 0,105, 3
30,10, 0,100, 3
30,10, 0,95, 3
30,10, 0,90, 3
30,10, 0,85, 3
30,10, 0,80, 3
30,10, 0,75, 3
30,10, 0,70, 3
30,10, 0,65, 3
30,10, 0,60, 3
30,10, 0,55, 3
30,10, 0,50, 3
30,10, 0,45, 3
30,10, 0,40, 3
30,10, 0,35, 3
30,10, 0,30, 3
30,10, 0,25, 3
30,10, 0,20, 3
30,10, 0,15, 3
30,10, 0,10, 3
30,10, 0,6, 3
30,10, 0,3, 3
30,10, 0,1, 3
30,10, 0,0, -1

[Begin Action 312] ;red racecar
30,11, 0,120, 3
30,11, 0,115, 3
30,11, 0,110, 3
30,11, 0,105, 3
30,11, 0,100, 3
30,11, 0,95, 3
30,11, 0,90, 3
30,11, 0,85, 3
30,11, 0,80, 3
30,11, 0,75, 3
30,11, 0,70, 3
30,11, 0,65, 3
30,11, 0,60, 3
30,11, 0,55, 3
30,11, 0,50, 3
30,11, 0,45, 3
30,11, 0,40, 3
30,11, 0,35, 3
30,11, 0,30, 3
30,11, 0,25, 3
30,11, 0,20, 3
30,11, 0,15, 3
30,11, 0,10, 3
30,11, 0,6, 3
30,11, 0,3, 3
30,11, 0,1, 3
30,11, 0,0, -1



[Begin Action 25] ;capsule transformation
25,0, 0,0, 4
25,1, 0,0, 4
25,2, 0,0, 4
25,3, 0,0, 4
25,4, 0,0, 4
25,5, 0,0, 4
25,6, 0,0, 4
25,7, 0,0, 4
25,8, 0,0, 4
25,9, 0,0, 4
25,10, 0,0, 4
25,11, 0,0, 4
25,12, 0,0, 4
25,13, 0,0, 4
25,14, 0,0, 4
25,15, 0,0, 4
25,16, 0,0, 4
25,17, 0,0, 4
25,18, 0,0, 4
-1,0, 0,0, -1

;----------
[BG workshop beams]
type = Anim
actionno = 30
start = 0, 162
delta = 1,1
id = 24

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

[bg workshop front]
type  = normal
spriteno = 20,10
start = 0, 162
delta = 1,1
mask = 1

;----------
[BG Dr. Briefs 1]
type = Anim
actionno = 111
start = 0, 162
delta = 1,1
id = 111

[Begin Action 111]
111,0, 0,0, 100
111,1, 0,0, 4
111,2, 0,0, 8
111,1, 0,0, 4
111,0, 0,0, 300
111,1, 0,0, 4
111,2, 0,0, 8
111,1, 0,0, 4
111,0, 0,0, 300
111,1, 0,0, 4
111,2, 0,0, 8
111,1, 0,0, 4
111,0, 0,0, 400
111,1, 0,0, 4
111,2, 0,0, 8
111,1, 0,0, 4
111,0, 0,0, 300
111,1, 0,0, 4
111,2, 0,0, 8
111,1, 0,0, 4
111,0, 0,0, 300

;----------
[BG Dr. Briefs 2]
type = Anim
actionno = 112
start = 0, 162
delta = 1,1
id = 112

[Begin Action 112]
112,0, 0,0, 12
112,1, 0,0, 10
112,0, 0,0, 12
112,1, 0,0, 10
112,0, 0,0, 10
112,1, 0,0, 8
112,0, 0,0, 15
112,1, 0,0, 14
112,0, 0,0, 15
112,1, 0,0, 12
112,0, 0,0, 17
112,1, 0,0, 14
112,0, 0,0, 15
112,1, 0,0, 14
112,0, 0,0, 15
112,1, 0,0, 10

;----------
[BG Dr. Briefs' cat 1]
type = Anim
actionno = 113
start = 0, 162
delta = 1,1
id = 111

[Begin Action 113]
113,0, 0,0, 100
113,1, 0,0, 10
113,2, 0,0, 10
113,3, 0,0, 10
113,0, 0,0, 100
113,1, 0,0, 10
113,2, 0,0, 10
113,3, 0,0, 10
113,0, 0,0, 200
113,1, 0,0, 10
113,2, 0,0, 10
113,3, 0,0, 10

;----------
[BG Dr. Briefs' cat 2]
type = Anim
actionno = 114
start = 0, 162
delta = 1,1
id = 112

[Begin Action 114]
114,0, 0,0, 100
114,1, 0,0, 10
114,2, 0,0, 10
114,3, 0,0, 10
114,0, 0,0, 100
114,1, 0,0, 10
114,2, 0,0, 10
114,3, 0,0, 10
114,0, 0,0, 200
114,1, 0,0, 10
114,2, 0,0, 10
114,3, 0,0, 10


[bg white bike]
type  = normal
spriteno = 12,0
start = 0, 162
delta = 1,1
mask = 1

;----------
[BG Bulma's mom]
type = Anim
actionno = 13
start = 0, 162
delta = 1,1
id = 13

[Begin Action 13]
13,0, 0,0, 300
13,1, 0,0, 6
13,2, 0,0, 12
13,1, 0,0, 6

[Begin Action 131]
13,0, 0,0, 10
13,3, 0,0, 8
13,4, 0,0, 8
13,5, 0,0, 8
13,4, 0,0, 180
13,3, 0,0, 8
13,0, 0,0, -1

[bg jump mecha]
type  = normal
spriteno = 14,0
start = 0, 162
delta = 1,1
mask = 1

[bg green bike]
type  = normal
spriteno = 15,0
start = 0, 162
delta = 1,1
mask = 1

;----------
[BG Tights]
type = Anim
actionno = 16
start = 0, 162
delta = 1,1
id = 16

[Begin Action 16]
16,0, 0,0, 50
16,1, 0,0, 10
16,2, 0,0, 10
16,0, 0,0, 10
16,1, 0,0, 10
16,2, 0,0, 10
16,1, 0,0, 10
16,0, 0,0, 20
16,3, 0,0, 6
16,4, 0,0, 6
16,3, 0,0, 6
16,0, 0,0, 10
16,3, 0,0, 6
16,4, 0,0, 6
16,3, 0,0, 6
16,0, 0,0, 10
16,1, 0,0, 10
16,2, 0,0, 10
16,0, 0,0, 10
16,1, 0,0, 10
16,2, 0,0, 10
16,0, 0,0, 10
16,1, 0,0, 10
16,2, 0,0, 10
16,1, 0,0, 10
16,2, 0,0, 20
16,0, 0,0, 40
16,1, 0,0, 10
16,2, 0,0, 10
16,0, 0,0, 10
16,1, 0,0, 10
16,2, 0,0, 10
16,1, 0,0, 10
16,0, 0,0, 20
16,3, 0,0, 6
16,4, 0,0, 6
16,3, 0,0, 6
16,0, 0,0, 30
16,1, 0,0, 10
16,2, 0,0, 10
16,0, 0,0, 10
16,1, 0,0, 10
16,2, 0,0, 10
16,0, 0,0, 10

[Begin Action 161]
16,0, 0,0, 40
16,5, 0,0, 10
16,6, 0,0, 40
16,7, 0,0, 10
16,8, 0,0, 200
16,9, 0,0, 10
16,10, 0,0, 10
16,11, 0,0, 10
16,9, 0,0, 10
16,10, 0,0, 10
16,11, 0,0, 10
16,9, 0,0, 10
16,10, 0,0, 10
16,11, 0,0, 10
16,9, 0,0, 10
16,10, 0,0, 10
16,11, 0,0, 10
16,9, 0,0, -1


[bg laptop]
type  = normal
spriteno = 17,0
start = 0, 162
delta = 1,1
mask = 1

















;--------------------------------------------------------
;--------------------------------------------------------
[BGCtrlDef Briefs 1]
looptime = 1200
ctrlID = 111

[BGCtrl Briefs 1]
type = Visible
time = 0
value = 0

[BGCtrl Briefs 1]
type = Visible
time = 240
value = 1

[BGCtrl Briefs 1]
type = Visible
time = 420
value = 0

[BGCtrl Briefs 1]
type = Visible
time = 660
value = 1

;--------------------------------------------------------
[BGCtrlDef Briefs 2]
looptime = 1200
ctrlID = 112

[BGCtrl Briefs 2]
type = Visible
time = 0
value = 1

[BGCtrl Briefs 2]
type = Visible
time = 240
value = 0

[BGCtrl Briefs 2]
type = Visible
time = 420
value = 1

[BGCtrl Briefs 2]
type = Visible
time = 660
value = 0

;--------------------------------------------------------
[BGCtrlDef Bikini]
looptime = 1100
ctrlID = 13

[BGCtrl Bikini idle]
type = Anim
time = 0
value = 13

[BGCtrl Bikini point]
type = Anim
time = 620
value = 131

;--------------------------------------------------------
[BGCtrlDef Tights]
looptime = 1100
ctrlID = 16

[BGCtrl Tights idle]
type = Anim
time = 0
value = 16

[BGCtrl Tights point]
type = Anim
time = 620
value = 161



;--------------------------------------------------------
[BGCtrlDef Workshop]
looptime = 1200
ctrlID = 22

[BGCtrl Workshop floor open]
type = Anim
time = 0
value = 22

[BGCtrl Workshop floor rise]
type = Anim
time = 220
value = 221

;--------------------------------------------------------
[BGCtrlDef Cars vanish]
looptime = 1200
ctrlID = 30

[BGCtrl no car]
type = Anim
time = 0
value = 30

[BGCtrl capsule]
type = Anim
time = 800
value = 25

[BGCtrl no car]
type = Anim
time = 1200
value = 30

[BGCtrl capsule]
type = Anim
time = 2000
value = 25

;--------------------------------------------------------
[BGCtrlDef Car]
looptime = 14400 ;1200
ctrlID = 30

[BGCtrl yellow car]
type = Anim
time = 220
value = 301

[BGCtrl red car]
type = Anim
time = 1420
value = 302

[BGCtrl blue shark]
type = Anim
time = 2620
value = 303

[BGCtrl blue car]
type = Anim
time = 3820
value = 304

[BGCtrl pink glider]
type = Anim
time = 5020
value = 305

[BGCtrl green roomba]
type = Anim
time = 6220
value = 306

[BGCtrl green racecar]
type = Anim
time = 7420
value = 307

[BGCtrl flaming car]
type = Anim
time = 8620
value = 308

[BGCtrl green scooter]
type = Anim
time = 9820
value = 309

[BGCtrl oldtimer]
type = Anim
time = 11020
value = 310

[BGCtrl white car]
type = Anim
time = 12220
value = 311

[BGCtrl red racecar]
type = Anim
time = 13420
value = 312


;--------------------------------------------------------
[BGCtrlDef Car Shadows vanish]
looptime = 1200
ctrlID = 3000

[BGCtrl no car]
type = Anim
time = 0
value = 30

[BGCtrl no car]
type = Anim
time = 800
value = 30

;--------------------------------------------------------
[BGCtrlDef Car Shadows]
looptime = 14400 ;9600 ;1200
ctrlID = 3000

[BGCtrl yellow car]
type = Anim
time = 220
value = 3000

[BGCtrl red car]
type = Anim
time = 1420
value = 3000

[BGCtrl blue shark]
type = Anim
time = 2620
value = 3003

[BGCtrl blue car]
type = Anim
time = 3820
value = 3004

[BGCtrl pink glider]
type = Anim
time = 5020
value = 3005

[BGCtrl green roomba]
type = Anim
time = 6220
value = 3006

[BGCtrl green racecar]
type = Anim
time = 7420
value = 3007

[BGCtrl flaming car]
type = Anim
time = 8620
value = 3008

[BGCtrl green scooter]
type = Anim
time = 9820
value = 3009

[BGCtrl oldtimer]
type = Anim
time = 11020
value = 3010

[BGCtrl white car]
type = Anim
time = 12220
value = 3011

[BGCtrl red racecar]
type = Anim
time = 13420
value = 3012

;--------------------------------------------------------
[BGCtrlDef beams]
looptime = 1200
ctrlID = 24

[BGCtrl no beams]
type = Anim
time = 0
value = 30

[BGCtrl beams]
type = Anim
time = 756
value = 24

;--------------------------------------------------------
[BGCtrlDef ceiling]
looptime = 1200
ctrlID = 21

[BGCtrl no beams]
type = Anim
time = 0
value = 30

[BGCtrl beams]
type = Anim
time = 741
value = 21

;--------------------------------------------------------
[BGCtrlDef Plane switch]
looptime = 12000
ctrlID = 4000

[BGCtrl big plane]
type = Anim
time = 0
value = 4000

[BGCtrl no plane]
type = Anim
time = 3000
value = 30

[BGCtrl small plane]
type = Anim
time = 4000
value = 4001

[BGCtrl no plane]
type = Anim
time = 7000
value = 30

[BGCtrl grey plane]
type = Anim
time = 8000
value = 4002

[BGCtrl no plane]
type = Anim
time = 11000
value = 30

;--------------------------------------------------------
[BGCtrlDef Plane shadow switch]
looptime = 12000
ctrlID = 4100

[BGCtrl big plane]
type = Anim
time = 0
value = 4100

[BGCtrl no plane]
type = Anim
time = 3000
value = 30

[BGCtrl small plane]
type = Anim
time = 4000
value = 4101

[BGCtrl no plane]
type = Anim
time = 7000
value = 30

[BGCtrl grey plane]
type = Anim
time = 8000
value = 4102

[BGCtrl no plane]
type = Anim
time = 11000
value = 30

;--------------------------------------------------------
[BGCtrlDef cloud helper left]
looptime = 12000
ctrlID = 4200

[BGCtrl ---]
type = Anim
time = 200
value = 30

[BGCtrl big plane vanish]
type = Anim
time = 2992
value = 4200

[BGCtrl small plane]
type = Anim
time = 3992
value = 4201

[BGCtrl ---]
type = Anim
time = 4292
value = 30

[BGCtrl small plane vanish]
type = Anim
time = 6992
value = 4201

[BGCtrl big plane]
type = Anim
time = 11992
value = 4200

;--------------------------------------------------------
[BGCtrlDef cloud helper right]
looptime = 12000
ctrlID = 4300

[BGCtrl ---]
type = Anim
time = 200
value = 30

[BGCtrl big plane vanish]
type = Anim
time = 2992
value = 4300

[BGCtrl ---]
type = Anim
time = 3292
value = 30

[BGCtrl big plane]
type = Anim
time = 11992
value = 4300

;--------------------------------------------------------
[BGCtrlDef BOM]
looptime = 4000
ctrlID = 4500

[BGCtrl ---]
type = Anim
time = 200
value = 30

[BGCtrl plane vanish]
type = Anim
time = 2992
value = 4501

[BGCtrl plane]
type = Anim
time = 3992
value = 4500
