# Splash screens
# #############################################################################

# The total widget count
TOTAL 16

# ###
# Splash 2
# ###

BEGIN BitmapWidget 0
	name	groupsplash2
	active	false
	bounds	0, 0, 1024, 768
	pictid	136
END

BEGIN StartTrigger
	name	startgroupsplash2
	comp	groupsplash2
END

BEGIN OrderedMultiImageAnimation 2
	name	herbmouthsplash
	active	false
	bounds	443,359,516,400
	pictid	138
	frames	0, 1, 2, 3, 4, 3, 2, 1, 0
	delays	60,60,60,60,60,60,60,60,60
	loop	-1
	soundid	141
	soundstop	true
END

# 141 splashsound2
BEGIN ConcurrentAnimation
	name	splash2
	comps	startgroupsplash2, herbmouthsplash
END

# ###
# Splash 4
# ###

BEGIN OrderedMultiImageAnimation 2
	name	herbsushisplash
	active	false
	bounds	443,359,516,400
	pictid	138
	frames	0, 1, 2, 3, 4, 3, 2, 1, 0
	delays	60,60,60,60,60,60,60,60,60
	soundid	138
	loop	-1
	soundstop	true
END

# 141 splashsound2
BEGIN ConcurrentAnimation
	name	splash4
	comps	startgroupsplash2, herbsushisplash
END

# ###
# Splash 5
# ###

BEGIN OrderedMultiImageAnimation 2
	name	herbtastysplash
	active	false
	bounds	443,359,516,400
	pictid	138
	frames	0, 1, 2, 3, 4, 3, 2, 1, 0
	delays	60,60,60,60,60,60,60,60,60
	soundid	139
	loop	-1
	soundstop	true
END

# 141 splashsound2
BEGIN ConcurrentAnimation
	name	splash5
	comps	startgroupsplash2, herbtastysplash
END

# ###
# Splash 6
# ###

BEGIN OrderedMultiImageAnimation 2
	name	herbpopcornsplash
	active	false
	bounds	443,359,516,400
	pictid	138
	frames	0, 1, 2, 3, 4, 3, 2, 1, 0
	delays	60,60,60,60,60,60,60,60,60
	soundid	136
	loop	-1
	soundstop	true
END

# 141 splashsound2
BEGIN ConcurrentAnimation
	name	splash6
	comps	startgroupsplash2, herbpopcornsplash
END

# ###
# The witty saying
# ###

BEGIN RandomTextWidget 5
	name	greeting
	xbounds	50, 715, 850, 40
	active	true
	color	255, 255, 0
	shadowcolor	0, 0, 0
	center	false
	bold	true
	shadow	true
	strings	5000
END

# ###
# Splash screen
# ###

BEGIN RandomAnimation 
	name	splashground
	active	false
	comps	splash2, splash4, splash5, splash6
	weights	30,      1,       1,       1
	loop	0
END

BEGIN Pause
	name	splashpause
	active	false
	pause	0
END

BEGIN SequentialAnimation
	name	splash
	active	true
	comps	splashground splashpause
	loop	0
END

# A hotspot, covering the whole screen area, which will 
# turn the above animation off when hit (ending the
# splash sequence)

BEGIN StopHotspot 8
	name	splashanimstop
	active	true
	bounds	0, 0, 1023, 767
	comp	splashground
END

BEGIN CommandWidget
	name	splashwidgetinfo
#	active	true
	xbounds	-1,-1,1,1
	cmdid	6003
END
