screen Instructions
{
	onaction escape "event EscapePushedInstructions"

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

		texture "data/gfx/ui/Instructions_background"
	}

	
	widget EffectEmitter instructions_effects
	{
		mins 0, 0
	
		effectName "HowToPlay_Credits_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}

	
	widget Button InstructionTopicBanner
	{		
		mins 265, 0
		size 269, 128

		texture "data/gfx/UI/banner/banner_topic"
	}

	
	widget EffectEmitter lightning_orb
	{
		mins 401, 30
	
		effectName "HUD_lightning_orb_tiny_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicText
	{
		
		mins 284, 62
		size 224, 30

		text "#InstBasic"
		textAlignment "center"
		style "HelpTextTopic"
	}
	
	widget Button InstructionNext
	{

		onaction enter "gotoScreen InstructionsBasic2"
		
		mins 615, 562
		size 128, 26

		
		text "#More"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style07"
	}
	
	widget Button ReturnToMainMenu
	{
		onaction enter "GotoScreenNoOuts MainMenu DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromPlaying"
		eventToShowOn "RequestingInstructionsFromMenu"
		
		eventToDisableOn "RequestingInstructionsFromPlaying"
		eventToEnableOn "RequestingInstructionsFromMenu"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions" 
	}

	widget Button ReturnToGame
	{
		onaction enter "TransitionToSavedScreenStack DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromMenu"
		eventToShowOn "RequestingInstructionsFromPlaying"
		
		eventToDisableOn "RequestingInstructionsFromMenu"
		eventToEnableOn "RequestingInstructionsFromPlaying"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions" 
	}

	//=================== basic 1 components =================

	
	widget Button Shooter
	{				
		mins 87, 155
		size 128, 42

		texture "data/gfx/Shooter/idle01"
	}
	
	widget Label ShooterText
	{
		mins 320, 155
		size 440, 30

		text "#InstShooter"
		wordWrap
//		textAlignment "right"
		style "HelpTextYellow18"
	}
	
	widget Button Pyramid
	{				
		mins 26, 232
		size 80, 80

		texture "data/gfx/UI/instruction/pyramid"
	}
	
	widget Button Match3
	{				
		mins 124, 240
		size 142, 64

		texture "data/gfx/UI/instruction/match3"
	}
	
	widget Button Match3scarab
	{				
		mins 250, 240
		size 64, 64

		animstartrandom "PusherWalk"
		rotationdegrees -90
	}
	
	widget Label Match3Text
	{
		mins 320, 240
		size 440, 30

		text "#InstMatch3"
		wordWrap
//		textAlignment "right"
		style "HelpTextYellow18"
	}
	
	widget Button Powerup
	{				
		mins 85, 326
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button PowerupInsert
	{				
		mins 120, 350
		size 48, 48

		texture "data/gfx/powerups/fall/lightning"
	}
	
	widget Label PowerupText
	{
		mins 320, 350
		size 440, 30

		text "#InstPowerup"
		wordWrap
//		textAlignment "right"
		style "HelpTextYellow18"
	}
	
	widget Button Reflector
	{				
		mins 83, 420
		size 160, 160

		anim "Reflector_Idle"
		TexCoordsForMins 1,0
		TexCoordsForMaxs 0,1
	}
	
	widget Label ReflectorText
	{
		mins 320, 460
		size 440, 30

		text "#InstReflector"
		wordWrap
//		textAlignment "right"
		style "HelpTextYellow18"
	}
	
}
	
//////////////////////////////////////////////////////////////////
//		basic 2
/////////////////////////////////////////////////////////////////

screen InstructionsBasic2
{
	onaction escape "event EscapePushedInstructions2"
	
	widget Button Background
	{
		mins 0,0
		size 800,600

		texture "data/gfx/ui/Instructions_background"
	}

	widget EffectEmitter instructions_effects
	{
		mins 0, 0
	
		effectName "HowToPlay_Credits_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicBanner
	{		
		mins 265, 0
		size 269, 128

		texture "data/gfx/UI/banner/banner_topic"
	}

	
	widget EffectEmitter lightning_orb
	{
		mins 401, 30
	
		effectName "HUD_lightning_orb_tiny_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicText
	{
		
		mins 284, 62
		size 224, 30

		text "#InstBasicCont"
		textAlignment "center"
		style "HelpTextTopic"
	}
	
	widget Button InstructionBack
	{

		onaction enter "gotoScreen Instructions"
		
		mins 65, 562
		size 128, 26

	
		text "#Previous"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style09"
	}
	
	widget Button InstructionNext
	{

		onaction enter "gotoScreen InstructionsPowerup1"
		
		mins 615, 562
		size 128, 26

		
		text "#More"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style07"
	}
	
	widget Button ReturnToMainMenu
	{
		onaction enter "GotoScreenNoOuts MainMenu DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromPlaying"
		eventToShowOn "RequestingInstructionsFromMenu"
		
		eventToDisableOn "RequestingInstructionsFromPlaying"
		eventToEnableOn "RequestingInstructionsFromMenu"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions2" 
	}

	widget Button ReturnToGame
	{
		onaction enter "TransitionToSavedScreenStack DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromMenu"
		eventToShowOn "RequestingInstructionsFromPlaying"
		
		eventToDisableOn "RequestingInstructionsFromMenu"
		eventToEnableOn "RequestingInstructionsFromPlaying"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions2" 
	}

	//=================== basic 2 components =================

	widget Button CanopicHawk
	{				
		mins 75, 130
		size 64, 87

		//texture "data/gfx/CanopicJar/hawk/hawk_0001"
		animstartrandom "CanopicJar03"
	}
	widget Button CanopicJackal
	{				
		mins 116, 132
		size 64, 87

		//texture "data/gfx/CanopicJar/jackal/jackal_0002"
		animstartrandom "CanopicJar02"
	}
	widget Button CanopicPharoah
	{				
		mins 157, 131
		size 64, 87

		//texture "data/gfx/CanopicJar/pharoh/pharoh_0029"
		animstartrandom "CanopicJar04"
	}
	widget Button CanopicBaboon
	{				
		mins 195, 130
		size 64, 87

		//texture "data/gfx/CanopicJar/baboon/baboon_0027"
		animstartrandom "CanopicJar01"
	}
	
	widget Label CanopicText
	{
		mins 320, 155
		size 440, 30

		text "#InstCanopic"
		wordWrap
		style "HelpTextYellow18"
	}

	widget Button Coins
	{				
		mins 152, 252
		size 32, 32

		//texture "data/gfx/treasures/ankhCoin/coin001"
		animstartrandom "AnkhCoin"
	}
	
	widget Label CoinsText
	{
		mins 320, 255
		size 440, 30

		text "#InstCoins"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button Treasure1
	{				
		mins 140, 323
		size 32, 32

		//texture "data/gfx/treasures/ring01/ring003"
		animstartrandom "Ring01"
	}
	
	widget Button Treasure2
	{				
		mins 151, 360
		size 32, 32

		//texture "data/gfx/treasures/gem03/gem001"
		animstartrandom "Gem03"
	}
	
	widget Label TreasureText
	{
		mins 320, 340
		size 440, 30

		text "#InstTreasure"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button GoldScarab
	{				
		mins 125, 428
		size 90, 84

		//texture "data/gfx/golden_scarab/golden_scarab_0001"
		anim "golden_scarab_01_idle"
	}
	
	widget Label GoldScarabText
	{
		mins 320, 440
		size 440, 30

		text "#InstGoldScarab"
		wordWrap
		style "HelpTextYellow18"
	}
	
}


///////////////////////////////////////////////////////
// 			Powerups 1
///////////////////////////////////////////////////////

screen InstructionsPowerup1
{
	onaction escape "event EscapePushedInstructions3"
	widget Button Background
	{
		mins 0,0
		size 800,600

		texture "data/gfx/ui/Instructions_background"
	}

	widget EffectEmitter instructions_effects
	{
		mins 0, 0
	
		effectName "HowToPlay_Credits_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicBanner
	{		
		mins 265, 0
		size 269, 128

		texture "data/gfx/UI/banner/banner_topic"
	}


	widget EffectEmitter lightning_orb
	{
		mins 401, 30
	
		effectName "HUD_lightning_orb_tiny_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicText
	{
		
		mins 284, 62
		size 224, 30

		text "#InstPowerups"
		textAlignment "center"
		style "HelpTextTopic"
	}
	
	widget Button InstructionBack
	{

		onaction enter "gotoScreen InstructionsBasic2"
		
		mins 65, 562
		size 128, 26

		
		text "#Previous"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style09"
	}
	
	widget Button InstructionNext
	{

		onaction enter "gotoScreen InstructionsPowerup2"
		
		mins 615, 562
		size 128, 26

	
		text "#More"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style07"
	}
	
	widget Button ReturnToMainMenu
	{
		onaction enter "GotoScreenNoOuts MainMenu DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromPlaying"
		eventToShowOn "RequestingInstructionsFromMenu"
		
		eventToDisableOn "RequestingInstructionsFromPlaying"
		eventToEnableOn "RequestingInstructionsFromMenu"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions3" 
	}

	widget Button ReturnToGame
	{
		onaction enter "TransitionToSavedScreenStack DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromMenu"
		eventToShowOn "RequestingInstructionsFromPlaying"
		
		eventToDisableOn "RequestingInstructionsFromMenu"
		eventToEnableOn "RequestingInstructionsFromPlaying"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions3" 
	}

	//=================== powerup 1 components =================

	widget Label GebPowerText
	{
		mins 38, 142
		size 370, 50

		text "#InstGebPower"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextGreen22"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 176
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Reverse
	{				
		mins 39, 200
		size 48, 48

		texture "data/gfx/powerups/fall/reverse"
	}
	
	widget Label ReverseText
	{
		mins 104, 208
		size 230, 24

		text "#InstReverse"
		textVerticalAlignment "Top"
		style "HelpTextName"
	}
	
	widget Label ReverseDescText
	{
		mins 104, 226
		size 280, 50

		text "#InstReverseDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 242
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Net
	{				
		mins 39, 266
		size 48, 48

		texture "data/gfx/powerups/fall/net"
	}
	
	widget Label NetText
	{
		mins 104, 276
		size 230, 24

		text "#InstNet"
		textVerticalAlignment "Top"
		style "HelpTextName"
	}
	
	widget Label NetDescText
	{
		mins 104, 294
		size 280, 24

		text "#InstNetDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Label IsisPowerText
	{
		mins 418, 142
		size 370, 50

		text "#InstIsisPower"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow22"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 176
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Stop
	{				
		mins 414, 200
		size 48, 48

		texture "data/gfx/powerups/fall/stop"
	}
	
	widget Label StopText
	{
		mins 480, 208
		size 230, 24

		text "#InstStop"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label StopTextDesc
	{
		mins 480, 226
		size 280, 24

		text "#InstStopDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 242
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Wild
	{				
		mins 414, 266
		size 48, 48

		texture "data/gfx/powerups/fall/wild"
	}
	
	widget Label WildText
	{
		mins 480, 276
		size 230, 24

		text "#InstWild"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label WildTextDesc
	{
		mins 480, 294
		size 280, 24

		text "#InstWildDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Label RaPowerText
	{
		mins 38, 342
		size 370, 50

		text "#InstRaPower"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextRed22"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 370
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Fireball
	{				
		mins 39, 394
		size 48, 48

		texture "data/gfx/powerups/fall/bomb"
	}
	
	widget Label FireballText
	{
		mins 104, 404
		size 230, 24

		text "#InstFireball"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label FireballDescText
	{
		mins 104, 422
		size 280, 24

		text "#InstFireballDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 435
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Speedshot
	{				
		mins 39, 459
		size 48, 48

		texture "data/gfx/powerups/fall/speedshot"
	}
	
	widget Label SpeedshotText
	{
		mins 104, 470
		size 230, 24

		text "#InstSpeedshot"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label SpeedshotDescText
	{
		mins 104, 488
		size 280, 24

		text "#InstSpeedshotDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
		
	widget Label NutPowerText
	{
		mins 418, 342
		size 370, 50

		text "#InstNutPower"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextBlue22"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 370
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Slow
	{				
		mins 414, 394
		size 48, 48

		texture "data/gfx/powerups/fall/slow"
	}
	
	widget Label SlowText
	{
		mins 480, 404
		size 230, 24

		text "#InstSlow"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label SlowDescText
	{
		mins 480, 422
		size 230, 24

		text "#InstSlowDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 435
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Lightning
	{				
		mins 414, 459
		size 48, 48

		texture "data/gfx/powerups/fall/lightning"
	}
	
	widget Label LightningText
	{
		mins 480, 470
		size 230, 24

		text "#InstLightning"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label LightningDescText
	{
		mins 480, 488
		size 230, 24

		text "#InstLightningDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
}



////////////////////////////////////////////////////////
// 			Powerups 2
///////////////////////////////////////////////////////

screen InstructionsPowerup2
{
	onaction escape "event EscapePushedInstructions4"
	widget Button Background
	{
		mins 0,0
		size 800,600

		texture "data/gfx/ui/Instructions_background"
	}

	widget EffectEmitter instructions_effects
	{
		mins 0, 0
	
		effectName "HowToPlay_Credits_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicBanner
	{		
		mins 265, 0
		size 269, 128

		texture "data/gfx/UI/banner/banner_topic"
	}

	
	widget EffectEmitter lightning_orb
	{
		mins 401, 30
	
		effectName "HUD_lightning_orb_tiny_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicText
	{
		
		mins 284, 62
		size 224, 30

		text "#InstPowerupsCont"
		textAlignment "center"
		style "HelpTextTopic"
	}
	
	widget Button InstructionBack
	{

		onaction enter "gotoScreen InstructionsPowerup1"
		
		mins 65, 562
		size 128, 26

		
		text "#Previous"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style09"
	}
	
	widget Button InstructionNext
	{

		onaction enter "gotoScreen InstructionsExtended1"
		
		mins 615, 562
		size 128, 26

		
		text "#More"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style07"
	}
	
	widget Button ReturnToMainMenu
	{
		onaction enter "GotoScreenNoOuts MainMenu DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromPlaying"
		eventToShowOn "RequestingInstructionsFromMenu"
		
		eventToDisableOn "RequestingInstructionsFromPlaying"
		eventToEnableOn "RequestingInstructionsFromMenu"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions4" 
	}

	widget Button ReturnToGame
	{
		onaction enter "TransitionToSavedScreenStack DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromMenu"
		eventToShowOn "RequestingInstructionsFromPlaying"
		
		eventToDisableOn "RequestingInstructionsFromMenu"
		eventToEnableOn "RequestingInstructionsFromPlaying"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions4" 
	}

	//=================== powerup 2 components =================
	
	widget Label HorusPowerText
	{
		mins 38, 142
		size 370, 50

		text "#InstHorusPower"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextPurple22"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 176
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button ColorBomb
	{				
		mins 39, 200
		size 48, 48
		color 255,51,255,255
		texture "data/gfx/powerups/fall/colorBomb"
	}
	
	widget Label ColorBombText
	{
		mins 104, 208
		size 230, 24

		text "#InstColorBomb"
		textVerticalAlignment "Top"
		style "HelpTextName"
	}
	
	widget Label ColorBombDescText
	{
		mins 104, 226
		size 280, 50

		text "#InstColorBombDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 242
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Scorpion
	{				
		mins 39, 266
		size 48, 48

		texture "data/gfx/powerups/fall/scorpion"
	}
	
	widget Label ScorpionText
	{
		mins 104, 276
		size 230, 24

		text "#InstScorpion"
		textVerticalAlignment "Top"
		style "HelpTextName"
	}
	
	widget Label ScorpionDescText
	{
		mins 104, 294
		size 280, 24

		text "#InstScorpionDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button AnubisPowerTextBG
	{				
		mins 394, 116
		size 387, 94
		color 255,255,255,90
		texture "data/gfx/UI/instruction/AnubisTextBG"
	}
	
	widget Label AnubisPowerText
	{
		mins 418, 142
		size 370, 50

		text "#InstAnubisPower"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextBlack22"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 176
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button TrainBlocker
	{				
		mins 414, 200
		size 48, 48

		texture "data/gfx/powerups/fall/trainblocker"
	}
	
	widget Label TrainBlockerText
	{
		mins 480, 208
		size 230, 24

		text "#InstTrainBlocker"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label TrainBlockerDescText
	{
		mins 480, 226
		size 280, 24

		text "#InstTrainBlockerDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 242
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Highlighter
	{				
		mins 414, 266
		size 48, 48

		texture "data/gfx/powerups/fall/matchHighlighter"
	}
	
	widget Label HighlighterText
	{
		mins 480, 276
		size 230, 24

		text "#InstHighlighter"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label HighlighterDescText
	{
		mins 480, 294
		size 280, 24

		text "#InstHighlighterDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Label OsirisPowerText
	{
		mins 38, 342
		size 370, 50

		text "#InstOsirisPower"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextWhite22"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 370
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button ColorCloud
	{				
		mins 39, 394
		size 48, 48

		texture "data/gfx/powerups/fall/colorCloud"
	}
	
	widget Label ColorCloudText
	{
		mins 104, 404
		size 230, 24

		text "#InstColorCloud"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label ColorCloudDescText
	{
		mins 104, 422
		size 280, 24

		text "#InstColorCloudDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PowerupBase
	{				
		mins 4, 435
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button ColorReplacer
	{				
		mins 39, 459
		size 48, 48

		texture "data/gfx/powerups/fall/colorReplacer"
	}
	
	widget Label ColorReplacerText
	{
		mins 104, 470
		size 230, 24

		text "#InstColorReplacer"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label ColorReplacerDescText
	{
		mins 104, 488
		size 280, 24

		text "#InstColorReplacerDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	
	
	widget Label ThothPowerText
	{
		mins 418, 332
		size 370, 30

		text "#InstThothPower"
		textVerticalAlignment "Top"
		style "HelpTextTeal22"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 340
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button ColorSort
	{				
		mins 414, 364
		size 48, 48

		texture "data/gfx/powerups/fall/colorSort"
	}
	
	widget Label ColorSortText
	{
		mins 480, 374
		size 230, 24

		text "#InstColorSort"
		textVerticalAlignment "Top"
		style "HelpTextName"
	}
	
	widget Label ColorSortDescText
	{
		mins 480, 392
		size 230, 24

		text "#InstColorSortDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Label SekhmetPowerText
	{
		mins 418, 435
		size 370, 30

		text "#InstSekhmetPower"
		textVerticalAlignment "Top"
		style "HelpTextOrange22"
	}
	
	widget Button PowerupBase
	{				
		mins 379, 444
		size 120, 86

		texture "data/gfx/powerups/fall/base_01"
	}
	
	widget Button Sandstorm
	{				
		mins 414, 468
		size 48, 48

		texture "data/gfx/powerups/fall/sandstorm"
	}
	
	widget Label SandstormText
	{
		mins 480, 478
		size 230, 24

		text "#InstSandstorm"
		textVerticalAlignment "Top"
		style "HelpTextName"
	}
	
	widget Label SandstormDescText
	{
		mins 480, 496
		size 230, 24

		text "#InstSandstormDesc"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}

	
}

////////////////////////////////////////////////////////
// 			Extended game modes 1
///////////////////////////////////////////////////////

screen InstructionsExtended1
{
	onaction escape "event EscapePushedInstructions5"	
	widget Button Background
	{
		mins 0,0
		size 800,600

		texture "data/gfx/ui/Instructions_background"
	}

	widget EffectEmitter instructions_effects
	{
		mins 0, 0
	
		effectName "HowToPlay_Credits_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicBanner
	{		
		mins 265, 0
		size 269, 128

		texture "data/gfx/UI/banner/banner_topic"
	}

	
	widget EffectEmitter lightning_orb
	{
		mins 401, 30
	
		effectName "HUD_lightning_orb_tiny_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicText
	{
		
		mins 284, 62
		size 224, 30

		text "#InstExtended"
		textAlignment "center"
		style "HelpTextTopic"
	}
	
	widget Button InstructionBack
	{

		onaction enter "gotoScreen InstructionsPowerup2"
		
		mins 65, 562
		size 128, 26

		
		text "#Previous"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style09"
	}
	
	widget Button InstructionNext
	{

		onaction enter "gotoScreen InstructionsExtended2"
		
		mins 615, 562
		size 128, 26

		
		text "#More"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style07"
	}
	
	widget Button ReturnToMainMenu
	{
		onaction enter "GotoScreenNoOuts MainMenu DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromPlaying"
		eventToShowOn "RequestingInstructionsFromMenu"
		
		eventToDisableOn "RequestingInstructionsFromPlaying"
		eventToEnableOn "RequestingInstructionsFromMenu"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions5" 
	}

	widget Button ReturnToGame
	{
		onaction enter "TransitionToSavedScreenStack DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromMenu"
		eventToShowOn "RequestingInstructionsFromPlaying"
		
		eventToDisableOn "RequestingInstructionsFromMenu"
		eventToEnableOn "RequestingInstructionsFromPlaying"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions5" 
	}

	//=================== Extended mode 1 components =================

	widget Button PuzzlePiece
	{				
		mins 35, 104
		size 103, 117

		texture "data/gfx/UI/instruction/PuzzlePiece"
	}
	
	widget Label PuzzleTitleText
	{
		mins 140, 150
		size 110, 24

		text "#Puzzle"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label PuzzleText
	{
		mins 260, 150
		size 500, 80

		text "#InstPuzzleText"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button PuzzleQueue
	{				
		mins 260, 250
		size 336, 44

		texture "data/gfx/UI/instruction/PuzzleQueue"
	}
	
	widget Button Onslaught
	{				
		mins 35, 315
		size 79, 104

		texture "data/gfx/UI/instruction/OnslaughtBlock"
	}
	
	widget Label OnslaughtTitleText
	{
		mins 116, 360
		size 130, 24

		text "#Onslaught"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label OnslaughtText
	{
		mins 260, 360
		size 500, 80

		text "#InstOnslaughtText"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}

	
}



////////////////////////////////////////////////////////
// 			Extended game modes 2
///////////////////////////////////////////////////////

screen InstructionsExtended2
{
	onaction escape "event EscapePushedInstructions6"
	widget Button Background
	{
		mins 0,0
		size 800,600

		texture "data/gfx/ui/Instructions_background"
	}

	widget EffectEmitter instructions_effects
	{
		mins 0, 0
	
		effectName "HowToPlay_Credits_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}
	
	widget Button InstructionTopicBanner
	{		
		mins 265, 0
		size 269, 128

		texture "data/gfx/UI/banner/banner_topic"
	}
	
	
	widget EffectEmitter lightning_orb
	{
		mins 401, 30
	
		effectName "HUD_lightning_orb_tiny_01"
		
		//EventToStartEffectsOn "UIStartPauseEffect"
		//EventToStopEffectsOn "UIStopPauseEffect"
		StartOn
	}

	widget Button InstructionTopicText
	{
		
		mins 286, 62
		size 230, 30

		text "#InstExtendedCont"
		textAlignment "center"
		style "HelpTextTopic"
	}
	
	widget Button InstructionBack
	{

		onaction enter "gotoScreen InstructionsExtended1"
		
		mins 65, 562
		size 128, 26

	
		text "#Previous"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style09"
	}
	
	widget Button ReturnToMainMenu
	{
		onaction enter "GotoScreenNoOuts MainMenu DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromPlaying"
		eventToShowOn "RequestingInstructionsFromMenu"
		
		eventToDisableOn "RequestingInstructionsFromPlaying"
		eventToEnableOn "RequestingInstructionsFromMenu"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions6" 
	}

	widget Button ReturnToGame
	{
		onaction enter "TransitionToSavedScreenStack DoorTransition"

		disabled
		
		eventToHideOn "RequestingInstructionsFromMenu"
		eventToShowOn "RequestingInstructionsFromPlaying"
		
		eventToDisableOn "RequestingInstructionsFromMenu"
		eventToEnableOn "RequestingInstructionsFromPlaying"

		mins 340, 562
		size 128, 26

		
		text "#Cancel"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapePushedInstructions6" 
	}

	//=================== Extended mode 2 components =================

	widget Button NileCoin
	{				
		mins 26, 104
		size 114, 113

		texture "data/gfx/UI/instruction/NileCOin"
	}
	
	widget Label CrossingTitleText
	{
		mins 156, 150
		size 100, 50

		text "#CrossingTheNile"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label CrossingText
	{
		mins 260, 150
		size 500, 120

		text "#InstCrossingText"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}
	
	widget Button CrossingTrain
	{				
		mins 260, 270
		size 450, 99

		texture "data/gfx/UI/instruction/CrossingTrain"
	}
	
	widget Button Endless
	{				
		mins 26, 380
		size 113, 64

		texture "data/gfx/UI/instruction/Endless"
	}
	
	widget Label EndlessTitleText
	{
		mins 150, 400
		size 110, 24

		text "#Endless"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextName"
	}
	
	widget Label EndlessText
	{
		mins 260, 400
		size 500, 80

		text "#InstEndlessText"
		textVerticalAlignment "Top"
		wordWrap
		style "HelpTextYellow18"
	}

}


//-------------------------------------------------------------------------------------------------
// keep the names of the following screens the same (i.e. "HowToPlay<modename>")
//-------------------------------------------------------------------------------------------------

Screen HowToPlayClassic
{
	onaction escape "event OnInstructionScreenComplete"

	widget Button background
	{
		mins 170,10
		size 472,559

		texture "data/gfx/ui/popup menu_full_1.png"
	}

	widget EffectEmitter lightning_orb
	{
		mins 405, 78
	
		effectName "HUD_lightning_orb_01"
		
		EventToStartEffectsOn "UIStartHowToPlayClassicEffect"
		EventToStopEffectsOn "UIStopHowToPlayClassicEffect"
		//StartOn
	}

	Widget Label ClassicPlayHelp
	{
		mins 250, 130
		
		size 300, 20
		text "#ClassicGameplay"
		textAlignment "center"
		style "HelpTextRed22"
	}
	
	Widget Label HowToPlayText
	{
		mins 250, 170
		
		size 300, 150
		text "#ClassicHelp"
		textVerticalAlignment "Top"	
		wordWrap
		style "HelpText2"
	}
	
	Widget Button OK
	{
		onaction enter "event OnInstructionScreenComplete"
		
		mins 336, 470
		
		size 128,26
		style "Luxor2Style03"
		textVerticalAlignment "top"
		
		textAlignment "center"
		text "#OK"
	}
	
	animation In
	{
		init screen					color=( 255,255,255,0 )
		at 0 ms consoleCommand			"event UIStartHowToPlayClassicEffect"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}
	
	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms consoleCommand			"event UIStopHowToPlayClassicEffect"
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}

//-------------------------------------------------------------------------------------------------

Screen HowToPlayPuzzle
{
	onaction escape "event OnInstructionScreenComplete"

	widget Button background
	{
		mins 170,10
		size 472,559

		texture "data/gfx/ui/popup menu_full_1.png"
	}

	widget EffectEmitter lightning_orb
	{
		mins 405, 78
	
		effectName "HUD_lightning_orb_01"
		
		EventToStartEffectsOn "UIStartHowToPlayPuzzleEffect"
		EventToStopEffectsOn "UIStopHowToPlayPuzzleEffect"
		//StartOn
	}

	Widget Label PuzzlePlayHelp
	{
		mins 250, 130
		
		size 300, 20
		text "#PuzzleGameplay"
		textAlignment "center"
		style "HelpTextRed22"
	}
	
	widget Button PuzzlePiece
	{				
		mins 349, 160
		size 103, 117

		texture "data/gfx/UI/instruction/PuzzlePiece"
	}
	
	
	Widget Label HowToPlayText
	{
		mins 250, 280
		
		size 300, 150
		text "#PuzzleHelp"
		textVerticalAlignment "Top"	
		wordWrap
		style "HelpText2"
	}
	
	Widget Button OK
	{
		onaction enter "event OnInstructionScreenComplete"
		
		mins 336, 470
		
		size 128,26
		style "Luxor2Style03"
		textAlignment "center"
		textVerticalAlignment "top"
		
		text "#OK"
	}
	
	animation In
	{
		init screen					color=( 255,255,255,0 )
		at 0 ms consoleCommand			"event UIStartHowToPlayPuzzleEffect"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}
	
	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms consoleCommand			"event UIStopHowToPlayPuzzleEffect"
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}

//-------------------------------------------------------------------------------------------------

Screen HowToPlaySurvival
{
	onaction escape "event OnInstructionScreenComplete"

	widget Button background
	{
		mins 170,10
		size 472,559

		texture "data/gfx/ui/popup menu_full_1.png"
	}

	widget EffectEmitter lightning_orb
	{
		mins 405, 78
	
		effectName "HUD_lightning_orb_01"
		
		EventToStartEffectsOn "UIStartHowToPlaySurvivalEffect"
		EventToStopEffectsOn "UIStopHowToPlaySurvivalEffect"
		//StartOn
	}

	Widget Label SurvivalPlayHelp
	{
		mins 250, 130
		
		size 300, 20
		text "#SurvivalGameplay"
		textAlignment "center"
		style "HelpTextRed22"
	}
	
	widget Button SurvivalHourglass
	{				
		mins 366, 160
		size 67, 115

		texture "data/gfx/UI/instruction/SurvivalHourglass"
	}
	
	Widget Label HowToPlayText
	{
		mins 250, 280
		
		size 300, 150
		text "#SurvivalHelp"
		textVerticalAlignment "Top"	
		wordWrap
		style "HelpText2"
	}
	
	Widget Button OK
	{
		onaction enter "event OnInstructionScreenComplete"
		
		mins 336, 470
		
		size 128,26
		style "Luxor2Style03"
		textAlignment "center"
		textVerticalAlignment "top"
		
		text "#OK"
	}
	
	animation In
	{
		init screen					color=( 255,255,255,0 )
		at 0 ms consoleCommand			"event UIStartHowToPlaySurvivalEffect"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}
	
	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms consoleCommand			"event UIStopHowToPlaySurvivalEffect"
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}

//-------------------------------------------------------------------------------------------------

Screen HowToPlayEndless
{
	onaction escape "event OnInstructionScreenComplete"

	widget Button background
	{
		mins 170,10
		size 472,559

		texture "data/gfx/ui/popup menu_full_1.png"
	}

	widget EffectEmitter lightning_orb
	{
		mins 405, 78
	
		effectName "HUD_lightning_orb_01"
		
		EventToStartEffectsOn "UIStartHowToPlayEndlessEffect"
		EventToStopEffectsOn "UIStopHowToPlayEndlessEffect"
		//StartOn
	}

	Widget Label EndlessPlayHelp
	{
		mins 250, 130
		
		size 300, 20
		text "#EndlessGameplay"
		textAlignment "center"
		style "HelpTextRed22"
	}
	
	widget Button Endless
	{				
		mins 344, 170
		size 113, 64

		texture "data/gfx/UI/instruction/Endless"
	}
	
	Widget Label HowToPlayText
	{
		mins 250, 260
		
		size 300, 150
		text "#EndlessHelp"
		textVerticalAlignment "Top"	
		wordWrap
		style "HelpText2"
	}
	
	Widget Button OK
	{
		onaction enter "event OnInstructionScreenComplete"
		
		mins 336, 470
		
		size 128,26
		style "Luxor2Style03"
		textAlignment "center"
		textVerticalAlignment "top"
		
		text "#OK"
	}
	
	animation In
	{
		init screen					color=( 255,255,255,0 )
		at 0 ms consoleCommand			"event UIStartHowToPlayEndlessEffect"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}
	
	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms consoleCommand			"event UIStopHowToPlayEndlessEffect"
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}

//-------------------------------------------------------------------------------------------------

Screen HowToPlayCentipede
{
	onaction escape "event OnInstructionScreenComplete"

	widget Button background
	{
		mins 170,10
		size 472,559

		texture "data/gfx/ui/popup menu_full_1.png"
	}

	widget EffectEmitter lightning_orb
	{
		mins 405, 78
	
		effectName "HUD_lightning_orb_01"
		
		EventToStartEffectsOn "UIStartHowToPlayOnslaughtEffect"
		EventToStopEffectsOn "UIStopHowToPlayOnslaughtEffect"
		//StartOn
	}

	Widget Label CentipedePlayHelp
	{
		mins 250, 130
		
		size 300, 20
		text "#CentipedeGameplay"
		textAlignment "center"
		style "HelpTextRed22"
	}
	
	widget Button Onslaught
	{				
		mins 360, 160
		size 79, 104

		texture "data/gfx/UI/instruction/OnslaughtBlock"
	}
	
	Widget Label HowToPlayText
	{
		mins 250, 255
		
		size 300, 150
		text "#CentipedeHelp"
		textVerticalAlignment "Top"	
		wordWrap
		style "HelpText2"
	}
	
	Widget Button OK
	{
		onaction enter "event OnInstructionScreenComplete"
		
		mins 336, 495
		
		size 128,26
		style "Luxor2Style03"
		textAlignment "center"
		textVerticalAlignment "top"
		
		text "#OK"
	}
	
	animation In
	{
		init screen					color=( 255,255,255,0 )
		at 0 ms consoleCommand			"event UIStartHowToPlayOnslaughtEffect"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}
	
	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms consoleCommand			"event UIStopHowToPlayOnslaughtEffect"
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}

//-------------------------------------------------------------------------------------------------

Screen HowToPlayCrossingTheNile
{
	onaction escape "event OnInstructionScreenComplete"

	widget Button background
	{
		mins 170,10
		size 472,559

		texture "data/gfx/ui/popup menu_full_1.png"
	}

	widget EffectEmitter lightning_orb
	{
		mins 405, 78
	
		effectName "HUD_lightning_orb_01"
		
		EventToStartEffectsOn "UIStartHowToPlayNileEffect"
		EventToStopEffectsOn "UIStopHowToPlayNileEffect"
		//StartOn
	}
	
	Widget Label CrossingTheNilePlayHelp
	{
		mins 250, 130
		
		size 300, 20
		text "#CTNGameplay"
		textAlignment "center"
		style "HelpTextRed22"
	}
	
	widget Button NileCoin
	{				
		mins 343, 160
		size 114, 113

		texture "data/gfx/UI/instruction/NileCOin"
	}
	
	Widget Label HowToPlayText
	{
		mins 250, 280
		
		size 300, 150
		text "#CTNHelp"
		textVerticalAlignment "Top"	
		wordWrap
		style "HelpText2"
	}
	
	Widget Button OK
	{
		onaction enter "event OnInstructionScreenComplete"
		
		mins 336, 470
		
		size 128,26
		style "Luxor2Style03"
		textAlignment "center"
		textVerticalAlignment "top"
		
		text "#OK"
	}
	
	animation In
	{
		init screen					color=( 255,255,255,0 )
		at 0 ms consoleCommand			"event UIStartHowToPlayNileEffect"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}
	
	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms consoleCommand			"event UIStopHowToPlayNileEffect"
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}

//-------------------------------------------------------------------------------------------------


Screen HowToPlayTreasureHunter
{
	onaction escape "event OnInstructionScreenComplete"

	widget Button background
	{
		mins 170,10
		size 472,559

		texture "data/gfx/ui/popup menu_full_1.png"
	}

	widget EffectEmitter lightning_orb
	{
		mins 405, 78
	
		effectName "HUD_lightning_orb_01"
		
		EventToStartEffectsOn "UIStartHowToPlayTreasureEffect"
		EventToStopEffectsOn "UIStopHowToPlayTreasureEffect"
		//StartOn
	}
	
	Widget Label TreasureHunterPlayHelp
	{
		mins 250, 130
		
		size 300, 20
		text "#TreasureHuntGameplay"
		textAlignment "center"
		style "HelpTextRed22"
	}
	
	widget Button CanopicHawk
	{				
		mins 308, 160
		size 64, 87

		texture "data/gfx/CanopicJar/hawk/hawk_0001"
	}
	widget Button CanopicJackal
	{				
		mins 349, 160
		size 64, 87

		texture "data/gfx/CanopicJar/jackal/jackal_0002"
	}
	widget Button CanopicPharoah
	{				
		mins 390, 160
		size 64, 87

		texture "data/gfx/CanopicJar/pharoh/pharoh_0029"
	}
	widget Button CanopicBaboon
	{				
		mins 428, 160
		size 64, 87

		texture "data/gfx/CanopicJar/baboon/baboon_0027"
	}
	
	Widget Label HowToPlayText
	{
		mins 250, 260
		
		size 300, 150
		text "#TreasureHuntHelp"
		textVerticalAlignment "Top"	
		wordWrap
		style "HelpText2"
	}
	
	Widget Button OK
	{
		onaction enter "event OnInstructionScreenComplete"
		
		mins 336, 470
		
		size 128,26
		style "Luxor2Style03"
		textAlignment "center"
		textVerticalAlignment "top"
		
		text "#OK"
	}
	
	animation In
	{
		init screen					color=( 255,255,255,0 )
		at 0 ms consoleCommand			"event UIStartHowToPlayTreasureEffect"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}
	
	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms consoleCommand			"event UIStopHowToPlayTreasureEffect"
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}

