; °¨¿µ½ÃÀÛ
; http://ks100.ivyro.net
;-----------------------
[Info]
localcoord = 640,480
[SceneDef]
spr = TMNTend.sff
startscene =0;Starting scene number (for debugging)
font1 = ending-bg.def
snd = end.snd
;------------------------------------

; Music
;==================================
 ;singular good tmnt char 
[Scene 0]
; Fade
fadein.time = 25       ;Time to take for fading in
fadein.col = 0,0,0     ;Use 255,255,255 for white-fade
fadeout.time = 1
fadeout.col = 0,0,0
bg.name=BG0
; Screen color
;clearcolor = 255,255,255
; Overlay Anims (from 0 to 9)
layerall.pos = 0,0   ;Default position for all layers
layer0.anim =  10     ;Anim action number
layer0.offset = 140,300   ;Position offset
layer0.starttime = 0 
layer1.anim =  11       ;Anim action number
layer1.offset = 320,300   ;Position offset
layer1.starttime = 0   ;Time to start display
layer2.anim = 12
layer2.offset = 460,300
layer2.starttime = 0
layer3.anim = 13
layer3.offset = 580,300
layer3.starttime = 0
layer4.anim = 14
layer4.offset =190,300
layer4.starttime = 0
layer5.anim = 15
layer5.offset =380,300
layer5.starttime = 0
layer6.textdelay = 3
layer6.text = "This was not quite the plan, but your\nhelp was appreciated nonetheless! We're\nglad you were able to put your \ndifferences aside to save the multiverse!"
layer6.font = 1,,1,255,255,255
layer6.endtime = 1250
layer6.starttime=90
layer6.offset = 12,370
 bgm = TE\ending.ogg      ;Name of music file to play
;layer6.textdelay = 3
;layer6.text = "It is not known where all of the warriors came from, but one fact is certain:\nthey inadvertently repaired the flow of time and saved the world. Though\nthey may never remember the events, they have become heroes."
;layer6.font = 1,,1,255,255,255
;layer6.starttime = 1251
; layer1.anim =  1
; layer1.offset = 0,176
; Music
      ;Name of music file to play
; bgm.loop = 0
; Total time
end.time = 720



;winning char response
[Scene 1]
; Fade
fadein.time =0      ;Time to take for fading in
fadein.col = 0,0,0     ;Use 255,255,255 for white-fade
fadeout.time = 1
fadeout.col = 0,0,0
;layerall.starttime =600
bg.name=BG1
; Screen color
;clearcolor = 255,255,255
; Overlay Anims (from 0 to 9)
layerall.pos = 0,0   ;Default position for all layers
layer0.anim =  100     ;Anim action number
layer0.offset = 100,300   ;Position offset
layer0.starttime = 0 
layer1.textdelay = 3
layer1.text = "Shut up losers! I only did it cause this\nbozo was in the way of my own plans! \nLet this be a lesson to anyone who \nchallenges the Rat King!"
layer1.font = 1,,1,200,150,25
layer1.starttime=0
layer1.offset = 12,370
; layer1.anim =  1
; layer1.offset = 0,176
; Music
; bgm.loop = 0
; Total time
end.time = 700

;other chars response
[Scene 2]
; Fade
fadein.time =0      ;Time to take for fading in
fadein.col = 0,0,0     ;Use 255,255,255 for white-fade
fadeout.time = 40
fadeout.col = 256,256,256
;layerall.starttime =1000
bg.name=BG1
layerall.pos = 0,0   ;Default position for all layers
layer0.anim =  10     ;Anim action number
layer0.offset = 140,300   ;Position offset
layer0.starttime = 0 
layer1.anim =  11       ;Anim action number
layer1.offset = 320,300   ;Position offset
layer1.starttime = 0   ;Time to start display
layer2.anim = 12
layer2.offset = 460,300
layer2.starttime = 0
layer3.anim = 13
layer3.offset = 580,300
layer3.starttime = 0
layer4.anim = 14
layer4.offset =190,300
layer4.starttime = 0
layer5.anim = 15
layer5.offset =380,300
layer5.starttime = 0
layer6.textdelay = 3
layer6.text = "You speak as if you're not surrounded by\nthose who helped you. May your ego be \nchecked thoroughly so that you may become\nan upright citizen! Give our regards to\nthe other heroes!"
layer6.font = 1,,1,255,255,255
layer6.endtime = 1250
layer6.starttime=0
layer6.offset =12,370
; layer1.anim =  1
; layer1.offset = 0,176
; Music
; bgm.loop = 0
; Total time
end.time = 600
;===================================================
;------------------------------------
;Black LATER
[Scene 3]
; Screen color
clearcolor = 0,0,0
end.time = 150
bg.name=BG2
bgm=TE\Rt\ratend.ogg

