uiDialog Instructions
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/dialog.osm

   objEffectMap TransOut
   {
      Effect = ~data/scripts/effects/ui/transition_dialog.ofx
   }

   objEffectMap TransOutGM

   uiFrame Frame
   {
      Position = [ 400.000000, 300.000000, 0.000000 ]
      AnchorHorz = CENTER
      AnchorVert = CENTER

      uiSprite dialog_bg
      {
         Position = [ 0.000000, 0.000000, 0.000000 ]
         Sprite = ~data/textures/instructions/background.jpg
      }

      uiTextWidget Text_Header
      {
         Position = [ 400.000000, 44.000000, 0.000000 ]
         Height = 34.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Text = T( "How To Play" )
      }

      # data/scripts/interface/game_components.uis

      uiFrame
      {
         Position = [ 413.000000, 294.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = CENTER

         uiFlowLayout flow
         {
            Spacing = 70.000000
         }

         uiFrame
         {
            Position = [ -54.000000, 0.000000, 0.000000 ]

            uiFrame Icons
            {
               Position = [ 54.000000, 15.000000, 0.000000 ]
               Scale = [ 0.750000, 0.750000, 0.750000 ]

               uiFlowLayout flow
               {
                  Type = VERT
                  Spacing = 70.000000
               }

               uiContainer Reverse
               {
                  Position = [ 0.000000, 0.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Slow
               {
                  Position = [ 0.000000, 75.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Stop
               {
                  Position = [ 0.000000, 150.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Speed_Shot
               {
                  Position = [ 0.000000, 225.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Color_Bomb
               {
                  Position = [ 0.000000, 300.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Scorpion
               {
                  Position = [ 0.000000, 375.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Lightning_Storm
               {
                  Position = [ 0.000000, 450.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }
            }

            uiFrame Descriptions
            {
               Position = [ 102.000000, 0.000000, 0.000000 ]

               uiFlowLayout flow
               {
                  Type = VERT
                  Spacing = 28.000000
               }

               uiTextWidget Text_Reverse
               {
                  Position = [ 0.000000, 0.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Reverse" )
               }

               uiTextWidget Text_Slow
               {
                  Position = [ 0.000000, 56.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Slow" )
               }

               uiTextWidget Text_Stop
               {
                  Position = [ 0.000000, 112.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Stop" )
               }

               uiTextWidget Text_Speed_Shot
               {
                  Position = [ 0.000000, 168.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Accuracy" )
               }

               uiTextWidget Text_Color_Bomb
               {
                  Position = [ 0.000000, 224.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Color Bomb" )
               }

               uiTextWidget Text_Scorpion
               {
                  Position = [ 0.000000, 280.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Scorpion" )
               }

               uiTextWidget Text_Lightning_Storm
               {
                  Position = [ 0.000000, 336.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Lightning Storm" )
               }
            }
         }

         uiFrame
         {
            Position = [ 229.617981, 0.000000, 0.000000 ]

            uiFrame Icons
            {
               Position = [ 54.000000, 15.000000, 0.000000 ]
               Scale = [ 0.750000, 0.750000, 0.750000 ]

               uiFlowLayout flow
               {
                  Type = VERT
                  Spacing = 70.000000
               }

               uiContainer Net
               {
                  Position = [ 0.000000, 0.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Lightning_Beam
               {
                  Position = [ 0.000000, 75.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Fire_ball
               {
                  Position = [ 0.000000, 150.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Wild_Ball
               {
                  Position = [ 0.000000, 225.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Frenzy
               {
                  Position = [ 0.000000, 300.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }

               uiContainer Color_Cloud
               {
                  Position = [ 0.000000, 375.000000, 0.000000 ]
                  Width = 5.000000
                  Height = 5.000000
               }
            }

            uiFrame Descriptions
            {
               Position = [ 102.000000, 0.000000, 0.000000 ]

               uiFlowLayout flow
               {
                  Type = VERT
                  Spacing = 28.000000
               }

               uiTextWidget Text_Net
               {
                  Position = [ 0.000000, 0.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Net" )
               }

               uiTextWidget Text_Lightning_Bolt
               {
                  Position = [ 0.000000, 56.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Lightning Bolt" )
               }

               uiTextWidget Text_Fireball
               {
                  Position = [ 0.000000, 112.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Fireball" )
               }

               uiTextWidget Text_Wild_Ball
               {
                  Position = [ 0.000000, 168.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Wild Ball" )
               }

               uiTextWidget Text_Frenzy
               {
                  Position = [ 0.000000, 224.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Pharaoh\'s Dagger" )
               }

               uiTextWidget Text_Color_Cloud
               {
                  Position = [ 0.000000, 280.000000, 0.000000 ]
                  Anim = "outline"
                  Layered = true
                  LayerOffset = [ 2.000000, 2.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Text = T( "Color Cloud" )
               }
            }
         }
      }

      uiFrame
      {
         Position = [ 400.000000, 510.000000, 0.000000 ]
         AnchorHorz = CENTER

         uiFlowLayout flow

         uiButton Button_DoNotShow
         {
            AnchorHorz = LEFT
            Command = "DoNotShow"

            uiTextWidget Text
            {
               Text = T( "Do Not Show Again" )
            }

            uiInputItem
            {
               uiInputBinding
               {
                  Binding = "Controller.X"
               }
            }
         }

         uiButton Button_More
         {
            AnchorHorz = CENTER
            Command = "More"

            uiTextWidget Text
            {
               Text = T( "More" )
            }

            uiInputItem
            {
               uiInputBinding
               {
                  Binding = "Controller.Y"
               }
            }
         }

         uiFrame
         {
            uiButton Button_Start
            {
               AnchorHorz = RIGHT
               Command = "Continue"

               uiTextWidget Text
               {
                  Text = T( "Start" )
               }

               uiInputItem
               {
                  uiInputBinding
                  {
                     Binding = "Controller.A"
                  }

                  uiInputBinding
                  {
                     Binding = "Controller.Start"
                  }
               }
            }

            uiButton Button_Continue
            {
               AnchorHorz = RIGHT
               Command = "Continue"

               uiTextWidget Text
               {
                  Text = T( "Back" )
               }

               uiInputItem
               {
                  uiInputBinding
                  {
                     Binding = "Controller.B"
                  }

                  uiInputBinding
                  {
                     Binding = "Controller.Back"
                  }
               }
            }
         }
      }

      objEffectMap Idle
      {
         Effect = ~data/scripts/effects/ui/instructions_powerups.ofx
      }
   }

   objEffectMap Idle
   {
      Effect = ~data/scripts/effects/postprocess/disabledarkpass.ofx
   }
}
