[Info]
localcoord = 320,240
name = "Normal_VegetaZ2 Ending"
author = "EthanTheHuman & Odb718"
versiondate = 02-26-2019
mugenversion = 1.0

[SceneDef]
spr = 	Ending.sff       ;Filename of sprite file to use
;font0 =	Dialogue.def     ;Filename of a font file to use for the text
font0 =	../../../data/Endings/Dialogue.def     ;Filename of a font file to use for the text
snd = ../../../data/Endings/Endings.snd
;snd = Endings.snd
startscene = 0

[Scene 0] ;Dragon balls glowing
; Scene parameters
clearcolor = 0,0,0
fadein.time = 100
bg.name = GlowingBG
; Music
; Sounds
Sound0.value = 1,0
Sound0.starttime = 0
Sound1.value = 1,0
Sound1.starttime = 240
Sound2.value = 2,0
Sound2.starttime = 500
Sound3.value = 5,0
Sound3.starttime = 750
; Layers
layerall.pos = 160,0 ;Default position for all layers
Layer0.anim = 0
Layer1.anim = 1
Layer2.anim = 2
Layer3.anim = 3
Layer4.anim = 4
Layer4.starttime = 500
; Total time
end.time = 950

[GlowingBGDef]

[GlowingBG Blank]
type = normal
start = -9999,-9999
spriteno = 0,0
mask = 1

[Begin Action 0] ;Ground glowing
4,0, 0,0, 10
4,1, 0,0, 7
4,2, 0,0, 7
4,3, 0,0, 7
4,4, 0,0, 7
4,5, 0,0, 15
4,4, 0,0, 7
4,3, 0,0, 7
4,2, 0,0, 7
4,1, 0,0, 7

[Begin Action 1] ;Back row
1,0, 0,0, 10
1,1, 0,0, 7
1,2, 0,0, 7
1,3, 0,0, 7
1,4, 0,0, 7
1,5, 0,0, 15
1,4, 0,0, 7
1,3, 0,0, 7
1,2, 0,0, 7
1,1, 0,0, 7

[Begin Action 2] ;Mid row
2,0, 0,0, 10
2,1, 0,0, 7
2,2, 0,0, 7
2,3, 0,0, 7
2,4, 0,0, 7
2,5, 0,0, 15
2,4, 0,0, 7
2,3, 0,0, 7
2,2, 0,0, 7
2,1, 0,0, 7

[Begin Action 3] ;Back row
3,0, 0,0, 10
3,1, 0,0, 7
3,2, 0,0, 7
3,3, 0,0, 7
3,4, 0,0, 7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,0, 2
5,64, 0,0, 2
5,65, 0,0, 2
5,66, 0,0, 2
5,67, 0,0, 2
5,68, 0,0, 2
5,69, 0,0, 2
5,70, 0,0, -1

[Scene 1] ;Shenron talking
; Scene parameters
clearcolor = 0,0,0
fadein.time = 100
fadein.col = 255,255,255
fadeout.time = 100
bg.name = BoomBG
; Music
; Sounds
Sound0.value = 5,1
Sound0.starttime = 200
; Layers
layerall.pos = 160,0 ;Default position for all layers
; Total time
end.time = 540

[BoomBGDef]

[BoomBG Starry Night]
type = normal
start = 0,0
spriteno = 100,0
mask = 1

[BoomBG Shenron Back]
type = normal
start = 0,0
spriteno = 6,1
mask = 1
sin.y = 1,500,0.5

[BoomBG Shenron Mid]
type = normal
start = 0,0
spriteno = 6,0
mask = 1
sin.x = -1, 200, 0 
sin.y = 5,600,0.25

[BoomBG Shenron Front]
type = normal
start = 0,0
spriteno = 6,2
mask = 1
sin.x = -2, 256, 0 
sin.y = 7,700,0

[BoomBG Shenron Head]
type  = anim
actionno = 6
start = 0, 0
mask = 1
sin.x = -2.5, 256, 0 
sin.y = 10,700,0

[BoomBG Shenron Mouths]
type  = anim
actionno = 7
start = 0, 0
mask = 1
sin.x = -2.5, 256, 0 
sin.y = 10,700,0

[Begin Action 6] ;ShenronHead
7,0, 0,0, 5
7,1, 0,0, 5
7,2, 0,0, 5
7,3, 0,0, 5