;leo specific intro
[Scene 4]
; Fade
fadein.time =0      ;Time to take for fading in
fadein.col = 0,0,0     ;Use 255,255,255 for white-fade
fadeout.time = 30
fadeout.col = 0,0,0
;layerall.starttime =600
bg.name=BG3
; Screen color
;clearcolor = 255,255,255
; Overlay Anims (from 0 to 9)
layerall.pos = 0,0   ;Default position for all layers
layer0.anim = 5    ;Anim action number
layer0.starttime = 0 
layer0.textdelay = 2
layer0.text = "I sent the money back you know. I\nremembered that, if I'm gonna do this \nthing, what do I need their money for?                                   \nWhat good will it do me when it's all \nworthless?"
layer0.font = 1,,1,200,150,25
layer0.offset = 12,300
layer0.endtime=600
layer1.anim = 5
layer1.starttime =600
layer1.textdelay = 2
layer1.text = "Nah, I did use some of it though, had to\nget some new digs. Did you see what \nthose humans messin' up the water did to \nme?           \nThis slammin' outfit was ''not'' \npurple! My hair, it's been all screwed \nup. I was a red head!!! "
layer1.font = 1,,1,200,150,25
layer1.offset = 12,300
layer1.endtime=1220
layer2.anim = 5
layer2.starttime =1220
layer2.textdelay = 2
layer2.text = "I've had enough and quite frankly if it\nweren't for what we've been through \nyou'd disgust me just the same. But, I \nknow you're different. I know you get \nthe plight of the common rat and that  \nyou know what the best plan of action is!"
layer2.font = 1,,1,200,150,25
layer2.offset = 12,300
layer2.endtime=1920
; Music

; bgm.loop = 0
; Total time
end.time = 1920

;leo specific intro
[Scene 5]
; Fade
fadein.time =15      ;Time to take for fading in
fadein.col = 0,0,0     ;Use 255,255,255 for white-fade
fadeout.time = 30
fadeout.col = 0,0,0
clearcolor=0,0,0
;layerall.starttime =600
bg.name=BG4
; Screen color
;clearcolor = 255,255,255
; Overlay Anims (from 0 to 9)
layerall.pos = 0,0   ;Default position for all layers
layer0.anim = 5    ;Anim action number
layer0.starttime =0 
layer0.textdelay = 2
layer0.text = "I mean, just think about what those\njerks did to the world above. We're \ndown here because it's more clean than \nthe streets!                        \nThink about that huh!                   \nIt's gotta stop and we're gonna be the \nones who will do so!"
layer0.font = 1,,1,200,150,25
layer0.offset = 12,300
layer0.endtime=720
; Music
; bgm.loop = 0
; Total time
end.time = 720

[Scene 6]
; Fade
fadein.time =5      ;Time to take for fading in
fadein.col = 0,0,0     ;Use 255,255,255 for white-fade
fadeout.time = 30
fadeout.col = 0,0,0
clearcolor=0,0,0
;layerall.starttime =600
bg.name=BG5
; Screen color
;clearcolor = 255,255,255
; Overlay Anims (from 0 to 9)
layerall.pos = 0,0   ;Default position for all layers
layer0.anim = 5    ;Anim action number
layer0.starttime =0 
layer0.textdelay = 2
layer0.text = "You see the world for what it is! We got\nthe muscle to pull it off and the \nratpower to hit em' heavy! But I ain't no \ndictator.......yet. So what'll it be? You \ndown to fix this joke of a world or are \nyou just like them after all? Cause at \nthe end of the day, there's no other \noption. "
layer0.font = 1,,1,200,150,25
layer0.offset = 12,300
layer0.endtime=900
layer1.starttime =900 
layer1.textdelay = 3
layer1.text = "Either you're in or you can scram!                          \n\nDon't dissapoint me kid!"
layer1.font = 1,,1,200,150,25
layer1.offset = 12,300
layer1.endtime=1360
; Music
; bgm.loop = 0
; Total time
end.time = 1360
;==========================================
;Background image
[Begin Action 0]
1,0, 0,0, -1
[Begin Action 9]
1,1, 0,0, -1

