screen Store
{
	onaction escape "event BackFromStore" 
	defaultwidget returntomainmenu

//=========================== 		 ==========================	
//===========================   MAIN	 ==========================	
//=========================== 		 ==========================	

	widget Button Background
	{
		mins 0,0
		size 800,600

		texture "data/gfx/ui/store/store_bg"
	}

	widget EffectEmitter bg_effects
	{
		mins 0, 0
	
		effectName "store_background_01"
		StartOn
	}

	widget Button Foreground
	{
		mins 0,0
		size 800,600

		texture "data/gfx/ui/store/store_fg"
	}

	widget EffectEmitter fg_effects
	{
		mins 0, 0
	
		effectName "store_foreground_01"
		StartOn
	}



//=========================== 		 ==========================	
//===========================   POWERUPS ==========================	
//=========================== 		 ==========================	


//=========================== REVERSE ==========================	

	widget Button ReverseSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade Reverse; event toPurchase; pushdialog PurchaseSelectInfo; event HideReverseStoreEffect"
		onaction hoverOn 	"event ShowReverseStoreEffect; event SelectWidgetUpgrade Reverse; selectwidget ReverseSelect" 
		onaction hoverOff 	"event HideReverseStoreEffect" 
		
		onaction gainfocus 	"event ShowReverseStoreEffect; event SelectWidgetUpgrade Reverse; selectwidget ReverseSelect" 
		onaction losefocus 	"event HideReverseStoreEffect" 
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeReverse"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
	
		mins 265, 180
		size 70, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter ReverseSelectEmitter
	{
		mins 302, 213


		effectName 		"Store_hover_reverse_01"				
		EventToStartEffectsOn 	"ShowReverseStoreEffect"
		EventToStopEffectsOn 	"HideReverseStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowReverseStoreEffect"
		eventToHideOn	"HideReverseStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpReverse"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowReverseStoreEffect"
		eventToHideOn	"HideReverseStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowReverseStoreEffect"
		eventToHideOn	"HideReverseStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowReverseStoreEffect"
		eventToHideOn	"HideReverseStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== STOP ==========================	

	widget Button StopSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade Stop; event toPurchase; pushdialog PurchaseSelectInfo; event HideStopStoreEffect"
		onaction hoverOn 	"event ShowStopStoreEffect; event SelectWidgetUpgrade Stop; selectwidget StopSelect" 
		onaction hoverOff 	"event HideStopStoreEffect" 
		
		onaction gainfocus 	"event ShowStopStoreEffect; event SelectWidgetUpgrade Stop; selectwidget StopSelect" 
		onaction losefocus 	"event HideStopStoreEffect" 
	
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeStop"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
			
		mins 44, 264
		size 70, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter StopSelectEmitter
	{
		mins 79, 296


		effectName 		"Store_hover_stop_01"				
		EventToStartEffectsOn 	"ShowStopStoreEffect"
		EventToStopEffectsOn 	"HideStopStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowStopStoreEffect"
		eventToHideOn	"HideStopStoreEffect"

		mins 600, 150
		size 180, 50
	
		text "#UpStop"
		style "DisplayText28"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowStopStoreEffect"
		eventToHideOn	"HideStopStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowStopStoreEffect"
		eventToHideOn	"HideStopStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowStopStoreEffect"
		eventToHideOn	"HideStopStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35
		
		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== SLOW ==========================	
	
	widget Button SlowSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade Slow; event toPurchase; pushdialog PurchaseSelectInfo; event HideSlowStoreEffect"
		onaction hoverOn 	"event ShowSlowStoreEffect; event SelectWidgetUpgrade Slow; selectwidget SlowSelect" 
		onaction hoverOff 	"event HideSlowStoreEffect" 
		
		onaction gainfocus 	"event ShowSlowStoreEffect; event SelectWidgetUpgrade Slow; selectwidget SlowSelect" 
		onaction losefocus 	"event HideSlowStoreEffect" 
		
		onaction leftarrow "selectwidget LightningBoltSelect"
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeSlow"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
			
		mins 37, 169
		size 70, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter SlowSelectEmitter
	{
		mins 74, 201


		effectName 		"Store_hover_slow_01"				
		EventToStartEffectsOn 	"ShowSlowStoreEffect"
		EventToStopEffectsOn 	"HideSlowStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowSlowStoreEffect"
		eventToHideOn	"HideSlowStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpSlow"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
		
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowSlowStoreEffect"
		eventToHideOn	"HideSlowStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowSlowStoreEffect"
		eventToHideOn	"HideSlowStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowSlowStoreEffect"
		eventToHideOn	"HideSlowStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== FIREBALL ==========================	

	widget Button FireballSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade Fireball; event toPurchase; pushdialog PurchaseSelectInfo; event HideFireballStoreEffect"
		onaction hoverOn 	"event ShowFireballStoreEffect; event SelectWidgetUpgrade Fireball; selectwidget FireballSelect" 
		onaction hoverOff 	"event HideFireballStoreEffect" 
		
		onaction gainfocus 	"event ShowFireballStoreEffect; event SelectWidgetUpgrade Fireball; selectwidget FireballSelect" 
		onaction losefocus 	"event HideFireballStoreEffect" 	
		
		onaction uparrow "selectwidget FireballSelect"	

		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeFireball"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
	
		mins 159, 78
		size 70, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter FireballSelectEmitter
	{
		mins 196, 114


		effectName 		"Store_hover_fireball_01"				
		EventToStartEffectsOn 	"ShowFireballStoreEffect"
		EventToStopEffectsOn 	"HideFireballStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowFireballStoreEffect"
		eventToHideOn	"HideFireballStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpFireball"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowFireballStoreEffect"
		eventToHideOn	"HideFireballStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowFireballStoreEffect"
		eventToHideOn	"HideFireballStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowFireballStoreEffect"
		eventToHideOn	"HideFireballStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

	
//=========================== SPEED SHOT ==========================	

	widget Button SpeedshotSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade Speedshot; event toPurchase; pushdialog PurchaseSelectInfo; event HideSpeedshotStoreEffect" 
		onaction hoverOn 	"event ShowSpeedshotStoreEffect; event SelectWidgetUpgrade Speedshot; selectwidget SpeedshotSelect" 
		onaction hoverOff 	"event HideSpeedshotStoreEffect" 
		
		onaction gainfocus 	"event ShowSpeedshotStoreEffect; event SelectWidgetUpgrade Speedshot; selectwidget SpeedshotSelect" 
		onaction losefocus 	"event HideSpeedshotStoreEffect"
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeSpeedshot"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
		
		mins 154, 175
		size 70, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter SpeedshotSelectEmitter
	{
		mins 191, 208


		effectName 		"Store_hover_Speedshot_01"				
		EventToStartEffectsOn 	"ShowSpeedshotStoreEffect"
		EventToStopEffectsOn 	"HideSpeedshotStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowSpeedshotStoreEffect"
		eventToHideOn	"HideSpeedshotStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpSpeedShot"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowSpeedshotStoreEffect"
		eventToHideOn	"HideSpeedshotStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowSpeedshotStoreEffect"
		eventToHideOn	"HideSpeedshotStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowSpeedshotStoreEffect"
		eventToHideOn	"HideSpeedshotStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== MATCH HIGHLIGHTER ==========================	
	
	widget Button HighlightSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade Matchhighlighter; event toPurchase; pushdialog PurchaseSelectInfo; event HideMatchHighlighterStoreEffect"
		onaction hoverOn 	"event ShowMatchHighlighterStoreEffect; event SelectWidgetUpgrade Matchhighlighter; selectwidget HighlightSelect" 
		onaction hoverOff 	"event HideMatchHighlighterStoreEffect" 
		
		onaction gainfocus 	"event ShowMatchHighlighterStoreEffect; event SelectWidgetUpgrade Matchhighlighter; selectwidget HighlightSelect" 
		onaction losefocus 	"event HideMatchHighlighterStoreEffect" 
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeMatchHighlighter"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
		
		mins 89, 361
		size 70, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget Button HighlighterLocked
	{
		onaction hoverOn 	"event displayHighlightertext; selectwidget HighlighterLocked; event showMatchHighLighterLockRollover"
		onaction hoverOff 	"event HideMatchHighlighterStoreEffect; event hideMatchHighLighterLockRollover" 
		
		onaction gainfocus 	"event displayHighlightertext; selectwidget HighlighterLocked; event showMatchHighLighterLockRollover"
		onaction losefocus 	"event HideMatchHighlighterStoreEffect; event hideMatchHighLighterLockRollover" 
		
		EventToHideOn 	"ShowPowerupUpgradeMatchHighlighter"
		EventToShowOn 	"ResetPowerupUpgradeScreen"
	
		mins 89, 361
		size 79, 98
		texture "data/gfx/ui/store/Lock_01"
		style "SoundOnly"
	}
	
	widget EffectEmitter MatchHighlighterlockedRollover
	{
		mins 122, 397


		effectName 		"lock_rollover"				
		EventToStartEffectsOn 	"showMatchHighLighterLockRollover"
		EventToStopEffectsOn 	"hideMatchHighLighterLockRollover"
		
		EventToHideOn 	"ShowPowerupUpgradeMatchHighlighter"
		EventToShowOn 	"ResetPowerupUpgradeScreen"

	}


	widget Label HighlighterLockedText
	{
		hidden
		eventToShowOn	"displayHighlightertext"
		eventToHideOn	"HideMatchHighlighterStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 600, 220
		size 180, 35

		text "#Locked"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02Red"
	}
	
	widget EffectEmitter MatchHighlighterSelectEmitter
	{
		mins 124, 396


		effectName 		"Store_hover_MatchHighlighter_01"				
		EventToStartEffectsOn 	"ShowMatchHighlighterStoreEffect"
		EventToStopEffectsOn 	"HideMatchHighlighterStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowMatchHighlighterStoreEffect"
		eventToHideOn	"HideMatchHighlighterStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpMatchHighlighter"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"displayHighlightertext"
		eventToHideOn	"HideMatchHighlighterStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpMatchHighlighter"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowMatchHighlighterStoreEffect"
		eventToHideOn	"HideMatchHighlighterStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowMatchHighlighterStoreEffect"
		eventToHideOn	"HideMatchHighlighterStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowMatchHighlighterStoreEffect"
		eventToHideOn	"HideMatchHighlighterStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== COLOR CLOUD ==========================	

	widget Button ColorcloudSelect
	{
		text " " 
		onaction enter 		"event SelectWidgetUpgrade ColorCloud; event toPurchase; pushdialog PurchaseSelectInfo; event HideColorCloudStoreEffect" 
		onaction hoverOn 	"event ShowColorCloudStoreEffect; event SelectWidgetUpgrade ColorCloud; selectwidget ColorcloudSelect" 
		onaction hoverOff 	"event HideColorCloudStoreEffect" 
		
		onaction gainfocus 	"event ShowColorCloudStoreEffect; event SelectWidgetUpgrade ColorCloud; selectwidget ColorcloudSelect" 
		onaction losefocus 	"event HideColorCloudStoreEffect"		

		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeColorCloud"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
		
		mins 160, 268
		size 70, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget Button ColorCloudLocked
	{
		onaction hoverOn 	"event displayCloudtext; selectwidget ColorCloudLocked; event showColorCloudLockRollover"
		onaction hoverOff 	"event HideColorCloudStoreEffect; event hideColorCloudLockRollover" 
		
		onaction gainfocus 	"event displayCloudtext; selectwidget ColorCloudLocked; event showColorCloudLockRollover"
		onaction losefocus 	"event HideColorCloudStoreEffect; event hideColorCloudLockRollover" 
		
		EventToHideOn 	"ShowPowerupUpgradeColorCloud"
		EventToShowOn 	"ResetPowerupUpgradeScreen"
	
		mins 158, 260
		size 79, 98
		texture "data/gfx/ui/store/Lock_01"
		style "SoundOnly"
	}

	widget EffectEmitter MatchHighlighterlockedRollover
	{
		mins 194, 296


		effectName 		"lock_rollover"				
		EventToStartEffectsOn 	"showColorCloudLockRollover"
		EventToStopEffectsOn 	"hideColorCloudLockRollover"
		
		EventToHideOn 	"ShowPowerupUpgradeColorCloud"
		EventToShowOn 	"ResetPowerupUpgradeScreen"

	}
	

	widget Label ColorCloudLockedText
	{
		hidden
		eventToShowOn	"displayCloudtext"
		eventToHideOn	"HideColorCloudStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 600, 220
		size 180, 35

		text "#Locked"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02Red"
	}
	
	widget EffectEmitter ColorCloudSelectEmitter
	{
		mins 194, 296

		effectName 		"Store_hover_colorcloud_01"				
		EventToStartEffectsOn 	"ShowColorCloudStoreEffect"
		EventToStopEffectsOn 	"HideColorCloudStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowColorCloudStoreEffect"
		eventToHideOn	"HideColorCloudStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpColorCloud"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget label description_next_locked
	{
		hidden
		eventToShowOn	"displayCloudtext"
		eventToHideOn	"HideColorCloudStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpColorCloud"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}
	
	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowColorCloudStoreEffect"
		eventToHideOn	"HideColorCloudStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowColorCloudStoreEffect"
		eventToHideOn	"HideColorCloudStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowColorCloudStoreEffect"
		eventToHideOn	"HideColorCloudStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}
	
//=========================== LIGHTNING BOLT ==========================

	widget Button LightningBoltSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade lightningbolt; event toPurchase; pushdialog PurchaseSelectInfo; event HideLightningStoreEffect" 
		onaction hoverOn 	"event ShowLightningStoreEffect; event SelectWidgetUpgrade lightningbolt; selectwidget LightningBoltSelect" 
		onaction hoverOff 	"event HideLightningStoreEffect" 
		
		onaction gainfocus 	"event ShowLightningStoreEffect; event SelectWidgetUpgrade lightningbolt; selectwidget LightningBoltSelect" 
		onaction losefocus 	"event HideLightningStoreEffect" 
		
		onaction leftarrow "selectwidget LightningBoltSelect"
		onaction uparrow "selectwidget LightningBoltSelect"
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeLightningBolt"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
		
		mins 42, 66
		size 70, 64
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter LightningBoltSelectEmitter
	{
		mins 77, 98


		effectName 		"Store_hover_lightning_01"				
		EventToStartEffectsOn 	"ShowLightningStoreEffect"
		EventToStopEffectsOn 	"HideLightningStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowLightningStoreEffect"
		eventToHideOn	"HideLightningStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpLightningBolt"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowLightningStoreEffect"
		eventToHideOn	"HideLightningStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowLightningStoreEffect"
		eventToHideOn	"HideLightningStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowLightningStoreEffect"
		eventToHideOn	"HideLightningStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== NET ==========================	
	
	widget Button NetSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade net; event toPurchase; pushdialog PurchaseSelectInfo; event HideNetStoreEffect" 
		onaction hoverOn 	"event ShowNetStoreEffect; event SelectWidgetUpgrade net; selectwidget NetSelect" 
		onaction hoverOff 	"event HideNetStoreEffect" 
		
		onaction gainfocus 	"event ShowNetStoreEffect; event SelectWidgetUpgrade net; selectwidget NetSelect" 
		onaction losefocus 	"event HideNetStoreEffect" 
		
		onaction uparrow "selectwidget NetSelect"	
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeNet"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
		
		mins 260, 98
		size 70, 64
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter NetSelectEmitter
	{
		mins 296, 130


		effectName 		"Store_hover_net_01"				
		EventToStartEffectsOn 	"ShowNetStoreEffect"
		EventToStopEffectsOn 	"HideNetStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowNetStoreEffect"
		eventToHideOn	"HideNetStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpNet"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowNetStoreEffect"
		eventToHideOn	"HideNetStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowNetStoreEffect"
		eventToHideOn	"HideNetStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowNetStoreEffect"
		eventToHideOn	"HideNetStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== SCORPION ==========================	
	
	widget Button ScorpionSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade scorpion; event toPurchase; pushdialog PurchaseSelectInfo; event HideScorpionStoreEffect" 
		onaction hoverOn 	"event ShowScorpionStoreEffect; event SelectWidgetUpgrade scorpion; selectwidget ScorpionSelect" 
		onaction hoverOff 	"event HideScorpionStoreEffect" 
		
		onaction gainfocus 	"event ShowScorpionStoreEffect; event SelectWidgetUpgrade scorpion; selectwidget ScorpionSelect" 
		onaction losefocus 	"event HideScorpionStoreEffect" 
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeScorpion"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
		
		mins 266, 262
		size 70, 64
		color 255,255,255,0
		style "SoundOnly"
	}

	widget Button ScorpionLocked
	{
		onaction hoverOn 	"event displayscorpiontext; selectwidget ScorpionLocked; event showScorpionLockRollover"
		onaction hoverOff 	"event HideScorpionStoreEffect; event hideScorpionLockRollover" 
		
		onaction gainfocus 	"event displayscorpiontext; selectwidget ScorpionLocked; event showScorpionLockRollover"
		onaction losefocus 	"event HideScorpionStoreEffect; event hideScorpionLockRollover"
		
		EventToHideOn 	"ShowPowerupUpgradeScorpion"
		EventToShowOn	"ResetPowerupUpgradeScreen"
	
		mins 266, 260
		size 79, 98
		texture "data/gfx/ui/store/Lock_01"
		style "SoundOnly"
	}

	widget EffectEmitter ScorpionlockedRollover
	{
		mins 302, 296


		effectName 		"lock_rollover"				
		EventToStartEffectsOn 	"showScorpionLockRollover"
		EventToStopEffectsOn 	"hideScorpionLockRollover"
		
		EventToHideOn 	"ShowPowerupUpgradeMatchHighlighter"
		EventToShowOn 	"ResetPowerupUpgradeScreen"

	}

	widget Label ScorpionLockedText
	{
		hidden
		eventToShowOn	"displayscorpiontext"
		eventToHideOn	"HideScorpionStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 600, 220
		size 180, 35

		text "#Locked"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02Red"
	}
	
	widget EffectEmitter ScorpionSelectEmitter
	{
		mins 302, 296


		effectName 		"Store_hover_scorpion_01"				
		EventToStartEffectsOn 	"ShowScorpionStoreEffect"
		EventToStopEffectsOn 	"HideScorpionStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowScorpionStoreEffect"
		eventToShowOn	"displayscorpiontext"
		eventToHideOn	"HideScorpionStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpScorpion"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowScorpionStoreEffect"
		eventToHideOn	"HideScorpionStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowScorpionStoreEffect"
		eventToHideOn	"HideScorpionStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowScorpionStoreEffect"
		eventToHideOn	"HideScorpionStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}


//=========================== TRAINBLOCKER ==========================	
	
	widget Button TrainBlockerSelect
	{
		text " "
		onaction enter 		"event SelectWidgetUpgrade trainblocker; event toPurchase; pushdialog PurchaseSelectInfo; event HideTrainBlockerStoreEffect" 
		onaction hoverOn 	"event ShowTrainBlockerStoreEffect; event SelectWidgetUpgrade trainblocker; selectwidget TrainBlockerSelect" 
		onaction hoverOff 	"event HideTrainBlockerStoreEffect" 
		
		onaction gainfocus 	"event ShowTrainBlockerStoreEffect; event SelectWidgetUpgrade trainblocker; selectwidget TrainBlockerSelect" 
		onaction losefocus 	"event HideTrainBlockerStoreEffect"
		
		disabled
		
		EventToEnableOn 	"ShowPowerupUpgradeTrainBlocker"
		EventToDisableOn 	"ResetPowerupUpgradeScreen"
		
		mins 219, 351
		size 70, 64
		color 255,255,255,0
		style "SoundOnly"
	}

	widget Button TrainBlockerLocked
	{
		onaction hoverOn 	"event displayBlockertext; selectwidget TrainBlockerLocked; event showTrainBlockerLockRollover"
		onaction hoverOff 	"event HideTrainBlockerStoreEffect; event hideTrainBlockerLockRollover" 
		
		onaction gainfocus 	"event displayBlockertext; selectwidget TrainBlockerLocked; event showTrainBlockerLockRollover"
		onaction losefocus 	"event HideTrainBlockerStoreEffect; event hideTrainBlockerLockRollover" 
		
		EventToHideOn 	"ShowPowerupUpgradeTrainBlocker"
		EventToShowOn 	"ResetPowerupUpgradeScreen"
	
		mins 219, 351
		size 79, 98
		texture "data/gfx/ui/store/Lock_01"
		style "SoundOnly"
	}

	widget EffectEmitter TrainBlockerlockedRollover
	{
		mins 258, 386


		effectName 		"lock_rollover"				
		EventToStartEffectsOn 	"showTrainBlockerLockRollover"
		EventToStopEffectsOn 	"hideTrainBlockerLockRollover"
		
		EventToHideOn 	"ShowPowerupUpgradeTrainBlocker"
		EventToShowOn 	"ResetPowerupUpgradeScreen"

	}

	widget Label TrainBlockerLockedText
	{
		hidden
		eventToShowOn	"displayBlockertext"
		eventToHideOn	"HideTrainBlockerStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 600, 240
		size 180, 35

		text "#Locked"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02Red"
	}
	
	widget EffectEmitter TrainBlockerSelectEmitter
	{
		mins 258, 386


		effectName 		"Store_hover_TrainBlocker_01"				
		EventToStartEffectsOn 	"ShowTrainBlockerStoreEffect"
		EventToStopEffectsOn 	"HideTrainBlockerStoreEffect"
	}


	widget label description_next
	{
		hidden
		eventToShowOn	"ShowTrainBlockerStoreEffect"
		eventToShowOn	"displayBlockertext"
		eventToHideOn	"HideTrainBlockerStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#UpTrainBlocker"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentPowerupUpgradeCost
	{
		hidden
		eventToShowOn	"ShowTrainBlockerStoreEffect"
		eventToHideOn	"HideTrainBlockerStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowTrainBlockerStoreEffect"
		eventToHideOn	"HideTrainBlockerStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeValue
	{
		hidden
		eventToShowOn	"ShowTrainBlockerStoreEffect"
		eventToHideOn	"HideTrainBlockerStoreEffect"
		eventToHideOn	"PowerupIsAtMaxLevel"
		
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 675, 240
		size 60, 35
		
		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//------------------------------ COMMON HOVER FOR ALL POWERUPS --------------------------
	
	widget Label CurrentPowerupUpgradeMax
	{
		hidden
		eventToShowOn	"PowerupIsAtMaxLevel"
		eventToHideOn	"HideFireballStoreEffect"
		eventToHideOn	"HideSpeedshotStoreEffect"
		eventToHideOn	"HideStopStoreEffect"
		eventToHideOn	"HideReverseStoreEffect"
		eventToHideOn	"HideSlowStoreEffect"
		eventToHideOn	"HideMatchHighlighterStoreEffect"
		eventToHideOn	"HideColorCloudStoreEffect"
		eventToHideOn	"HideLightningStoreEffect"
		eventToHideOn	"HideNetStoreEffect"
		eventToHideOn	"HideScorpionStoreEffect"
		eventToHideOn	"HideTrainBlockerStoreEffect"

		mins 600, 220
		size 180, 35

		text "#FullyUpgraded"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02Red"
	}
	
	
//=========================== 		 ==========================	
//===========================   BALLS	 ==========================	
//=========================== 		 ==========================	


//=========================== NORMAL BALLS ==========================	

	widget Button NormalBallsSelect
	{
		text " "
		onaction enter 		"event SelectBallSetForPurchase normal; event toPurchase; pushdialog BallSetInfo; event HideNormalBallsStoreEffect; event NormalBallsSelected" 
		onaction hoverOn 	"event ShowNormalBallsStoreEffect; event SelectBallSetForPurchase normal; selectwidget NormalBallsSelect" 
		onaction hoverOff 	"event HideNormalBallsStoreEffect" 
		
		onaction gainfocus 	"event ShowNormalBallsStoreEffect; event SelectBallSetForPurchase normal; selectwidget NormalBallsSelect" 
		onaction losefocus 	"event HideNormalBallsStoreEffect" 
		
		onaction leftarrow "selectwidget WoodenBallsSelect"
		onaction uparrow "selectwidget GlassBallsSelect"
//		onaction rightarrow "selectwidget GlassBallsSelect"
//		onaction downarrow "selectwidget NormalBallsSelect"

		mins 487, 463
		size 200, 75
		color 255,255,255,0
		style "SoundOnly"
	}


	widget EffectEmitter NormalBallsSelectEmitter
	{
		mins 584, 504


		effectName 		"Store_hover_balls_normal_01"				
		EventToStartEffectsOn 	"ShowNormalBallsStoreEffect"
		EventToStopEffectsOn 	"HideNormalBallsStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowNormalBallsStoreEffect"
		eventToHideOn	"HideNormalBallsStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#NormalBalls"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}


//=========================== GLASS BALLS ==========================	
	
	widget Button GlassBallsSelect
	{
		text " "
		onaction enter 		"event SelectBallSetForPurchase glass; event toPurchase; pushdialog BallSetInfo; event HideGlassBallsStoreEffect; event GlassBallsSelected"
		onaction hoverOn 	"event ShowGlassBallsStoreEffect; event SelectBallSetForPurchase glass; selectwidget GlassBallsSelect" 
		onaction hoverOff 	"event HideGlassBallsStoreEffect" 
		
		onaction gainfocus 	"event ShowGlassBallsStoreEffect; event SelectBallSetForPurchase glass; selectwidget GlassBallsSelect" 
		onaction losefocus 	"event HideGlassBallsStoreEffect" 
		
		onaction leftarrow "selectwidget TrainBlockerSelect"
		onaction uparrow "selectwidget ParticleBallsSelect"
		onaction rightarrow "selectwidget GlassBallsSelect"
		onaction downarrow "selectwidget NormalBallsSelect"

		mins 486, 388
		size 141, 74
		color 255,255,255,0
		style "SoundOnly"
	}


	widget EffectEmitter GlassBallsSelectEmitter
	{
		mins 557, 426


		effectName 		"Store_hover_balls_glass_01"				
		EventToStartEffectsOn 	"ShowGlassBallsStoreEffect"
		EventToStopEffectsOn 	"HideGlassBallsStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowGlassBallsStoreEffect"
		eventToHideOn	"HideGlassBallsStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#GlassBalls"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentItemUpgradeCost
	{
		hidden
		eventToShowOn	"ShowGlassBallsStoreEffect"
		eventToHideOn	"HideGlassBallsStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowGlassBallsStoreEffect"
		eventToHideOn	"HideGlassBallsStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentItemUpgradeValue
	{
		hidden
		eventToShowOn	"ShowGlassBallsStoreEffect"
		eventToHideOn	"HideGlassBallsStoreEffect"

		EventToPopulateFrom "UIDisplayItemCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}
	
	widget Label CurrentItemOwned
	{
		hidden
		eventToShowOn	"UISetItemIsInUse"
		eventToHideOn	"HideGlassBallsStoreEffect"
		eventToHideOn	"HideNormalBallsStoreEffect"
		eventToHideOn 	"HideWoodenBallsStoreEffect"
		eventToHideOn	"HideEnergyBallsStoreEffect"
		eventToHideOn	"HideShooterScifiStoreEffect"
		eventToHideOn	"HideShooterExtremeStoreEffect"
		eventToHideOn	"HideShooterNormalStoreEffect"


		mins 600, 200
		size 180, 40

		text "#InUse"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02Green"
	}
	
	widget Label CurrentItemInUse
	{
		hidden
		eventToShowOn	"UISetItemIsOwned"
		eventToHideOn	"HideGlassBallsStoreEffect"
		eventToHideOn	"HideNormalBallsStoreEffect"
		eventToHideOn 	"HideWoodenBallsStoreEffect"
		eventToHideOn	"HideEnergyBallsStoreEffect"
		eventToHideOn	"HideShooterScifiStoreEffect"
		eventToHideOn	"HideShooterExtremeStoreEffect"
		eventToHideOn	"HideShooterNormalStoreEffect"


		mins 600, 220
		size 180, 35

		text "#Purchased"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02Green"
	}

//=========================== WOODEN BALLS ==========================	
	
	widget Button WoodenBallsSelect
	{
		text " "
		onaction enter 		"event SelectBallSetForPurchase wooden; event toPurchase; pushdialog BallSetInfo; event HideWoodenBallsStoreEffect; event WoodenBallsSelected" 
		onaction hoverOn 	"event ShowWoodenBallsStoreEffect; event SelectBallSetForPurchase wooden; selectwidget WoodenBallsSelect" 
		onaction hoverOff 	"event HideWoodenBallsStoreEffect" 
		
		onaction gainfocus 	"event ShowWoodenBallsStoreEffect; event SelectBallSetForPurchase wooden; selectwidget WoodenBallsSelect" 
		onaction losefocus 	"event HideWoodenBallsStoreEffect" 
		
		onaction leftarrow "selectwidget TrainBlockerSelect"
		onaction uparrow "selectwidget TrainBlockerSelect"
		onaction rightarrow "selectwidget NormalBallsSelect"
		onaction downarrow "selectwidget WoodenBallsSelect"
		
		mins 313, 465
		size 161, 79
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter WoodenBallsSelectEmitter
	{
		mins 395, 505


		effectName 		"Store_hover_balls_wooden_01"				
		EventToStartEffectsOn 	"ShowWoodenBallsStoreEffect"
		EventToStopEffectsOn 	"HideWoodenBallsStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowWoodenBallsStoreEffect"
		eventToHideOn	"HideWoodenBallsStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#WoodenBalls"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentItemUpgradeCost
	{
		hidden
		eventToShowOn	"ShowWoodenBallsStoreEffect"
		eventToHideOn	"HideWoodenBallsStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"

		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowWoodenBallsStoreEffect"
		eventToHideOn	"HideWoodenBallsStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentItemUpgradeValue
	{
		hidden
		eventToShowOn	"ShowWoodenBallsStoreEffect"
		eventToHideOn	"HideWoodenBallsStoreEffect"

		EventToPopulateFrom "UIDisplayItemCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== ENERGY BALLS (PARTICLE) ==========================	

	widget Button ParticleBallsSelect
	{
		text " "
		onaction enter 		"event SelectBallSetForPurchase energy; event toPurchase; pushdialog BallSetInfo; event HideEnergyBallsStoreEffect; event EnergyBallsSelected" 
		onaction hoverOn 	"event ShowEnergyBallsStoreEffect; event SelectBallSetForPurchase energy; selectwidget ParticleBallsSelect" 
		onaction hoverOff 	"event HideEnergyBallsStoreEffect" 
		
		onaction gainfocus 	"event ShowEnergyBallsStoreEffect; event SelectBallSetForPurchase energy; selectwidget ParticleBallsSelect" 
		onaction losefocus 	"event HideEnergyBallsStoreEffect" 
		
		onaction leftarrow "selectwidget NormalShooterSelect"
		onaction uparrow "selectwidget NormalShooterSelect"
		onaction rightarrow "selectwidget ParticleBallsSelect"
		onaction downarrow "selectwidget GlassBallsSelect"
		
		mins 523, 307
		size 108, 70
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter EnergyBallsSelectEmitter
	{
		mins 577, 341


		effectName 		"Store_hover_balls_energy_01"				
		EventToStartEffectsOn 	"ShowEnergyBallsStoreEffect"
		EventToStopEffectsOn 	"HideEnergyBallsStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowEnergyBallsStoreEffect"
		eventToHideOn	"HideEnergyBallsStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#ParticleBalls"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentItemUpgradeCost
	{
		hidden
		eventToShowOn	"ShowEnergyBallsStoreEffect"
		eventToHideOn	"HideEnergyBallsStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"


		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowEnergyBallsStoreEffect"
		eventToHideOn	"HideEnergyBallsStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentItemUpgradeValue
	{
		hidden
		eventToShowOn	"ShowEnergyBallsStoreEffect"
		eventToHideOn	"HideEnergyBallsStoreEffect"

		EventToPopulateFrom "UIDisplayItemCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== 		 	==========================	
//===========================   SHOOTERS	==========================	
//=========================== 		 	==========================	



//=========================== SCI FI SHOOTER ==========================
	
	widget Button SciFiShooterSelect
	{
		text " "
		onaction enter 		"event SelectShooterForPurchase Futuristic; event toPurchase; pushdialog ShooterInfo; event HideShooterScifiStoreEffect; event SciFiShooterSelected" 
		onaction hoverOn 	"event ShowShooterScifiStoreEffect; event SelectShooterForPurchase Futuristic; selectwidget SciFiShooterSelect" 
		onaction hoverOff 	"event HideShooterScifiStoreEffect" 
		
		onaction gainfocus 	"event ShowShooterScifiStoreEffect; event SelectShooterForPurchase Futuristic; selectwidget SciFiShooterSelect" 
		onaction losefocus 	"event HideShooterScifiStoreEffect" 
		
		onaction uparrow "selectwidget SciFiShooterSelect"
		onaction rightarrow "selectwidget SciFiShooterSelect"
		
		mins 396, 108
		size 195, 64
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter ScifiShooterSelectEmitter
	{
		mins 502, 148


		effectName 		"Store_hover_shooter_scifi_01"				
		EventToStartEffectsOn 	"ShowShooterScifiStoreEffect"
		EventToStopEffectsOn 	"HideShooterScifiStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowShooterScifiStoreEffect"
		eventToHideOn	"HideShooterScifiStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#SciFiShooter"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentItemUpgradeCost
	{
		hidden
		eventToShowOn	"ShowShooterScifiStoreEffect"
		eventToHideOn	"HideShooterScifiStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"


		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowShooterScifiStoreEffect"
		eventToHideOn	"HideShooterScifiStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentItemUpgradeValue
	{
		hidden
		eventToShowOn	"ShowShooterScifiStoreEffect"
		eventToHideOn	"HideShooterScifiStoreEffect"

		EventToPopulateFrom "UIDisplayItemCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}

//=========================== EXTREME SHOOTER ==========================
	
	widget Button ExtremeShooterSelect
	{
		text " "
		onaction enter 		"event SelectShooterForPurchase extreme; event toPurchase; pushdialog ShooterInfo; event HideShooterExtremeStoreEffect; event ExtremeShooterSelected"
		onaction hoverOn 	"event ShowShooterExtremeStoreEffect; event SelectShooterForPurchase extreme; selectwidget ExtremeShooterSelect" 
		onaction hoverOff 	"event HideShooterExtremeStoreEffect"  
		
		onaction gainfocus 	"event ShowShooterExtremeStoreEffect; event SelectShooterForPurchase extreme; selectwidget ExtremeShooterSelect" 
		onaction losefocus 	"event HideShooterExtremeStoreEffect"  
		
		onaction rightarrow "selectwidget ExtremeShooterSelect"
		
		mins 406, 200
		size 165, 52
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter ExtremeShooterSelectEmitter
	{
		mins 495, 241


		effectName 		"Store_hover_shooter_extreme_01"				
		EventToStartEffectsOn 	"ShowShooterExtremeStoreEffect"
		EventToStopEffectsOn 	"HideShooterExtremeStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowShooterExtremeStoreEffect"
		eventToHideOn	"HideShooterExtremeStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#ExtremeShooter"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}

	widget Label CurrentItemUpgradeCost
	{
		hidden
		eventToShowOn	"ShowShooterExtremeStoreEffect"
		eventToHideOn	"HideShooterExtremeStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"


		mins 580, 240
		size 90, 35

		text "#Cost"
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText32"
	}
	
	widget Label AnkhCoinImageBoard
	{
		hidden
		eventToShowOn	"ShowShooterExtremeStoreEffect"
		eventToHideOn	"HideShooterExtremeStoreEffect"
		EventToHideOn 	"UISetItemIsOwned"
		EventToHideOn	"UISetItemIsInUse"
		
		mins 740, 246
		size 20, 20
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentItemUpgradeValue
	{
		hidden
		eventToShowOn	"ShowShooterExtremeStoreEffect"
		eventToHideOn	"HideShooterExtremeStoreEffect"

		EventToPopulateFrom "UIDisplayItemCost"
		
		mins 675, 240
		size 60, 35

		text ""
		textAlignment "right"
		textVerticalAlignment "top"
		wordWrap
		style "BannerText02"
	}


//=========================== NORMAL SHOOTER ==========================

	widget Button NormalShooterSelect
	{
		text " "
		onaction enter 		"event SelectShooterForPurchase normal; event toPurchase; pushdialog ShooterInfo; event HideShooterNormalStoreEffect; event NormalShooterSelected"
		onaction hoverOn 	"event ShowShooterNormalStoreEffect; event SelectShooterForPurchase normal; selectwidget NormalShooterSelect" 
		onaction hoverOff 	"event HideShooterNormalStoreEffect" 
		
		onaction gainfocus 	"event ShowShooterNormalStoreEffect; event SelectShooterForPurchase normal; selectwidget NormalShooterSelect" 
		onaction losefocus 	"event HideShooterNormalStoreEffect" 
		
		onaction rightarrow "selectwidget ParticleBallsSelect"
		onaction downarrow "selectwidget ParticleBallsSelect"

		mins 410, 292
		size 114, 52
		color 255,255,255,0
		style "SoundOnly"
	}

	widget EffectEmitter NormalShooterSelectEmitter
	{
		mins 504, 321


		effectName 		"Store_hover_shooter_normal_01"				
		EventToStartEffectsOn 	"ShowShooterNormalStoreEffect"
		EventToStopEffectsOn 	"HideShooterNormalStoreEffect"
	}

	widget label description_next
	{
		hidden
		eventToShowOn	"ShowShooterNormalStoreEffect"
		eventToHideOn	"HideShooterNormalStoreEffect"

		mins 600, 150
		size 180, 50
		
		text "#NormalShooter"
		textAlignment "center"
		textVerticalAlignment "top"
		wordWrap
		style "DisplayText28"
	}


//=========================== 		 	==========================	
//===========================   THE REST	==========================	
//=========================== 		 	==========================	

		

	widget Label AnkhCoinBkgd
	{

		mins 95, 525
		size 80, 43

		texture "data/gfx/UI/buttons/UI_help_button"
	}

	widget Label AnkhCoinImage
	{

		mins 118, 502
		size 32, 32

		Anim "AnkhCoin"
	}
	
	widget Label CurrentAnkhCoinCount
	{
		EventToPopulateFrom "UIDisplayAnkhCoinCount"

		mins 105, 532
		size 60, 30

		text ""
		textAlignment "center"
		textVerticalAlignment "top"
		style "DisplayText"
	}
	
	widget Button ReturnToMainMenu
	{
		onaction enter "SetScreenOutAnim Store Out_Left; SetScreenInAnim MainMenu In_Left; gotoscreen MainMenu"

		eventToHideOn "RequestingStoreFromEndOfLevelBreakdown"
		eventToHideOn "toPurchase"
		eventToShowOn "RequestingStoreFromMenu"
		
		eventToDisableOn "RequestingStoreFromEndOfLevelBreakdown"
		eventToEnableOn "RequestingStoreFromMenu"

		mins 660, 550
		size 65, 26

		text "#Back"
		textAlignment "center"
		style "Luxor2Style07"
		
		EventToExecuteActionOn "BackFromStore" 
	}


	widget Button ReturnToGame
	{
		onaction enter "SetScreenOutAnim Store Out; nextlevel DoorTransition"

		eventToShowOn "RequestingStoreFromEndOfLevelBreakdown"
		eventToHideOn "RequestingStoreFromMenu"
		eventToHideOn "toPurchase"
		
		eventToEnableOn "RequestingStoreFromEndOfLevelBreakdown"
		eventToDisableOn "RequestingStoreFromMenu"

		mins 546, 550
		size 164, 26

		text "#ReturnToGame"
		textVerticalAlignment "top"
		style "Luxor2Style03"
		
		EventToExecuteActionOn "BackFromStore" 
	}

	widget Button ShowReturnToMenu
	{
		disabled

		eventToenableOn "RequestingStoreFromMenu"
		eventToDisableOn "RequestingStoreFromEndOfLevelBreakdown"

		mins -1, -1
		size 1, 1
		text ""

		onaction enter "event RequestingStoreFromMenu"

		EventToExecuteActionOn "BackFromPurchase" 
	}

	widget Button ShowReturnToGame
	{
		disabled

		eventToEnableOn "RequestingStoreFromEndOfLevelBreakdown"
		eventToDisableOn "RequestingStoreFromMenu"

		mins -2, -2
		size 1, 1
		text ""

		onaction enter "event RequestingStoreFromEndOfLevelBreakdown"

		EventToExecuteActionOn "BackFromPurchase" 
	}
	
	animation In_Right
	{
		init screen				position=relative (-800,0)

		at 0 ms moveScreen				from relative (-800,0) to relative (0,0) over 1600 ms speed=Cosine
	}

	animation In
	{
		animHandoffTime 0

		init screen				position=relative (0,0)		
	}


	animation Out
	{
		animHandoffTime 0

		init screen				position=relative (0,0)		
	}

	animation Out_Left
	{
		animHandoffTime 0

		init screen				position=relative (0,0)		
		
		at 0 ms moveScreen				from relative (0,0) to relative (-800,0) over 1600 ms speed=Cosine
	}
}

//================================									=========================
//================================ 		POWERUP PURCHASE DIALOG		 =======================
//================================									=========================

screen PurchaseSelectInfo
{
	onaction escape "event BackFromPurchase; popdialog"

	widget Button background
	{
		
		mins 80,10
		size 640,540

		texture "data/gfx/ui/buying_background.png"
	}
	
	widget Label CurrentPowerupName
	{
		
		mins 255,50
		size 290,36

		textAlignment "center"
		textVerticalAlignment "top"
		style "DisplayText32"
		
		EventToPopulateFrom "UIDisplayPowerupName"
	}

	widget Label CurrentPowerupLevelBaseTexture
	{
		
		mins 155,215
		size 120,86

		textAlignment "center"
		style "DisplayText"
		
		EventToSetTextureFrom "UIDisplayPowerupLevelBaseTexture"
	}
	
	widget Label CurrentPowerupLevelUnderlay
	{
		mins 191,239
		size 48,48
		textAlignment "center"
		style "DisplayText"
		EventToSetTextureFrom "UIDisplayPowerupUnderlay"
	}
	
	widget Label CurrentPowerupIcon
	{
		mins 191,239
		size 48,48

		textAlignment "center"
		style "DisplayText"
		
		EventToSetTextureFrom "UIDisplayPowerupIcon"
	}

	widget Label NextPowerupLevelBaseTexture
	{
		EventToHideOn "UIHideNextPowerupUpgradeIcon"
		EventToShowOn "UIShowNextPowerupUpgradeIcon"
		
		mins 155,295
		size 120,86

		textAlignment "center"
		style "DisplayText"
		
		EventToSetTextureFrom "UIDisplayNextPowerupLevelBaseTexture"
	}

	widget Label NextPowerupLevelUnderlay
	{
		mins 191,318
		size 48,48
		textAlignment "center"
		style "DisplayText"
		EventToSetTextureFrom "UIDisplayPowerupUnderlay"
	}
	
	widget Label NextPowerupIcon
	{
		EventToHideOn "UIHideNextPowerupUpgradeIcon"
		EventToShowOn "UIShowNextPowerupUpgradeIcon"
		
		mins 191,318
		size 48,48

		textAlignment "center"
		style "DisplayText"
		
		EventToSetTextureFrom "UIDisplayPowerupIcon"
	}

	widget Label PowerupDescription
	{
		mins 184, 100
		size 432, 100

		text ""
		textVerticalAlignment "Top"	
		textAlignment "Center"
		wordWrap
		style "DisplayText"

		EventToPopulateFrom "UIDisplayPowerupDescription"
	}

	widget Label CurrentLevelTitle
	{
		
		mins 255, 235
		size 290, 30

		text "#CurrentUpgradeLevel"
		textAlignment "Center"
		style "DisplayText"
	}

	widget Label CurrentLevelDescription
	{
		
		mins 255, 260
		size 290, 30

		text ""
		textAlignment "Center"
		style "DisplayText03"
		
		EventToPopulateFrom "UIDisplayCurrentPowerupLevelDescription"
	}
	
	widget Label NextLevelTitle
	{
		EventToHideOn "PowerupIsAtMaxLevel"	
		EventToShowOn "PowerupCanBeUpgraded"	
	
		mins 255, 305
		size 290, 30

		text "#NextUpgradeLevel"
		textAlignment "Center"
		style "DisplayText"
	}

	widget Label NextLevelDescription
	{
				
		mins 255, 330
		size 290, 30

		text ""
		textAlignment "Center"
		style "DisplayText03"

		EventToPopulateFrom "UIDisplayNextPowerupLevelDescription"
	}
	
	widget Label Costlabel
	{
		mins 235, 370
		size 160, 36
	
		text "#Cost"
		textVerticalAlignment "Top"	
		textAlignment "right"
		style "DisplayText"
	}
	
	widget Label AnkhCoinImageLabel
	{
		EventToHideOn "PowerupIsAtMaxLevel"	
		EventToShowOn "PowerupCanBeUpgraded"
		
		mins 455, 375
		size 16, 16
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label CurrentPowerupUpgradeCost
	{
		EventToHideOn "PowerupIsAtMaxLevel"	
		EventToShowOn "PowerupCanBeUpgraded"
	
		EventToPopulateFrom "CurrentPowerupCost"
		
		mins 400, 370
		size 50, 30

		text ""
		textVerticalAlignment "Top"	
		textAlignment "right"
		style "DisplayText03"
	}

	widget Label AnkhCoinImage
	{

		mins 360, 400
		size 32, 32

		Anim "AnkhCoin"
	}
	
	widget Label CurrentAnkhCoinCount
	{
		EventToPopulateFrom "UIDisplayAnkhCoinCount"

		mins 400, 400
		size 50, 30

		text ""
		textAlignment "center"
		style "DisplayText"
	}
	
	widget Button PurchaseSelectedUpgrade
	{
		onaction enter "event UpgradeSelectedPowerup"
		
		disabled
		
		EventToDisableOn "DisablePurchaseUpgradeButton"
		EventToEnableOn "EnablePurchaseUpgradeButton"
		EventToHideOn "PowerupIsAtMaxLevel"	
		EventToShowOn "PowerupCanBeUpgraded"	
		
		onaction leftarrow "selectwidget Back"
		onaction uparrow "selectwidget Back"
		onaction downarrow "selectwidget Back"
		onaction rightarrow "selectwidget Back"
		onaction tabforward "selectwidget Back"
		onaction tabbackwards "selectwidget Back"

		mins 350, 450
		size 100, 26

		text "#Purchase"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
	}
	
	widget Button Back
	{
		onaction enter "event BackFromPurchase; popdialog"
		
		onaction leftarrow "selectwidget PurchaseSelectedUpgrade"
		onaction uparrow "selectwidget PurchaseSelectedUpgrade"
		onaction downarrow "selectwidget PurchaseSelectedUpgrade"
		onaction rightarrow "selectwidget PurchaseSelectedUpgrade"
		onaction tabforward "selectwidget PurchaseSelectedUpgrade"
		onaction tabbackwards "selectwidget PurchaseSelectedUpgrade"
		
		mins 350, 495
		size 100, 26

		text "#Back"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
	}
	
	animation In
	{
		init screen color=(255,255,255,0)
		at 0 ms colorScreen from (255,255,255,0) to (255,255,255,255) over 300ms speed=Cosine
	}
	
	animation Out
	{
		init screen color=(255,255,255,255)
		at 0 ms colorScreen from (255,255,255,255) to (255,255,255,0) over 300ms speed=Cosine
	}
}

//=========================== 					 ==========================	
//===========================   BALL SET PURCHASE SCREEN    ==========================	
//=========================== 					 ==========================	

screen BallSetInfo
{
	onaction escape "event BackFromPurchase; popdialog"

	widget Button background
	{
		
		mins 80,10
		size 640,640

		texture "data/gfx/ui/buying_background.png"
	}
	
	widget Label CurrentItemName
	{
		
		mins 255, 50
		size 290, 44

		textAlignment "center"
		textVerticalAlignment "top"
		style "DisplayText32"
		
		EventToPopulateFrom "UIDisplayItemName"
	}

	
	widget Label ItemDescription
	{
		
		mins 184, 100
		size 432, 100

		text ""
		textVerticalAlignment "Top"	
		textAlignment "Center"
		wordWrap
		style "DisplayText"

		EventToPopulateFrom "UIDisplayItemDescription"
	}

	//------------------display normal balls in window------------------
	
	widget Button BallBlueNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 256, 180
		size 32, 32
		
		texture "data/gfx/balls/blue/ball0022"
	}
	widget Button BallGreenNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 288, 180
		size 32, 32
		
		texture "data/gfx/balls/green/ball0022"
	}
	widget Button BallYellowNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 320, 180
		size 32, 32
		
		texture "data/gfx/balls/yellow/ball0022"
	}
	widget Button BallRedNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 352, 180
		size 32, 32
		
		texture "data/gfx/balls/red/ball0022"
	}
	widget Button BallPinkNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 384, 180
		size 32, 32
		
		texture "data/gfx/balls/pink/ball0022"
	}
	widget Button BallWhiteNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 416, 180
		size 32, 32
		
		texture "data/gfx/balls/white/ball0022"
	}
	widget Button BallBlackNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 448, 180
		size 32, 32
		
		texture "data/gfx/balls/black/ball0022"
	}
	widget Button BallTealNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 480, 180
		size 32, 32
		
		texture "data/gfx/balls/teal/ball0022"
	}
	widget Button BallOrangeNormal
	{	
		hidden
	
		EventToShowOn "NormalBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 512, 180
		size 32, 32
		
		texture "data/gfx/balls/orange/ball0022"
	}
	
	//------------------display Glass balls in window------------------
	
	widget Button BallBlueGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 256, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/blue/ball_0020"
	}
	widget Button BallGreenGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 288, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/green/ball_0020"
	}
	widget Button BallYellowGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 320, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/yellow/ball_0020"
	}
	widget Button BallRedGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 352, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/red/ball_0020"
	}
	widget Button BallPinkGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 384, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/pink/ball_0020"
	}
	widget Button BallWhiteGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 416, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/white/ball_0020"
	}
	widget Button BallBlackGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 448, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/black/ball_0020"
	}
	widget Button BallTealGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 480, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/teal/ball_0020"
	}
	widget Button BallOrangeGlass
	{	
		hidden
	
		EventToShowOn "GlassBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 512, 180
		size 32, 32
		
		texture "data/gfx/balls_glass/orange/ball_0020"
	}
	
	//------------------display Wooden balls in window------------------
	
	widget Button BallBlueWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 256, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/blue/ball0024"
	}
	widget Button BallGreenWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 288, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/green/ball0024"
	}
	widget Button BallYellowWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 320, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/yellow/ball0024"
	}
	widget Button BallRedWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 352, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/red/ball0024"
	}
	widget Button BallPinkWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 384, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/pink/ball0024"
	}
	widget Button BallWhiteWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 416, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/white/ball0024"
	}
	widget Button BallBlackWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 448, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/black/ball0024"
	}
	widget Button BallTealWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 480, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/teal/ball0024"
	}
	widget Button BallOrangeWooden
	{	
		hidden
	
		EventToShowOn "WoodenBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 512, 180
		size 32, 32
		
		texture "data/gfx/balls_wood/orange/ball0024"
	}
	
	//------------------display energy balls in window------------------
	
	widget Button BallBlueEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 256, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/blue/ball_0002"
	}
	widget Button BallGreenEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 288, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/green/ball_0002"
	}
	widget Button BallYellowEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 320, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/yellow/ball_0002"
	}
	widget Button BallRedEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 352, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/red/ball_0002"
	}
	widget Button BallPinkEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 384, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/pink/ball_0002"
	}
	widget Button BallWhiteEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 416, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/white/ball_0002"
	}
	widget Button BallBlackEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 448, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/black/ball_0002"
	}
	widget Button BallTealEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 480, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/teal/ball_0002"
	}
	widget Button BallOrangeEnergy
	{	
		hidden
	
		EventToShowOn "EnergyBallsSelected"
		EventToHideOn "HideBallIcons"
		
		mins 512, 180
		size 32, 32
		
		texture "data/gfx/balls_energy/orange/ball_0002"
	}

	widget label BallLocked
	{
	
		hidden
		EventToHideOn 	"UISetItemIsUnlocked"
		EventToShowOn 	"UISetItemIsLocked"
		EventToHideOn 	"EnableUseItemButton"
	
		mins 367, 180
		size 79, 98
		texture "data/gfx/ui/store/Lock_01"
	}
	
	//-----------------------End ball displays-----------------
	
	widget Label BallSetPointRequirementText
	{
		
		mins 300, 260
		size 200, 36

		hidden
		
		text "#PointsRequired"
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText"
		
		EventToShowOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "UISetItemIsInUse"
	}
	
	widget Label BallSetPointRequirement
	{
		
		mins 255, 280
		size 290, 144

		hidden
		
		text ""
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText03"

		EventToPopulateFrom "UIDisplayItemPointRequirement"
		
		EventToShowOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "UISetItemIsInUse"
	}

	widget Label BallSetUnlockedtext
	{
		
		mins 320, 270
		size 160, 36

		hidden
		
		text "#Unlocked"
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText04"
		
		EventToHideOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToShowOn "UISetItemIsOwned"
		EventToShowOn "UISetItemIsInUse"
	}
	
	widget Label BallSetCostText
	{
		
		mins 235, 330
		size 160, 30

		hidden
		
		text "#Cost"
		textVerticalAlignment "Top"	
		textAlignment "right"
		style "DisplayText"
		
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "PurchaseSelectedBallSet"
		EventToHideOn "UISetItemIsInUse"
	}
	
	widget Label AnkhCoinImageLabel
	{
		hidden
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "PurchaseSelectedBallSet"
		EventToHideOn "UISetItemIsInUse"
		
		mins 455, 335
		size 16, 16
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label BallSetCost
	{
		mins 400, 330
		size 50, 30

		hidden
		
		text ""
		textVerticalAlignment "Top"	
		textAlignment "right"
		style "DisplayText03"

		EventToPopulateFrom "UIDisplayItemCost"
		
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "PurchaseSelectedBallSet"
		EventToHideOn "UISetItemIsInUse"
	}
	
	widget Label AnkhCoinImage
	{

		mins 360, 400
		size 32, 32

		Anim "AnkhCoin"
	}
	
	widget Label CurrentAnkhCoinCount
	{
		EventToPopulateFrom "UIDisplayAnkhCoinCount"

		mins 400, 400
		size 50, 30

		text ""
		textAlignment "center"
		style "DisplayText"
	}

	
	widget Button PurchaseSelectedBallSet
	{
		onaction enter "event PurchaseSelectedBallSet; event DisablePurchaseItemButton; event EnableUseItemButton"
		
		disabled
		
		EventToDisableOn "DisablePurchaseItemButton"
		EventToEnableOn "EnablePurchaseItemButton"
		
		mins 350, 450
		size 100, 26

		hidden
		
		text "#Purchase"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
		
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "UISetItemIsInUse"
		EventToHideOn "PurchaseSelectedBallSet"
	}

	widget Button UseSelectedBallSet
	{
		onaction enter "event UseSelectedBallSet"
		
		disabled
		EventToEnableOn "EnableUseItemButton"
		EventToDisableOn "DisableUseItemButton"

		mins 350, 450
		size 100, 26

		hidden
		
		text "#Use"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
		
		EventToHideOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToShowOn "PurchaseSelectedBallSet"
		EventToShowOn "UISetItemIsOwned"
		EventToHideOn "UISetItemIsInUse"
		EventToHideOn "UseSelectedBallSet"
	}
	
	widget Label BallsetInUsetext
	{
		
		mins 280, 340
		size 240, 36

		hidden
		
		text "#InUse"
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText04"
		
		EventToHideOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToShowOn "UISetItemIsInUse"
		EventToShowOn "UseSelectedBallSet"
	}
	
	widget Button Back
	{
		onaction enter "event BackFromPurchase; popdialog; event HideBallIcons"
		
		mins 350, 500
		size 100, 26

		text "#Back"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
	}
	
	animation In
	{
		init screen color=(255,255,255,0)
		at 0 ms colorScreen from (255,255,255,0) to (255,255,255,255) over 300ms speed=Cosine
	}
	
	animation Out
	{
		init screen color=(255,255,255,255)
		at 0 ms colorScreen from (255,255,255,255) to (255,255,255,0) over 300ms speed=Cosine
	}
}