[Begin Action 7] ;ShenronMouths
8,0, 0,0, 200
;Begin Loop I'll
8,1, 0,0, 4
8,2, 0,0, 4
8,3, 0,0, 4
8,4, 0,0, 4
8,3, 0,0, 3
8,2, 0,0, 3
8,1, 0,0, 3
;End Loop
;Begin Loop Give
8,2, 0,0, 4
8,3, 0,0, 4
8,4, 0,0, 4
8,3, 0,0, 3
8,2, 0,0, 3
8,1, 0,0, 3
8,0, 0,0, 3
;End Loop
;Begin Loop You
8,1, 0,0, 3
8,2, 0,0, 3
8,3, 0,0, 3
8,4, 0,0, 3
8,5, 0,0, 6
8,6, 0,0, 3
8,5, 0,0, 3
8,4, 0,0, 3
8,3, 0,0, 2
8,2, 0,0, 2
8,1, 0,0, 2
;End Loop
;Begin Loop One
8,1, 0,0, 3
8,2, 0,0, 3
8,3, 0,0, 3
8,4, 0,0, 3
8,5, 0,0, 3
8,4, 0,0, 2
8,3, 0,0, 2
8,2, 0,0, 2
8,1, 0,0, 2
8,0, 0,0, 2
;End Loop
;Begin Loop Wish
8,1, 0,0, 3
8,2, 0,0, 3
8,3, 0,0, 3
8,4, 0,0, 3
8,5, 0,0, 5
8,4, 0,0, 2
8,3, 0,0, 2
8,2, 0,0, 2
8,1, 0,0, 2
8,0, 0,0, 2
;End Loop
;Begin Loop Pause
8,0, 0,0, 30
;End Loop
;Begin Loop Ask
8,1, 0,0, 3
8,2, 0,0, 3
8,3, 0,0, 3
8,4, 0,0, 2
8,3, 0,0, 2
8,2, 0,0, 2
8,1, 0,0, 2
8,0, 0,0, 2
;End Loop
;Begin Loop For
8,1, 0,0, 3
8,2, 0,0, 3
8,3, 0,0, 3
8,4, 0,0, 5
8,3, 0,0, 2
8,2, 0,0, 2
8,1, 0,0, 2
8,0, 0,0, 2
;End Loop
;Begin Loop Anything
8,1, 0,0, 3
8,2, 0,0, 3
8,3, 0,0, 3
8,4, 0,0, 3
8,5, 0,0, 3
8,6, 0,0, 3
8,5, 0,0, 2
8,4, 0,0, 2
8,3, 0,0, 2
8,2, 0,0, 2
8,3, 0,0, 3
8,4, 0,0, 3
8,5, 0,0, 5
8,4, 0,0, 2
8,3, 0,0, 2
8,2, 0,0, 2
8,1, 0,0, 2
8,2, 0,0, 3
8,3, 0,0, 3
8,4, 0,0, 3
8,5, 0,0, 4
8,4, 0,0, 2
8,3, 0,0, 2
8,2, 0,0, 2
8,1, 0,0, 2
8,1, 0,0, -1
;End Loop

[Scene 2]
clearcolor = 0,0,0
fadein.time = 100
fadeout.time = 100
bgm = ../../../data/Endings/Music/Wish.mp3
bg.name = WishingBG
layerall.pos = 0,0 ;Default position for all layers
;------------------------------------------------------------
layer1.text = "Shenron! Heed my call! Grant my wish!"
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,165
layer1.textdelay = 3
layer1.starttime = 100
layer1.endtime = 400
;------------------------------------------------------------
layer2.text = "I wish for--"
layer2.font = 0, 0, 1, 212, 211, 170	;Use font0
layer2.offset = 10,185
layer2.textdelay = 3
layer2.starttime = 250
layer2.endtime = 400
;------------------------------------------------------------
layer3.text = "Wait just one minute!"
layer3.font = 0, 0, 1, 212, 211, 170	;Use font0
layer3.offset = 10,165
layer3.textdelay = 3
layer3.starttime = 400
layer3.endtime = 1300
;------------------------------------------------------------
layer4.text = "I'm so happy you wanted to surprise"
layer4.font = 0, 0, 1, 212, 211, 170	;Use font0
layer4.offset = 10,185
layer4.textdelay = 3
layer4.starttime = 550
layer4.endtime = 1300
;-----------------------------------------------------------
layer5.text = "me by finding the Dragon Balls, Vegeta!"
layer5.font = 0, 0, 1, 212, 211, 170	;Use font0
layer5.offset = 10,205
layer5.textdelay = 3
layer5.starttime = 665
layer5.endtime = 1300
;------------------------------------------------------------
layer6.text = "So here's what I want..."
layer6.font = 0, 0, 1, 212, 211, 170	;Use font0
layer6.offset = 10,225
layer6.textdelay = 3
layer6.starttime = 800
layer6.endtime = 1300
;------------------------------------------------------------
end.time = 1200

