# text effects file
# lines that begin with a pound symbol are treated as comments
SpeechBubble
	Init
		Scale (1.0, 1.0)
		Alpha 0.0
		Color (0.0, 0.0, 0.0)

	Begin
		Scale (1.10, 1.14) 150
		Alpha 1.0 150

	WhenDone
		Scale (1.0,1.0) 150

	End

SpeechBubbleTutorial
	Init
		Scale (1.0, 1.0)
		Alpha 0.0
		Color (0.0, 0.0, 0.0)

	Begin
		Scale (1.09, 1.25) 150
		Alpha 1.0 150

	WhenDone
		Scale (1.0,1.0) 150

	WhenDone
		Wait 3000

	WhenDone
		Scale (1.08, 1.13) 500

	WhenDone
		Scale (1.0, 1.0) 400

	WhenDone
		Wait 190

	WhenDone
		Repeat 5 -3

	End

SpawnCountdown
	Init
		Scale (0, 0)
		Alpha 0
		Color (0.2, 0.8, 0)
		Move (.5, .5)
		Rotate 0

	Begin
		Scale (2.30, 1.3) 125
		Alpha 1.0 125

	WhenDone
		Scale (1.0,1.0) 150

	WhenDone
		Wait 625

	WhenDone
		Rotate -7.28 500
		MoveY 1.2 700
		Scale (0.6,0.6) 500
		Alpha 0 490

	End


FlagCountdown
	Init
		Scale (0, 0)
		Alpha 0
		Color (0.2, 0.8, 0)
		Move (0, 0)
		Rotate 0

	Begin
		Scale (1.60, 1.2) 110
		Alpha 0.8 110

	WhenDone
		Scale (1.0,1.0) 110

	WhenDone
		Wait 625

	WhenDone
		Alpha 0 200
	End

CueNormalEntry
	Init
		Scale (0, 0)
		Alpha 0
		Move (.5, .14)
		Rotate 0

	Begin
		Scale (1.1, 1.0) 125
		Alpha 1.0 125

	WhenDone
		Scale (1.0,1.0) 100

	WhenDone
		Wait 2500

	WhenDone
		Scale (1.1, 1.0) 125
		
	WhenDone
		Scale (0,0) 100
		Alpha 0 100
	End
	
CueHighEntry
	Init
		Scale (0, 0)
		Alpha 0
		Move (.5, .24)
		Rotate 0

	Begin
		Scale (1.3, 1.2) 200
		Alpha 1.0 200

	WhenDone
		Scale (1.0,1.0) 175

	WhenDone
		Wait 2750

	WhenDone
		Scale (1.3, 1.2) 175
		
	WhenDone
		Scale (0,0) 175
		Alpha 0 175
	End

CueScoreUpdateEntry
	Init
		Scale (0, 0)
		Alpha 0
		Move (.5, .29)
		Rotate 0
		Color (1.0, 1.0, 0)

	Begin
		Wait 225
	
	WhenDone
		Scale (1.1, 1.1) 200
		Alpha 1.0 200

	WhenDone
		Scale (1.0, 1.0) 200

	WhenDone
		Wait 2500

	WhenDone
		Scale (1.1, 1.1) 175
		
	WhenDone
		Scale (0,0) 175
		Alpha 0 175
	End
	
CueWinEntry
	Init
		Scale (0, 0)
		Alpha 0
		Move (.5, .4)
		Rotate 0

	Begin
		Scale (1.3, 1.2) 400
		Alpha 1.0 350
		Rotate 6.6 400

	WhenDone
		Scale (1.0,1.0) 275

	WhenDone
		Wait 5000

	WhenDone
		Scale (1.3, 1.2) 275
		
	WhenDone
		Scale (0,0) 400
		Rotate 0 400
		Alpha 0 350
	End
	
CueEarlyExit
	Begin
		Scale (1.6, 1.1) 200
		Alpha 0 200

	End

PowerToHigh
	Init
		Rotate -6.2918
		
	Begin
		Wait 250
	
	WhenDone
		Scale (1.3, 1.3) 200
		Rotate -3.1459 200
		Alpha 1.0 200
		Color (0.0, 0.9, 0.0) 200
		
	WhenDone
		Scale (1.0, 1.0) 200
		Rotate 0.0 200
	End