[Begin Action 1]
2,0, 0,0, 25
2,1, 0,0, 12
2,2, 0,0, 12
2,3, 0,0, 12
2,4, 0,0, 12
2,5, 0,0, 12
2,6, 0,0, 12
2,1, 0,0, 12
2,2, 0,0, 12
2,3, 0,0, 2, , AS250D256
2,3, 0,0, 2, , AS220D256
2,3, 0,0, 2, , AS200D256
2,3, 0,0, 2, , AS170D256
2,3, 0,0, 2, , AS170D256
2,3, 0,0, 2, , AS170D256
2,4, 0,0, 2, , AS170D256
2,4, 0,0, 2, , AS170D256
2,4, 0,0, 2, , AS140D256
2,4, 0,0, 2, , AS140D256
2,4, 0,0, 2, ,AS140D256
2,4, 0,0, 2, ,AS140D256
2,5, 0,0, 2, , AS100D256
2,5, 0,0, 2, ,AS100D256
2,5, 0,0, 2, , AS100D256
2,5, 0,0, 2, ,AS100D256
2,5, 0,0, 2, , AS60D256
2,5, 0,0, 2, , AS60D256
2,6, 0,0, 2, , AS60D256
2,6, 0,0, 2, , AS60D256
2,6, 0,0, 2, , AS20D256
2,6, 0,0, 2, , AS20D256
2,6, 0,0, 2, , AS20D256
2,6, 0,0, 2, , AS20D256
2,-1, 0,0, -1, , AS20D256
[Begin Action 2]
3,0, 0,0, 25
3,1, 0,0, 6
3,2, 0,0, 6
3,0, 0,0, 6
3,1, 0,0, 6
3,2, 0,0, 6
3,0, 0,0, 6
3,1, 0,0, 6
3,2, 0,0, 6
3,0, 0,0, 6
3,1, 0,0, 6
3,2, 0,0, 6
3,0, 0,0, 6
3,0, 0,0, 2, , AS250D256
3,0, 0,0, 2, , AS220D256
3,0, 0,0, 2, , AS200D256
3,1, 0,0, 2, , AS170D256
3,1, 0,0, 2, , AS170D256
3,1, 0,0, 2, , AS170D256
3,2, 0,0, 2, , AS170D256
3,2, 0,0, 2, , AS170D256
3,2, 0,0, 2, , AS140D256
3,0, 0,0, 2, , AS140D256
3,0, 0,0, 2, ,AS140D256
3,0, 0,0, 2, ,AS140D256
3,1, 0,0, 2, , AS100D256
3,1, 0,0, 2, ,AS100D256
3,1, 0,0, 2, , AS100D256
3,2, 0,0, 2, ,AS100D256
3,2, 0,0, 2, , AS60D256
3,2, 0,0, 2, , AS60D256
3,0, 0,0, 2, , AS60D256
3,0, 0,0, 2, , AS60D256
3,0, 0,0, 2, , AS20D256
3,1, 0,0, 2, , AS20D256
3,1, 0,0, 2, , AS20D256
3,1, 0,0, 2, , AS20D256
2,-1, 0,0, -1, , AS20D256

[Begin Action 3]
12,0, 0,0, 2, , AS20D256
12,0, 0,0, 2, , AS20D256
12,0, 0,0, 2, , AS20D256
12,0, 0,0, 2, , AS20D256
12,0, 0,0, 2, , AS60D256
12,0, 0,0, 2, , AS60D256
12,1, 0,0, 2, , AS60D256
12,1, 0,0, 2, , AS60D256
12,1, 0,0, 2, , AS60D256
12,1, 0,0, 2, , AS60D256
12,1, 0,0, 2, ,AS100D256
12,1, 0,0, 2, , AS100D256
12,1, 0,0, 2, ,AS100D256
12,1, 0,0, 2, , AS100D256
12,2, 0,0, 2, ,AS140D256
12,2, 0,0, 2, ,AS140D256
12,2, 0,0, 2, , AS140D256
12,2, 0,0, 2, , AS140D256
12,2, 0,0, 2, , AS170D256
12,2, 0,0, 2, , AS170D256
12,3, 0,0, 2, , AS170D256
12,3, 0,0, 2, , AS170D256
12,3, 0,0, 2, , AS170D256
12,3, 0,0, 2, , AS200D256
12,3, 0,0, 2, , AS220D256
12,3, 0,0, 2, , AS250D256
LoopStart
12,4, 0,0, 12
12,5, 0,0, 12
12,6, 0,0, 12
12,0, 0,0, 12
12,1, 0,0, 12
12,2, 0,0, 12
12,3, 0,0, 12


[Begin Action 31]
12,4, 0,0, 12
12,5, 0,0, 12
12,6, 0,0, 12
12,0, 0,0, 12
12,1, 0,0, 12
12,2, 0,0, 12
12,3, 0,0, 12