//=========================== 					 ==========================	
//===========================   SHOOTER PURCHASE SCREEN    ==========================	
//=========================== 					 ==========================	


screen ShooterInfo
{
	onaction escape "event BackFromPurchase; popdialog"

	widget Button background
	{
		
		mins 80,10
		size 640,640

		texture "data/gfx/ui/buying_background.png"
	}
	
	widget Label CurrentItemName
	{
		
		mins 255, 50
		size 290, 44

		textAlignment "center"
		textVerticalAlignment "top"
		style "DisplayText32"
		
		EventToPopulateFrom "UIDisplayItemName"
	}

	widget Label ItemDescription
	{
		
		mins 184, 100
		size 432, 100

		text ""
		textVerticalAlignment "Top"	
		textAlignment "Center"
		wordWrap
		style "DisplayText"

		EventToPopulateFrom "UIDisplayItemDescription"
	}

	widget Button ShooterNormal
	{	
		hidden
	
		EventToShowOn "NormalShooterSelected"
		EventToHideOn "HideShooterIcons"
		
		mins 329, 180
		size 143, 42

		texture "data/gfx/Shooter/shooter_0008"
	}
	
	widget Button ShooterExtreme
	{
		hidden	
		
		EventToShowOn "ExtremeShooterSelected"
		EventToHideOn "HideShooterIcons"
	
		mins 330, 180
		size 140, 57

		texture "data/gfx/Shooter_03/shooter_03_tilt_0007"
	}
	
	widget Button ShooterSciFi
	{
		hidden
	
		EventToShowOn "SciFiShooterSelected"
		EventToHideOn "HideShooterIcons"
		
		mins 334, 180
		size 132, 42

		texture "data/gfx/Shooter_02/shooter_02_tilt_0007"
	}
	
	widget label ShooterLocked
	{
		hidden
		EventToHideOn 	"UISetItemIsUnlocked"
		EventToShowOn 	"UISetItemIsLocked"
		EventToHideOn 	"EnableUseItemButton"
	
		mins 410, 178
		size 79, 98
		texture "data/gfx/ui/store/Lock_01"
	}
	
	widget Label ShooterPointRequirementText
	{
		
		mins 300, 260
		size 200, 36

		hidden
		
		text "#PointsRequired"
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText"
		
		EventToShowOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "UISetItemIsInUse"
	}
	
	widget Label ShooterPointRequirement
	{
		
		mins 255, 280
		size 290, 144

		hidden
		
		text ""
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText03"

		EventToPopulateFrom "UIDisplayItemPointRequirement"
		
		EventToShowOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "UISetItemIsInUse"
	}

	widget Label ShooterUnlockedtext
	{
		
		mins 320, 270
		size 160, 36

		hidden
		
		text "#Unlocked"
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText04"
		
		EventToHideOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToShowOn "UISetItemIsOwned"
		EventToShowOn "UISetItemIsInUse"
	}
	
	widget Label ShooterCostText
	{
		
		mins 235, 330
		size 160, 30

		hidden
		
		text "#Cost"
		textVerticalAlignment "Top"	
		textAlignment "right"
		style "DisplayText"
		
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "PurchaseSelectedShooter"
		EventToHideOn "UISetItemIsInUse"
	}
	
	widget Label AnkhCoinImageLabel
	{
		hidden
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "PurchaseSelectedShooter"
		EventToHideOn "UISetItemIsInUse"
		
		mins 455, 335
		size 16, 16
		TexCoordsForMins 0,0
		TexCoordsForMaxs 1,1

		texture "data/gfx/treasures/ankhCoin/coin001"
	}
	
	widget Label ShooterCost
	{
		mins 400, 330
		size 50, 30
		
		hidden		

		text ""
		textVerticalAlignment "Top"	
		textAlignment "right"
		style "DisplayText03"

		EventToPopulateFrom "UIDisplayItemCost"
		
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "PurchaseSelectedShooter"
		EventToHideOn "UISetItemIsInUse"
	}
	
	
	
	widget Label AnkhCoinImage
	{

		mins 360, 400
		size 32, 32

		Anim "AnkhCoin"
	}
	
	widget Label CurrentAnkhCoinCount
	{
		EventToPopulateFrom "UIDisplayAnkhCoinCount"

		mins 400, 400
		size 50, 30

		text ""
		textAlignment "center"
		style "DisplayText"
	}

	
	widget Button PurchaseSelectedShooter
	{
		onaction enter "event PurchaseSelectedShooter; event DisablePurchaseItemButton; event EnableUseItemButton"
		
		disabled
		
		EventToDisableOn "DisablePurchaseItemButton"
		EventToEnableOn "EnablePurchaseItemButton"
		
		mins 350, 450
		size 100, 26

		hidden
		
		text "#Purchase"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
		
		EventToShowOn "UISetItemIsLocked"
		EventToShowOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToHideOn "UISetItemIsInUse"
		EventToHideOn "PurchaseSelectedShooter"
	}

	widget Button UseSelectedShooter
	{
		onaction enter "event UseSelectedShooter"
		
		disabled
		EventToEnableOn "EnableUseItemButton"
		EventToDisableOn "DisableUseItemButton"

		mins 350, 450
		size 100, 26

		hidden
		
		text "#Use"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
		
		EventToHideOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToShowOn "UISetItemIsOwned"
		EventToShowOn "PurchaseSelectedShooter"
		EventToHideOn "UISetItemIsInUse"
		EventToHideOn "UseSelectedShooter"
	}
	
	widget Label ShooterInUsetext
	{
		
		mins 280, 340
		size 240, 36

		hidden
		
		text "#InUse"
		textVerticalAlignment "Top"	
		textAlignment "Center"
		style "DisplayText04"
		
		EventToHideOn "UISetItemIsLocked"
		EventToHideOn "UISetItemIsUnlocked"
		EventToHideOn "UISetItemIsOwned"
		EventToShowOn "UISetItemIsInUse"
		EventToShowOn "UseSelectedShooter"
	}
	
	widget Button Back
	{
		onaction enter "event BackFromPurchase; popdialog; event HideShooterIcons"
		
		mins 350, 500
		size 100, 26

		text "#Back"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
	}

	
	
	animation In
	{
		init screen color=(255,255,255,0)
		at 0 ms colorScreen from (255,255,255,0) to (255,255,255,255) over 300ms speed=Cosine
	}
	
	animation Out
	{
		init screen color=(255,255,255,255)
		at 0 ms colorScreen from (255,255,255,255) to (255,255,255,0) over 300ms speed=Cosine
	}
}