[WishingBGDef]

[WishingBG Sky]
type = normal
spriteno = 100,0
mask = 1

[WishingBG Aura]
type = normal
spriteno = 100,1
mask = 1

[WishingBG Vegeta]
type  = anim
actionno = 8
mask = 1

[WishingBG BulmaSlideIn]
type = anim
actionno = 10
start = 700,0
velocity = -2,0
mask = 1

[WishingBG BulmaInPlace]
type = anim
actionno = 11
start = -100,0
mask = 1

[WishingBG Gradient]
type = normal
spriteno = 100,2
mask = 1

[WishingBG TextBox]
type = normal
spriteno = 100,3
mask = 1

[WishingBG Name]
type = anim
actionno = 9
mask = 1

[Begin Action 8] ;Vegeta sad
102,28,0,0,300
102,29, 0,0, 2, , AS255D0
102,29, 0,0, 2, , AS240D5
102,29, 0,0, 2, , AS225D10
102,29, 0,0, 2, , AS210D15
102,29, 0,0, 2, , AS195D20
102,29, 0,0, 2, , AS170D25
102,29, 0,0, 2, , AS155D30
102,29, 0,0, 2, , AS140D35
102,29, 0,0, 2, , AS125D40
102,29, 0,0, 2, , AS110D45
102,29, 0,0, -1, , AS95D50

[Begin Action 9] ;Name Plate
101,2,0,0,400
101,13,0,0,-1

[Begin Action 10] ;Bulma Sliding in
-1,0,0,0,300
102,30,0,0,100
-1,0,0,0,-1

[Begin Action 11] ;Bulma in place
-1,0,0,0,300
-1,0,0,0,100
102,30,0,0,-1

[Scene 3] ;Shenron wish granted
clearcolor = 0,0,0
fadein.time = 30
bg.name = ShenronGrantedBG
Sound0.value = 10,0
Sound0.starttime = 0
Sound1.value = 11,1
Sound1.starttime = 0
layerall.pos = 0,0 ;Default position for all layers
end.time = 400         ;600 ticks = 10 seconds

[ShenronGrantedBGDef]

[ShenronGrantedBG title]
type = normal
spriteno = 0,0
start = -1000,-1000
mask = 1

[Scene 4] ;Muscly men
clearcolor = 0,0,0
fadein.time = 30
bg.name = Bulma01BG
bgm = ../../../data/Endings/Music/Bulma.mp3
layerall.pos = 0,0 ;Default position for all layers
end.time = 600         ;600 ticks = 10 seconds

[Bulma01BGDef]

[Bulma01BG Background]
type = normal
spriteno = 503,5
start = -140,0
velocity = 0.01,0
mask = 1

[Bulma01BG BackRow]
type = normal
spriteno = 503,9
;start = -120,0
velocity = 0.03,0
mask = 1

[Bulma01BG BackMiddleRow]
type = normal
spriteno = 503,8
;start = -120,0
velocity = 0.05,0
mask = 1

[Bulma01BG FrontMiddleRow]
type = normal
spriteno = 503,7
;start = -120,0
velocity = 0.15,0
mask = 1

[Bulma01BG FrontRow]
type = normal
spriteno = 503,6
;start = -120,0
velocity = 0.3,0
mask = 1

;=======================================================================================
[Scene 5] ;Meeting Bulma
clearcolor = 0,0,0
fadein.time = 0
bg.name = Bulma02BG
layerall.pos = 0,0 ;Default position for all layers
end.time = 290 ;300         ;600 ticks = 10 seconds

[Bulma02BGDef]

[Bulma02BG Background]
type = normal
;spriteno = 503,3
spriteno = 503,1133
start = 0, 14
sin.y = -14,1200,0
mask = 1

[Bulma02BG Floor]
type = normal
spriteno = 503,14;2
start = 0, 57
mask = 1
sin.y = -57,1200,0
[Bulma02BG Shadow]
type = anim
actionno = 27
start = 0, 57
sin.y = -57,1200,0
mask = 1
[Bulma02BG Chars]
type = normal
spriteno = 503,1001
start = 0, 57
mask = 1
sin.y = -57,1200,0