[Begin Action 4]
13,1, 0,0, 2, , AS20D256
13,1, 0,0, 2, , AS20D256
13,1, 0,0, 2, , AS20D256
13,0, 0,0, 2, , AS20D256
13,0, 0,0, 2, , AS60D256
13,0, 0,0, 2, , AS60D256
13,2, 0,0, 2, , AS60D256
13,2, 0,0, 2, , AS60D256
13,2, 0,0, 2, ,AS100D256
13,1, 0,0, 2, , AS100D256
13,1, 0,0, 2, ,AS100D256
13,1, 0,0, 2, , AS100D256
13,0, 0,0, 2, ,AS140D256
13,0, 0,0, 2, ,AS140D256
13,0, 0,0, 2, , AS140D256
13,2, 0,0, 2, , AS140D256
13,2, 0,0, 2, , AS170D256
13,2, 0,0, 2, , AS170D256
13,1, 0,0, 2, , AS170D256
13,1, 0,0, 2, , AS170D256
13,1, 0,0, 2, , AS170D256
13,0, 0,0, 2, , AS200D256
13,0, 0,0, 2, , AS220D256
13,0, 0,0, 2, , AS250D256
13,2, 0,0, 2, , AS256D256
13,2, 0,0, 2
LoopStart
13,1, 0,0, 6
13,2, 0,0, 6
13,0, 0,0, 6


[Begin Action 41]
LoopStart
13,1, 0,0, 6
13,2, 0,0, 6
13,0, 0,0, 6

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

[Begin Action 10]
100,0, 0,0, 1, H
[Begin Action 11]
100,1, 0,0, 1, H
[Begin Action 12]
100,2, 0,0, 1, H
[Begin Action 13]
100,3, 0,0, 1, H
[Begin Action 14]
100,4, 0,0, 1, H

[Begin Action 15]
100,5, 0,0, 1

[Begin Action 100]
101,5, 0,0, 1
;;====================================================================
;stage
;;====================================================================
;

;tile 2
[BG0Def]
[BG0 01]
type        = anim       
layerNo     = 0         
start       = -200,-140      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 9         
velocity    = 0,0  
ID          = 05

[BG0 01]
type        = anim       
layerNo     = 0       
start       = -200,-140       
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 1         
velocity    = 0,0  
ID          = 05

[BG0 01]
type        = anim       
layerNo     = 0         
start       =-200,-140        
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 2         
velocity    = 0,0  
ID          = 05

;

[BG0 stage]
type        = anim       
layerNo     = 0         
start       =-200,-140      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 0         
velocity    = 0,0  
ID          = 05

[BG0CtrlDef Credits]
CtrlID = 2
looptime = -1
[BG0Ctrl Start scrolling]
type = enable
value=0
time=0
[BG0Ctrl Start scrolling]
type = enable
value=1
time=36

;[bgctrl 00]
;type = visible
;value=1
;time=36
;[bgctrl 00]
;type = enable
;value=1
;time=36
;[bgctrl 00]
;type = posadd
;x = 4.845833333333333
;y=0
;time=0,768
;[bgctrl 00]
;type = posset
;x =0
;time=0
[BG0 2]
type        = anim       
layerNo     = 0         
start       =-200,-140      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 3        
velocity    = 0,0  
ID          = 2
[BG0 2]
type        = anim       
layerNo     = 0         
start       = -200,-140      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 4        
velocity    = 0,0  
ID          = 2


;=================scene that keeps playing
[BG1Def]
[BG1 01]
type        = anim       
layerNo     = 0         
start       = -200,-140      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 9         
velocity    = 0,0  
ID          = 05
[BG1 01]
type        = anim       
layerNo     = 0       
start       = -200,-140      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 1         
velocity    = 0,0  
ID          = 05
[BG1 01]
type        = anim       
layerNo     = 0         
start       = -200,-140       
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 31        
velocity    = 0,0  
ID          = 05

;

[BG1 stage]
type        = anim       
layerNo     = 0         
start       = -200,-140      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 41         
velocity    = 0,0  
ID          = 05

[BG1 stage]
type        = anim       
layerNo     = 0         
start       = -200,-140       
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 0         
velocity    = 0,0  
ID          = 05


;=================transition
[BG2Def]
[BG2 01]
type        = normal        
layerNo     = 0  
spriteno = 1000,0       
start       = 0,0     
delta       = .98,  0;05        
trans       = None     
mask        = 0       
tile        = 0,0       
tilespacing = 0,0                
velocity    = 0,0  
ID          = 1