PowerToMedium
	Init
		Rotate -6.2918

	Begin
		Wait 250
	
	WhenDone
		Scale (1.3, 1.3) 200
		Rotate -3.1459 200
		Alpha 1.0 200
		Color (0.85, 0.61, 0.02) 200

	WhenDone
		Scale (1.0, 1.0) 200
		Rotate 0.0 200
	
	# repeating bulge
	WhenDone
		Wait 15000
		
	WhenDone
		Scale (1.2, 1.2) 300
	
	WhenDone
		Scale (1.0, 1.0) 300
	
	WhenDone
		Repeat 60 -3 
	End

PowerToLow
	Init
		Rotate -6.2918

	Begin
		Wait 250
	
	WhenDone
		Scale (1.34, 1.34) 175
		Rotate -3.1459 175
		Alpha 1.0 175
		Color (1.0, 0.0, 0.0) 175

	WhenDone
		Scale (1.0, 1.0) 175
		Rotate 0.0 175
	
	# repeating bulge
	WhenDone
		Wait 750
		
	WhenDone
		Scale (1.25, 1.25) 300
	
	WhenDone
		Scale (1.0, 1.0) 300
	
	WhenDone
		Repeat 60 -3 

	End

PowerHide
	Init
		Rotate -6.2918
	
	Begin
		Scale (1.2, 1.2) 200
		Rotate -3.1459 200

	WhenDone
		Scale (0.0, 0.0) 200
		Rotate 0.0 200
		Alpha 0.0 200
	End

MenuEffectNew
	Init
		Alpha 0.0
		Scale (0,0)
	Begin
		Wait 1

	WhenDone
		Alpha 1.0 150
		Scale (1.1, 1.1) 150

	WhenDone
		Scale (1.0,1.0) 150
	End

MenuEffectUpdate
	Init
		Alpha 1.0
		Scale (1.0, 1.0)
	Begin
		Scale (1.20, 1.35) 100

	WhenDone
		Scale (1.0, 1.0) 70
	End


TextMoveX
	Init
		Move (0.5, 0.5)
		Scale (1.0, 1.0)
		Alpha 1.0
		Color (1.0, 0.0, 0.0)

	Begin
		MoveX 0.9 300
		MoveY 0.25 300

	WhenDone
		Scale (1.9,1.9) 200
		Alpha 0.0 900

	End

SpinAndSpinOut
	Init
		Alpha 0.0
		#Rotate -6.28
		Move (0.5,0.5)
		Scale (2.1, 0.1)
		Color (0.0,0.0,1.0)

	Begin
		# the following two effects are executed in parallel
		Alpha 1.0 400
		#Rotate 0.0 300
		Scale (0.4,0.4) 200

		# rotate from 2piover 300 milliseconds
		
	WhenDone
	# when both Rotate and Move are done. so the next effect will begin after 200 millseconds
		Scale (0.7,0.7) 400

	WhenDone
		Scale (0.4,0.4) 400
	
	WhenDone
		Repeat 1 -2
		#this will move from (0.4,0.4) to (0.6,0.6) and back again 5 times in total.
		#1 initial occurance, 4 repeats. the -2 tells the script to jump back two blocks.


	WhenDone
		Move (0.5,0.25) 200
		Scale (0.9,0.9) 200


	WhenDone
		Wait 1000

	WhenDone
		Alpha 0.0 200
		#fade out
	End
		


SpinAndSpinOut2
	Init
		Alpha 0.0
		Rotate 0.0
		Scale (0.5, 0.5)
		Move (0.5, 0.5)

	Begin
		Wait 500

	WhenDone
		Alpha 1.0 1000
		Rotate 6.28318 1000
		Scale (1.0, 1.0) 1000

	WhenDone
		Wait 2000

	WhenDone
		Alpha 0.0 500
		Rotate -6.26 500
		Scale (0.5, 0.5) 500

	WhenDone
		Repeat 2 -4

	End
		