[Bulma02BG BackRowL]
type = normal
spriteno = 503,12
mask = 1
start = -110, 0
velocity = -0.6, -0.11
;sin.x = 3, 200, 0

[Bulma02BG BackRowR]
type = normal
spriteno = 503,19
mask = 1
start = 122, 0
velocity = 0.65, -0.12
;sin.x = 3, 00, 0

[Bulma02BG MidRowL]
type = normal
spriteno = 503,11
mask = 1
start = -92, 0
velocity = -0.85, -0.11
;sin.x = 3, 200, 0

[Bulma02BG MidRowR]
type = normal
spriteno = 503,11
mask = 1
start = 75, 0
velocity = 0.85, -0.12
;sin.x = 3, 00, 0

[Bulma02BG FrontRowL]
type = normal
spriteno = 503,16
mask = 1
start = -80, 0
velocity = -1.15, -0.13
;sin.x = 3, 00, 0

[Bulma02BG FrontRowR]
type = normal
spriteno = 503,10
mask = 1
start = 90, 0
velocity = 1.1, -0.14
;sin.x = 3, 200, 0


;=======================================================================================

[Scene 6] ;Bulma Dialogue
clearcolor = 0,0,0
fadein.time = 0
bg.name = Bulma03BG
;------------------------------------------------------------
layer1.text = "More pep in your step boys! I want"
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,205
layer1.textdelay = 3
layer1.starttime = 180 ;240
layer1.endtime = 480 ;540
;------------------------------------------------------------
layer2.text = "to see those legs kicking really high!"
layer2.font = 0, 0, 1, 212, 211, 170	;Use font0
layer2.offset = 10,225
layer2.textdelay = 3
layer2.starttime = 280 ;340
layer2.endtime = 480 ;540
;------------------------------------------------------------
layer3.text = "The Capsule empire now spans"
layer3.font = 0, 0, 1, 212, 211, 170	;Use font0
layer3.offset = 10,165
layer3.textdelay = 3
layer3.starttime = 540
layer3.endtime = 1140
;------------------------------------------------------------
layer4.text = "countless worlds."
layer4.font = 0, 0, 1, 212, 211, 170	;Use font0
layer4.offset = 10,185
layer4.textdelay = 3
layer4.starttime = 630 ;640
layer4.endtime = 1140
;-----------------------------------------------------------
layer5.text = "Some say that it spans into other"
layer5.font = 0, 0, 1, 212, 211, 170	;Use font0
layer5.offset = 10,205
layer5.textdelay = 3
layer5.starttime = 770 ;800
layer5.endtime = 1140
;------------------------------------------------------------
layer6.text = "universes as well."
layer6.font = 0, 0, 1, 212, 211, 170	;Use font0
layer6.offset = 10,225
layer6.textdelay = 3
layer6.starttime = 870 ;900
layer6.endtime = 1140
;-----------------------------------------------------------
;------------------------------------------------------------
layer7.text = "At its helm, the greatest monster that"
layer7.font = 0, 0, 1, 212, 211, 170	;Use font0
layer7.offset = 10,165
layer7.textdelay = 3
layer7.starttime = 1140
layer7.endtime = 1800
;------------------------------------------------------------
layer8.text = "ever ruled the universe with an"
layer8.font = 0, 0, 1, 212, 211, 170	;Use font0
layer8.offset = 10,185
layer8.textdelay = 3
layer8.starttime = 1260 ;1270
layer8.endtime = 1800
;-----------------------------------------------------------
layer9.text = "iron fist. Mercilessly. Savagely."
layer9.font = 0, 0, 1, 212, 211, 170	;Use font0
layer9.offset = 10,205
layer9.textdelay = 3
layer9.starttime = 1360 ;1400
layer9.endtime = 1800
;------------------------------------------------------------
layer10.text = "Her name is Bulma Briefs."
layer10.font = 0, 0, 1, 212, 211, 170	;Use font0
layer10.offset = 10,225
layer10.textdelay = 3
layer10.starttime = 1590
layer10.endtime = 1800
;-----------------------------------------------------------
layerall.pos = 0,0 ;Default position for all layers
end.time = 1800         ;600 ticks = 10 seconds

[Bulma03BGDef]

[Bulma03BG Background]
type = normal
spriteno = 503,1133
mask = 1

[Bulma03BG Floor]
type = normal
spriteno = 503,14;2
;start = 0, 114
mask = 1

[Bulma03BG Shadow]
type = normal
spriteno = 503,1133
;spriteno = 503,3
;start = 0, 114
mask = 1