[BG2CtrlDef Credits]
CtrlID = 1
looptime = -1
[BG2Ctrl Start]
type = Posset
x=-640
time=0
[BG2Ctrl Start]
type = PosAdd
x=90
time=0,6
[BG2Ctrl Start]
type = PosAdd
x=90
time=55,61
[BG2Ctrl Start]
type = PosAdd
x=1
time=6,55



[Begin Action 2100]
211,1, 0,0, 600
211,2, 0,0, 620
211,3, 0,0, -1

[Begin Action 2101]
211,5, 0,0, 8, , AS200D20
211,5, 0,0, 8, , AS180D20
211,5, 0,0, 8, , AS155D20
211,5, 0,0, 8, , AS145D20
211,5, 0,0, 8, , AS135D20
211,5, 0,0, 8, , AS120D20
211,5, 0,0, 8, , AS105D20
211,5, 0,0, 8, , AS90D20
211,5, 0,0, 8, , AS75D10
211,6, 0,0, -1

;=========================
;LEO
;===========================
;tile 2
[BG3Def]

[BG3 01]
type        = anim       
layerNo     = 0         
start       = -320,0      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 2100         
velocity    = 0,0  
;ID          = 200


[Begin Action 2103]
211,7, 0,0, 4, , AS45D256
203,-1, 0,0, 3, , AS45D256
211,7, 0,0, 4, , AS45D256
203,-1, 0,0, 3, , AS45D256
211,7, 0,0, 4, , AS45D256
203,-1, 0,0, -1, , AS45D256

;---------------------
;tile 2
[BG4Def]

[BG4 01]
type        = normal       
layerNo     = 0         
start       = -320,0      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
spriteno = 211,4      
velocity    = -.85,0 
;[BG3CtrlDef 201]
;CtrlID = 202
;looptime = -1
;
;[BG3Ctrl Start]
;type = enable
;value=0
;time=0
;[BG3Ctrl Start]
;type = enable
;value=1
;time=400
;[BG3Ctrl Start]
;type = Posset
;x=0
;y=120
;time=0
;[BG3 02]
;type        = anim       
;layerNo     = 0         
;start       = -320,0      
;delta       = .98,  0;05        
;trans       = None     
;mask        = 1         
;tile        = 0,0       
;tilespacing = 0,0       
;ActionNo    = 2103         
;velocity    = 0,0  
;ID          = 202
;---------------------
;tile 2
[BG5Def]

[BG5CtrlDef Credits]
CtrlID = 200
looptime = -1
[BG5Ctrl Start]
type = posadd
y=-3.077
time=0,390

[BG5 01]
type        = normal       
layerNo     = 0         
start       = -320,0      
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
spriteno = 211,5      
velocity    = 0,0  
ID          = 200
window = 0,25, 640,250
;[BG5CtrlDef Credits]
;CtrlID = 201
;looptime = -1
;[BG5Ctrl Start]
;type = enable
;value=0
;time=0
;
;[BG5Ctrl Start]
;type = enable
;value=1
;time=390
;[BG5 01]
;type        = normal       
;layerNo     = 0         
;start       = -320,-2    
;delta       = .98,  0;05        
;trans       = addalpha
;alpha = 45,256     
;mask        = 1         
;tile        = 0,0       
;tilespacing = 0,0       
;spriteno = 211,7      
;velocity    = 0,0  
;ID          = 201
;xscale=.5
;yscalestart=.5
;
[BG5CtrlDef Credits]
CtrlID = 202
looptime = -1
[BG5Ctrl Start]
type = enable
value=0
time=0

[BG5Ctrl Start]
type = enable
value=1
time=900
;[BG5 03]
;type        = anim       
;layerNo     = 0         
;start       = -320,0     
;delta       = .98,  0;05        
;trans       = None     
;mask        = 1         
;tile        = 0,0       
;tilespacing = 0,0       
;ActionNo    = 2103       
;velocity    = 0,0  
;ID          = 202

[BG5 03]
type        = anim       
layerNo     = 0         
start       = -320,-1200  
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
ActionNo    = 2101       
velocity    = 0,0  
ID          = 202

[BG5CtrlDef Credits]
CtrlID = 211
looptime = -1
[BG5Ctrl Start]
type = enable
value=0
time=0


[BG5Ctrl Start]
type = enable
value=1
time=1140
[BG5 03]
type        = normal       
layerNo     =1        
start       =-320,160  
delta       = .98,  0;05        
trans       = None     
mask        = 1         
tile        = 0,0       
tilespacing = 0,0       
spriteno    = 999,0       
velocity    = 0,0  
ID          = 211

