; Ending cutscene for KFM's story.

; Like the intro, this storyboard has multiple scenes.
; Each scene uses two overlay anims, one for the picture, and
; another for the text.
; The fadein and fadeout parameters are used to fade one screen
; to the next.

[SceneDef]
spr = end.sff
startscene = 0         ;Starting scene number (for debugging)

;------------------------------------
[Scene 0]
; Fade
fadein.time = 60       ;Time to take for fading in
fadein.col = 255,255,255     ;Use 255,255,255 for white-fade
fadeout.time = 15
fadeout.col = 0,0,0
; Screen color
clearcolor = 0,0,0
; Overlay Anims (from 0 to 9)
layerall.pos = 160,0   ;Default position for all layers
layer0.anim =  0       ;Anim action number
layer0.offset = 0,10   ;Position offset
layer0.starttime = 0   ;Time to start display
layer1.anim =  1
layer1.offset = 0,160
; Music
bgm = sound/sfz2ending.mp3      ;Name of music file to play
bgm.loop = 0
; Total time
end.time = 760

;Background image
[Begin Action 0]
0,0, 0,0, -1

;Text
[Begin Action 1]
5,0, 0,0, 380
5,1, 0,0, -1

;------------------------------------
[Scene 1]
; Fade
fadein.time = 15
fadein.col = 255,255,255
fadeout.time = 15
fadeout.col = 0,0,0
; Screen color
; The previous clearcolor value is carried over by default
; Overlay Anims (from 0 to 9)
; The previous layerall.pos value is carried over by default
layer0.anim =  10
layer0.offset = 0,10
layer0.starttime = 0
layer1.anim =  11
layer1.offset = 0,160
; Total time
end.time = 3040

;Background image
[Begin Action 10]
1,1, 0,0, 1
1,2, 0,0, 1
1,3, 0,0, 1
1,4, 0,0, 1
1,5, 0,0, 1
1,6, 0,0, 1
1,7, 0,0, 1
1,8, 0,0, 1
1,9, 0,0, 1
1,10, 0,0, 1
1,11, 0,0, -1

;Text
[Begin Action 11]
5,2, 0,0, 280
5,3, 0,0, 280
5,4, 0,0, 280
5,5, 0,0, 280
5,6, 0,0, 280
5,7, 0,0, 280
5,8, 0,0, 280
5,9, 0,0, -1

;------------------------------------
[Scene 2]
; Fade
;fadein.time = 15
;fadein.col = 255,255,255
;fadeout.time = 90
;fadeout.col = 0,0,0
; Overlay Anims (from 0 to 9)
layer0.anim =  20
layer0.offset = 0,10
layer0.starttime = 0
layer1.anim =  21
layer1.offset = 0,160
; Total time
end.time = 640

;Background image
[Begin Action 20]
2,0, 0,0, 1
2,1, 0,0, 1
2,2, 0,0, 1
2,3, 0,0, 1
2,4, 0,0, 1
2,5, 0,0, 1
2,6, 0,0, 1
2,7, 0,0, 1
2,8, 0,0, 1
2,9, 0,0, 1
2,10, 0,0, 1
2,11, 0,0, 1
2,12, 0,0, 1
2,13, 0,0, 1
2,14, 0,0, 1
2,15, 0,0, 1
2,16, 0,0, 2
2,17, 0,0, 2
2,18, 0,0, 1
2,19, 0,0, 2
2,20, 0,0, 1
2,21, 0,0, 1
2,22, 0,0, 1
2,23, 0,0, 3
2,24, 0,0, 12
2,25, 0,0, 8
2,26, 0,0, 32
2,27, 0,0, 5
2,28, 0,0, 4
2,29, 0,0, 4
2,30, 0,0, 6
2,31, 0,0, 6
2,32, 0,0, -1
 
;Text
[Begin Action 21]
5,10, 0,0, 280
5,11, 0,0, -1