[Bulma03BG Floor]
type = normal
spriteno = 503,14;2
;start = 0, 114
mask = 1 

[Bulma03BG Chars]
type = normal
spriteno = 503,1001
;start = 0, 114
mask = 1

[Bulma03BG RisingTextBox]
type = anim
actionno = 27 
mask = 1

;=======================================================================
; Text box
;Part 1 - text rising

[Bulma03BG RisingGradient]
type = anim
actionno = 20
start = 0,180 ;240
velocity = 0,-1
mask = 1
;Rising Gradient
[Begin Action 20]
100,2, 0,40, 180 ;240
-1,0, 0, 0, -1

[Bulma03BG RisingTextBox]
type = anim
actionno = 21
start = 0,180 ;240
velocity = 0,-1
mask = 1

;Rising Text Box
[Begin Action 21]
100,3, 0,40, 180 ;240
-1,0, 0, 0, -1

[Bulma03BG RisingName]
type = anim
actionno = 22
start = 0,180 ;240
velocity = 0,-1
mask = 1

;Rising Name
[Begin Action 22]
101,13, 0,40, 180 ;240
-1,0, 0, 0, -1
;-----------------------------------------------------------------------
;Part 2 - Static
[Bulma03BG StaticGradient]
type = anim
actionno = 23
start = 0,0
mask = 1
;Static Gradient

[Begin Action 23]
-1,0, 0, 40, 180 ;240
100,2, 0,40, 300
100,2, 0,16, -1

[Bulma03BG StaticTextBox]
type = anim
actionno = 24
start = 0,0
mask = 1

;Static Gradient
[Begin Action 24]
-1,0, 0, 40, 180 ;240
100,3, 0,40, 300
100,3, 0,0, -1

[Bulma03BG BottomBorder]
type = anim
actionno = 25
mask = 1
;Bottom Border

[Begin Action 25]
-1,0, 0, 0, 140 ;200
100,4, 0,0, -1

[Bulma03BG StaticName]
type = anim
actionno = 26
start = 0,0
mask = 1

;Static Name
[Begin Action 26]
-1,0, 0, 0, 180 ;240
101,13, 0,40, 300
-1,0, 0,0, -1
;=======================================================================

[Scene 7] ;Vegeta Panning
clearcolor = 0,0,0
fadein.time = 0
bg.name = Bulma04BG
;------------------------------------------------------------
layer1.text = "..."
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,225
layer1.textdelay = 10
layer1.starttime = 0
layer1.endtime = 1000
;-----------------------------------------------------------
layerall.pos = 0,0 ;Default position for all layers
end.time = 300         ;600 ticks = 10 seconds

[Bulma04BGDef]

[Bulma04BG Background]
type = normal
spriteno = 503,1133
mask = 1

[Bulma04BG Vegeta]
type = normal
spriteno = 503,4
mask = 1
Sin.y = -109,1200,0

[Bulma04BG Gradient]
type = normal
spriteno = 100,2
start = 0,58
mask = 1

[Bulma04BG TextBox]
type = normal
spriteno = 100,3
start = 0,58
mask = 1

[Bulma04BG TextBottom]
type = normal
spriteno = 100,4
mask = 1

[Bulma04BG NamePlate]
type = normal
spriteno = 101,2
start = 0,58
mask = 1

[Scene 8] ;Vegeta Dialogue
clearcolor = 0,0,0
fadein.time = 0
fadeout.time = 30
bg.name = Bulma05BG
;------------------------------------------------------------
layer1.text = "I should have stayed home."
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,225
layer1.textdelay = 3
layer1.starttime = 0
layer1.endtime = 1000
;-----------------------------------------------------------
layerall.pos = 0,0 ;Default position for all layers
end.time = 600         ;600 ticks = 10 seconds

[Bulma05BGDef]

[Bulma05BG Background]
type = normal
spriteno = 503,1133
mask = 1

[Bulma05BG Vegeta]
type = normal
spriteno = 503,4
start = 0,-109
mask = 1

[Bulma05BG Gradient]
type = normal
spriteno = 100,2
start = 0,58
mask = 1

[Bulma05BG TextBox]
type = normal
spriteno = 100,3
start = 0,58
mask = 1

[Bulma05BG TextBottom]
type = normal
spriteno = 100,4
mask = 1

[Bulma05BG NamePlate]
type = normal
spriteno = 101,2
start = 0,58
mask = 1

[Begin Action 27]
503,1116, 0,0, 10, , AS226D156
