[Info]
localcoord = 320,240
name = "BabidiZ2 Ending"
author = "Odb718"
versiondate = 02-26-2019  ;5/31/2020
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
3,5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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 = 600

[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
;"Kekekeke! 
;Yes! Oh how glorious this is!
; Shenron, it's time for you to do my bidding! I wish..."
;------------------------------------------------------------
layer1.text = "Kekekeke!"
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,165
layer1.textdelay = 3
layer1.starttime = 50
;------------------------------------------------------------
layer2.text = "Yes! Oh how glorious this is!"
layer2.font = 0, 0, 1, 212, 211, 170	;Use font0
layer2.offset = 10,185
layer2.textdelay = 3
layer2.starttime = 180
;------------------------------------------------------------
layer3.text = "it's time for you to do my bidding!"
layer3.font = 0, 0, 1, 212, 211, 170	;Use font0
layer3.offset = 10,205
layer3.textdelay = 3
layer3.starttime = 340
;------------------------------------------------------------
layer4.text = "I wish"
layer4.font = 0, 0, 1, 212, 211, 170	;Use font0
layer4.offset = 10,225
layer4.textdelay = 3
layer4.starttime = 500
;------------------------------------------------------------
layer5.text = "..."
layer5.font = 0, 0, 1, 212, 211, 170	;Use font0
layer5.offset = 55,225
layer5.textdelay = 10
layer5.starttime = 540
;------------------------------------------------------------
layer6.text = " Shenron, "
layer6.font = 0, 0, 1, 212, 211, 170	;Use font0
layer6.offset = 226,185
layer6.textdelay = 3
layer6.starttime = 300
;------------------------------------------------------------
end.time = 740

[WishingBGDef]

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

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

[WishingBG Buu]
type = normal
spriteno = 102,0
mask = 1

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

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

[WishingBG Name]
type = normal
spriteno = 101,31
mask = 1

[Begin Action 8] ;ShenronMouths
-1,0, 0,0, 0
-1,0, 0,0, 200
-1,0, 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 = 340         ;600 ticks = 10 seconds

[ShenronGrantedBGDef]

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

;---------------------------------------------------

[Scene 4] ;Post Wish
clearcolor = 0,0,0
fadein.time = 30
fadein.col = 0,0,0;255,255,255 
bg.name = PostWishBG
bgm = ../../../data/Endings/Music/BabidiEnding.mp3 
bgm.loop = 0
layerall.pos = 0,0 ;Default position for all layers
;------------------------------------------------------------- 
Layer0.anim = 600     
layer0.offset = 160,0
;--------------------------------------------------
end.time = 180         ;600 ticks = 10 seconds

[PostWishBGDef]
;// Background

[PostWishBG Sky]
type = normal
spriteno = 501,6
mask = 1
 

;------------------------------------------------------------- 

[Scene 5] ;Locked Up!
clearcolor = 0,0,0 
bg.name = LockedBG 
layerall.pos = 0,0 ;Default position for all layers
;--------------------------------------------------- 
;You... You monster
;You wont get away with this!
layer1.text = "You..."  ;Text to show
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,205
layer1.textdelay = 10
layer1.starttime = 0
layer1.endtime = 750
;--------------------------------------------------
layer2.text = "You monster!"  ;Text to show
layer2.font = 0, 0, 1, 212, 211, 170	;Use font0
layer2.offset = 56,205
layer2.textdelay = 3
layer2.starttime = 100
layer2.endtime = 750
;--------------------------------------------------
layer3.text = "You won't get away with this!"  ;Text to show
layer3.font = 0, 0, 1, 212, 211, 170	;Use font0
layer3.offset = 10,225
layer3.textdelay = 3
layer3.starttime = 220
layer3.endtime = 750
;--------------------------------------------------
end.time = 540         ;600 ticks = 10 seconds

;-----------------------------------------------------


[LockedBGDef]
;// Background

[LockedBG Sky]
type = normal
spriteno = 501,6
mask = 1

[LockedBG Sky]
type = normal
spriteno = 600,2
mask = 1
  
[LockedBG Gradient]
type = normal
spriteno = 100,2
mask = 1
start = 0,40

[LockedBG TextBox]
type = normal
spriteno = 100,3
mask = 1
start = 0,40

[LockedBG TextBox]
type = normal
spriteno = 100,4
mask = 1

[LockedBG Name]
type = normal
spriteno = 101,32 ;Kaioshin Vegeta
mask = 1
start = 0,40


;-------------------------------------------------------------------------------

;------------------------------------------------------------- 

[Scene 6] ;Fun Times!
clearcolor = 0,0,0 
bg.name = FunBG  
layerall.pos = 0,0 ;Default position for all layers
;--------------------------------------------------- 
;Calm yourself
;I need you to live a good long life
;after all... we wouldn't want
;my fun to end too soon, would we?
layer1.text = "Calm yourself..."  ;Text to show
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,205
layer1.textdelay = 3
layer1.starttime = 0
layer1.endtime = 750 
;--------------------------------------------------
layer3.text = "I need you to live a good long life."  ;Text to show
layer3.font = 0, 0, 1, 212, 211, 170	;Use font0
layer3.offset = 10,225
layer3.textdelay = 3
layer3.starttime = 220
layer3.endtime = 750
;--------------------------------------------------
end.time = 400         ;600 ticks = 10 seconds

;-----------------------------------------------------


[FunBGDef]
;// Background

[FunBG Sky]
type = normal
spriteno = 501,7
mask = 1

[FunBG Kaioshin]
type = normal
spriteno = 610,1
mask = 1
  
[FunBG Babidi]
type = normal
spriteno = 620,0
mask = 1
;sin.x = -2.5, 256, 0 
sin.y = 10,200,0
[FunBG Gradient]
type = normal
spriteno = 100,2
mask = 1
start = 0,40

[FunBG TextBox]
type = normal
spriteno = 100,3
mask = 1
start = 0,40

[FunBG Name]
type = normal
spriteno = 101,31 ;Babidi
mask = 1
start = 0,40

[FunBG TextBox]
type = normal
spriteno = 100,4
mask = 1 


;------------------------------------------------------------------------------- 
[Scene 7] ;Majin Beerus!
clearcolor = 0,0,0 
bg.name = MajinBeerusBG  
layerall.pos = 0,0 ;Default position for all layers
;--------------------------------------------------- 
;Calm yourself
;I need you to live a good long life
;after all... we wouldn't want
;my fun to end too soon, would we?
layer1.text = "After all... "  ;Text to show
layer1.font = 0, 0, 1, 212, 211, 170	;Use font0
layer1.offset = 10,205
layer1.textdelay = 3
layer1.starttime = 0
layer1.endtime = 750 
;--------------------------------------------------
layer2.text = "we wouldn't want"  ;Text to show
layer2.font = 0, 0, 1, 212, 211, 170	;Use font0
layer2.offset = 90,205
layer2.textdelay = 3
layer2.starttime = 150
layer2.endtime = 750 
;--------------------------------------------------
layer3.text = "my fun to end too soon, would we?"  ;Text to show
layer3.font = 0, 0, 1, 212, 211, 170	;Use font0
layer3.offset = 10,225
layer3.textdelay = 3
layer3.starttime = 210
layer3.endtime = 750
;--------------------------------------------------
end.time = 400         ;600 ticks = 10 seconds

;-----------------------------------------------------


[MajinBeerusBGDef]
;// Background

[MajinBeerusBG Sky]
type = normal
spriteno = 501,7
mask = 1
[MajinBeerusBG Babidi]
type =  anim
actionno =620 ; 22 
mask = 1
sin.y = 10,200,0
velocity = -0.1,-0.05 
[MajinBeerusBG Beerus]
type =  anim
actionno =631   ; 22 
mask = 1 
start = 0,23
velocity = -0.1,-0.05 
[MajinBeerusBG Beerus]
type =  anim
actionno =630   ; 22 
mask = 1 
start = 0,23
velocity = -0.1,-0.05 

[MajinBeerusBG Kaioshin]
type = normal
spriteno = 610,1
mask = 1
velocity = 0.09,0.145 
  
  
[MajinBeerusBG Gradient]
type = normal
spriteno = 100,2
mask = 1
start = 0,40

[MajinBeerusBG TextBox]
type = normal
spriteno = 100,3
mask = 1
start = 0,40

[MajinBeerusBG TextBox]
type = normal
spriteno = 100,4
mask = 1

[MajinBeerusBG Name]
type = normal
spriteno = 101,31 ;Babidi
mask = 1
start = 0,40

;-------------------------------------------------------------------------------

;------------------------------------------------------------- 

[Scene 8] ;Majin Times!
clearcolor = 0,0,0 
bg.name = TeamBG  
layerall.pos = 0,0 ;Default position for all layers  
fadeout.time = 100
;--------------------------------------------------
end.time = 360         ;600 ticks = 10 seconds

;-----------------------------------------------------
[TeamBGDef]
;// Background

[TeamBG Sky]
type = normal
spriteno = 501,7
mask = 1

[TeamBG Kaioshin]
type = normal
spriteno = 610,0
mask = 1
  
[TeamBG Beerus]
type = normal
spriteno = 630,2
mask = 1 
start = -40,3 ;0,23

[TeamBG Babidi]
type = normal
spriteno = 620,0
mask = 1
start = -40,-20 ;0,23
;sin.x = -2.5, 256, 0 
sin.y = 10,200,0

   
;-------------------------------------------------------------------------------


[Begin Action 501]
501,6, 0,0, 10

 
[Begin Action 600]
600,0, 0,0, 55
600,1, 0,0, 10
600,2, 0,0, 999

[Begin Action 620]
620,0, 0,0, 10

[Begin Action 630]
-1,0, 0,0, 25
630,1, 0,0, 6, , AS26D186
630,1, 0,0, 6, , AS76D136
630,1, 0,0, 6, , AS126D86
630,1, 0,0, 6, , AS176D56
630,1, 0,0, 6, , AS216D22
630,1, 0,0, 10
630,2, 0,0, 999

[Begin Action 631]
-1,0, 0,0, 10
630,0, 0,0, 5, , AS219D225
630,0, 0,0, 5, , AS186D195
630,0, 0,0, 5, , AS153D165
630,0, 0,0, 5, , AS119D125
630,0, 0,0, 5, , AS119D155
630,0, 0,0, 5, , AS119D185
630,0, 0,0, 5, , AS119D205
630,0, 0,0, 5, , AS122D225

