<?xml version="1.0" ?>
<FinalTemplateCollection>
    <Template templateName="HelpWindowIndicatorsTemplate">
        <HelpWindowControl width="200" height="184">
            <position x="400" y="428" />
            <text resourceName="MainMenuHelp3" />
            <arrow>
                <point x="640" y="477" />
                <point x="640" y="440" />
            </arrow>
        </HelpWindowControl>
    </Template>
    <Template templateName="EyeIndicatorMenuTemplate">
        <FixedChildrenListControl>
            <children>
                <HelpWindowControl width="120" height="100">
                    <position x="720" y="413" />
                    <text resourceName="MainMenuHelp1" />
                    <arrow>
                        <point x="751" y="564" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="200" height="148">
                    <position x="160" y="446" />
                    <text resourceName="MainMenuHelp2" />
                    <arrow>
                        <point x="32" y="566" />
                        <point x="32" y="480" />
                    </arrow>
                </HelpWindowControl>
                <VariableDrivenSwitchControl>
                    <variable name="#local-string:Current Tank# Cup" type="string" scope="local" defaultValue="None" />
                    <states>
                        <state default="true" templateName="HelpWindowIndicatorsTemplate" />
                        <state variableValue="Gold" templateName="EmptyTemplate" />
                    </states>
                </VariableDrivenSwitchControl>
            </children>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="MainScreenHelpTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.45">
                    <children>
                        <HelpBackgroundControl>
                            <hole texture="helpBackgroundButton4" x="244" y="9" />
                            <hole texture="helpBackgroundButton4" x="693" y="9" />
                            <hole texture="helpBackgroundButton3" x="34" y="14" />
                            <hole texture="helpBackgroundButton3" x="134" y="14" />
                            <hole texture="helpBackgroundMenu" x="716" y="562" />
                            <hole texture="helpBackgroundEye" x="10" y="562" />
                            <hole texture="helpBackgroundIndicator" x="[indicatorShiftX]" y="473" show="[needIndicator]" />
                            <hole texture="helpBackgroundIndicator" x="[indicatorShiftX]" y="500" show="[needIndicator]" />
                            <hole texture="helpBackgroundIndicator" x="[indicatorShiftX]" y="526" show="[needIndicator]" />
                        </HelpBackgroundControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="120" height="112">
                    <position x="70" y="180" />
                    <text resourceName="MainMenuHelp4" />
                    <arrow>
                        <point x="72" y="61" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="120" height="112">
                    <position x="200" y="180" />
                    <text resourceName="MainMenuHelp5" />
                    <arrow>
                        <point x="170" y="61" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="210" height="112">
                    <position x="375" y="180" />
                    <text resourceName="MainMenuHelp6" />
                    <arrow>
                        <point x="338" y="40" />
                        <point x="370" y="40" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="210" height="112">
                    <position x="675" y="180" />
                    <text resourceName="MainMenuHelp7" />
                    <arrow>
                        <point x="740" y="73" />
                    </arrow>
                </HelpWindowControl>
                <TemplateInstanceControl>
                    <base templateName="EyeIndicatorMenuTemplate" />
                </TemplateInstanceControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
    <Template templateName="ShopHelpTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.45">
                    <children>
                        <HelpBackgroundControl>
                            <hole texture="helpBackgroundTabs" x="11" y="9" />
                            <hole texture="helpBackgroundExit1" x="612" y="88" />
                            <hole texture="helpBackgroundButton4" x="693" y="24" />
                            <hole texture="helpBackgroundScroll1" x="149" y="36" />
                            <hole texture="helpBackgroundScroll1" x="573" y="36" flipX="true" />
                            <hole texture="helpBackgroundMenu" x="716" y="562" />
                            <hole texture="helpBackgroundEye" x="10" y="562" />
                            <hole texture="helpBackgroundIndicator" x="[indicatorShiftX]" y="473" show="[needIndicator]" />
                            <hole texture="helpBackgroundIndicator" x="[indicatorShiftX]" y="500" show="[needIndicator]" />
                            <hole texture="helpBackgroundIndicator" x="[indicatorShiftX]" y="526" show="[needIndicator]" />
                        </HelpBackgroundControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="240" height="80">
                    <position x="140" y="300" />
                    <text resourceName="ShopHelp1TabsText" />
                    <arrow>
                        <point x="75" y="60" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="200" height="80">
                    <position x="375" y="180" />
                    <text resourceName="ShopHelp1ScrollText" />
                    <arrow>
                        <point x="165" y="60" />
                        <point x="165" y="180" />
                    </arrow>
                    <arrow>
                        <point x="585" y="60" />
                        <point x="585" y="180" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="200" height="80">
                    <position x="495" y="280" />
                    <text resourceName="ShopHelp1DoneButtonText" />
                    <arrow>
                        <point x="624" y="112" />
                        <point x="624" y="280" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="120" height="96">
                    <position x="720" y="188" />
                    <text resourceName="MainMenuHelp8" />
                    <arrow>
                        <point x="740" y="89" />
                    </arrow>
                </HelpWindowControl>
                <TemplateInstanceControl>
                    <base templateName="EyeIndicatorMenuTemplate" />
                </TemplateInstanceControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
    <Template templateName="ChooseTankHelpPreviewTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.45">
                    <children>
                        <HelpBackgroundControl>
                            <hole texture="helpBackgroundScroll0" x="28" y="300" />
                            <hole texture="helpBackgroundExit" x="692" y="498" />
                            <hole texture="helpBackgroundButton0" x="84" y="104" />
                            <hole texture="helpBackgroundButton0" x="502" y="104" />
                            <hole texture="helpBackgroundButton0" x="623" y="104" />
                        </HelpBackgroundControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="240" height="80">
                    <position x="160" y="405" />
                    <arrow>
                        <point x="63" y="330" />
                        <point x="100" y="330" />
                    </arrow>
                </HelpWindowControl>
                <StaticTextControl>
                    <position x="160" y="430" />
                    <div fontName="White_14" resourceName="ChooseTankHelpPreview1" />
                </StaticTextControl>
                <HelpWindowControl width="240" height="64">
                    <position x="160" y="235" />
                    <arrow>
                        <point x="130" y="133" />
                    </arrow>
                </HelpWindowControl>
                <StaticTextControl>
                    <position x="160" y="248" />
                    <div fontName="White_14" resourceName="ChooseTankHelpPreview2" />
                </StaticTextControl>
                <HelpWindowControl width="240" height="80">
                    <position x="640" y="405" />
                    <arrow>
                        <point x="705" y="501" />
                    </arrow>
                </HelpWindowControl>
                <StaticTextControl>
                    <position x="640" y="430" />
                    <div fontName="White_14" resourceName="ChooseTankHelpPreview3" />
                </StaticTextControl>
                <HelpWindowControl width="340" height="64">
                    <position x="590" y="195" />
                    <arrow>
                        <point x="670" y="133" />
                    </arrow>
                </HelpWindowControl>
                <StaticTextControl>
                    <position x="590" y="208" />
                    <div fontName="White_14" resourceName="ChooseTankHelpPreview4" />
                </StaticTextControl>
                <HelpWindowControl width="340" height="64">
                    <position x="590" y="45" />
                    <arrow>
                        <point x="550" y="106" />
                    </arrow>
                </HelpWindowControl>
                <StaticTextControl>
                    <position x="590" y="58" />
                    <div fontName="White_14" resourceName="ChooseTankHelpPreview5" />
                </StaticTextControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
    <Template templateName="ChooseTankHelpThumbsTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.45">
                    <children>
                        <HelpBackgroundControl>
                            <hole texture="helpBackgroundScroll0" x="28" y="300" />
                            <hole texture="helpBackgroundExit" x="692" y="498" />
                            <hole texture="helpBackgroundButton2" x="322" y="104" />
                        </HelpBackgroundControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="240" height="80">
                    <position x="160" y="405" />
                    <text resourceName="ChooseTankHelpThumbs1" />
                    <arrow>
                        <point x="63" y="330" />
                        <point x="100" y="330" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="240" height="110">
                    <position x="400" y="235" />
                    <text resourceName="ChooseTankHelpThumbs2" />
                    <arrow>
                        <point x="400" y="133" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="240" height="80">
                    <position x="640" y="405" />
                    <text resourceName="ChooseTankHelpThumbs3" />
                    <arrow>
                        <point x="705" y="501" />
                    </arrow>
                </HelpWindowControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
    <Template templateName="BuyTankHelpTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.45">
                    <children>
                        <HelpBackgroundControl>
                            <hole texture="helpBackgroundButton0" x="14" y="562" />
                            <hole texture="helpBackgroundBuyItems" x="91" y="178" />
                        </HelpBackgroundControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="200" height="50">
                    <position x="180" y="520" />
                    <arrow>
                        <point x="42" y="566" />
                        <point x="42" y="520" />
                    </arrow>
                </HelpWindowControl>
                <StaticTextControl valign="true">
                    <position x="180" y="520" />
                    <div fontName="White_14" align="center" resourceName="BuyBackTooltipText" />
                </StaticTextControl>
                <HelpWindowControl width="300" height="90">
                    <position x="400" y="100" />
                    <arrow>
                        <point x="400" y="190" />
                    </arrow>
                </HelpWindowControl>
                <StaticTextControl valign="true">
                    <position x="400" y="100" />
                    <div fontName="White_14" align="center" resourceName="YouCanBuyTooltipText" />
                </StaticTextControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
    <Template templateName="PhotoalbumHelpWithEmail">
        <FixedChildrenListControl>
            <HelpWindowControl width="260" height="80">
                <position x="160" y="170" />
                <text resourceName="hack:Click this button to send the photo" />
                <arrow>
                    <point x="230" y="101" />
                </arrow>
            </HelpWindowControl>
            <HelpWindowControl width="260" height="80">
                <position x="460" y="170" />
                <text resourceName="photoAlbumHelpPreview4" />
                <arrow>
                    <point x="380" y="101" />
                </arrow>
            </HelpWindowControl>
            <HelpWindowControl width="126" height="115">
                <position x="724" y="122" />
                <text resourceName="photoAlbumHelpPreview5" />
                <arrow>
                    <point x="625" y="88" />
                </arrow>
            </HelpWindowControl>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="PhotoalbumHelpWithoutEmail">
        <FixedChildrenListControl>
            <HelpWindowControl width="260" height="80">
                <position x="235" y="180" />
                <text resourceName="photoAlbumHelpPreview4" />
                <arrow>
                    <point x="235" y="101" />
                </arrow>
            </HelpWindowControl>
            <HelpWindowControl width="140" height="110">
                <position x="580" y="190" />
                <text resourceName="photoAlbumHelpPreview5" />
                <arrow>
                    <point x="580" y="101" />
                </arrow>
            </HelpWindowControl>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="PhotoalbumBackWithEmail">
        <HelpBackgroundControl>
            <hole texture="helpBackgroundScroll0" x="112" y="271" />
            <hole texture="helpBackgroundScroll0" x="642" y="271" flipX="true" />
            <hole texture="helpBackgroundExit" x="600" y="486" />
            <hole texture="helpBackgroundButton0" x="531" y="74" />
            <hole texture="helpBackgroundButton1" x="166" y="74" />
            <hole texture="helpBackgroundButton1" x="314" y="74" />
        </HelpBackgroundControl>
    </Template>
    <Template templateName="PhotoalbumBackWithoutEmail">
        <HelpBackgroundControl>
            <hole texture="helpBackgroundScroll0" x="112" y="271" />
            <hole texture="helpBackgroundScroll0" x="642" y="271" flipX="true" />
            <hole texture="helpBackgroundExit" x="600" y="486" />
            <hole texture="helpBackgroundButton0" x="531" y="74" />
            <hole texture="helpBackgroundButton1" x="169" y="74" />
        </HelpBackgroundControl>
    </Template>
    <Template templateName="PhotoAlbumHelpPreviewTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.45">
                    <children>
                        <VariableDrivenSwitchControl>
                            <position x="0" y="0" />
                            <variable name="temp:sendEmail" type="bool" scope="global" defaultValue="false" />
                            <states>
                                <state variableValue="true" templateName="PhotoalbumBackWithEmail" />
                                <state variableValue="false" templateName="PhotoalbumBackWithoutEmail" />
                            </states>
                        </VariableDrivenSwitchControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="260" height="80">
                    <position x="390" y="300" />
                    <text resourceName="photoAlbumHelpPreview1" />
                    <arrow>
                        <point x="145" y="300" />
                    </arrow>
                    <arrow>
                        <point x="649" y="300" />
                    </arrow>
                </HelpWindowControl>
                <VariableDrivenSwitchControl>
                    <position x="0" y="0" />
                    <variable name="temp:sendEmail" type="bool" scope="global" defaultValue="false" />
                    <states>
                        <state variableValue="true" templateName="PhotoalbumHelpWithEmail" />
                        <state variableValue="false" templateName="PhotoalbumHelpWithoutEmail" />
                    </states>
                </VariableDrivenSwitchControl>
                <HelpWindowControl width="260" height="80">
                    <position x="560" y="410" />
                    <text resourceName="photoAlbumHelpPreview3" />
                    <arrow>
                        <point x="614" y="489" />
                    </arrow>
                </HelpWindowControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
    <Template templateName="HelpPhotoAlbumOneScrollTemplate">
        <FixedChildrenListControl>
            <HelpWindowControl width="260" height="80">
                <position x="400" y="230" />
                <text resourceName="PhotoalbumHelp2" />
                <arrow>
                    <point x="135" y="285" />
                    <point x="135" y="230" />
                </arrow>
                <arrow>
                    <point x="656" y="285" />
                    <point x="656" y="230" />
                </arrow>
            </HelpWindowControl>
            <HelpWindowControl width="250" height="112">
                <position x="310" y="370" />
                <text resourceName="NoPhotoHelp" />
            </HelpWindowControl>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="HelpPhotoAlbumScrollAndPhotoTemplate">
        <FixedChildrenListControl>
            <HelpWindowControl width="260" height="80">
                <position x="400" y="230" />
                <text resourceName="PhotoalbumHelp2" />
                <arrow>
                    <point x="135" y="285" />
                    <point x="135" y="230" />
                </arrow>
                <arrow>
                    <point x="656" y="285" />
                    <point x="656" y="230" />
                </arrow>
            </HelpWindowControl>
            <HelpWindowControl width="160" height="128">
                <position x="85" y="420" />
                <text resourceName="photoAlbumHelpPreview5" />
                <arrow>
                    <point x="282" y="330" />
                    <point x="120" y="330" />
                </arrow>
            </HelpWindowControl>
            <HelpWindowControl width="170" height="128">
                <position x="425" y="420" />
                <text resourceName="PhotoalbumHelp3" />
                <arrow>
                    <point x="300" y="400" />
                </arrow>
            </HelpWindowControl>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="PhotoAlbumHelpThumbsTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.45">
                    <children>
                        <HelpBackgroundControl>
                            <hole texture="helpBackgroundScroll0" x="112" y="271" />
                            <hole texture="helpBackgroundScroll0" x="642" y="271" flipX="true" />
                            <hole texture="helpBackgroundExit" x="600" y="486" />
                            <hole x="177" y="353" width="133" height="101" show="[holePhoto]" />
                            <hole texture="helpBackgroundTrash" x="280" y="322" show="[holePhoto]" />
                        </HelpBackgroundControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="260" height="64">
                    <position x="660" y="400" />
                    <text resourceName="PhotoalbumHelp1" />
                    <arrow>
                        <point x="614" y="489" />
                    </arrow>
                </HelpWindowControl>
                <VariableDrivenSwitchControl>
                    <variable name="temp:needHelpPhotoWindow" type="bool" scope="local" defaultValue="false" />
                    <states>
                        <state variableValue="true" templateName="HelpPhotoAlbumScrollAndPhotoTemplate" />
                        <state variableValue="false" templateName="HelpPhotoAlbumOneScrollTemplate" />
                    </states>
                </VariableDrivenSwitchControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
    <Template templateName="HelpWithTimer">
        <HelpBackgroundControl>
            <hole texture="helpBackgroundMoney" x="268" y="554" />
            <hole texture="helpBackgroundMoney" x="479" y="554" />
            <hole texture="helpBackgroundEye" x="10" y="562" />
            <hole texture="helpBackgroundTermo" x="748" y="55" />
        </HelpBackgroundControl>
    </Template>
    <Template templateName="HelpWithNoTimer">
        <HelpBackgroundControl>
            <hole texture="helpBackgroundMoney" x="268" y="554" />
            <hole texture="helpBackgroundMoney" x="479" y="554" />
            <hole texture="helpBackgroundEye" x="10" y="562" />
        </HelpBackgroundControl>
    </Template>
    <Template templateName="GameFieldHelpTemplate">
        <InOutAlphaChangeControl alpha="0.0" time="0.4">
            <messageReceiver name="Help alpha mover" />
            <alpha in="1.0" out="0.0" />
            <children>
                <FixedAlphaControl alphaMul="0.55">
                    <children>
                        <VariableDrivenSwitchControl>
                            <variable name="Relaxed game mode" type="bool" scope="local" defaultValue="false" />
                            <states>
                                <state variableValue="true" templateName="HelpWithNoTimer" />
                                <state variableValue="false" templateName="HelpWithTimer" />
                            </states>
                        </VariableDrivenSwitchControl>
                    </children>
                </FixedAlphaControl>
                <HelpWindowControl width="200" height="144">
                    <position x="580" y="438" />
                    <text resourceName="GamePlayHelpMoney" />
                    <arrow>
                        <point x="540" y="564" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="200" height="144">
                    <position x="320" y="438" />
                    <text resourceName="GamePlayHelpScore" />
                    <arrow>
                        <point x="320" y="564" />
                    </arrow>
                </HelpWindowControl>
                <IfControl variable="not local:Relaxed game mode">
                    <children>
                        <HelpWindowControl width="150" height="144">
                            <position x="640" y="104" />
                            <text resourceName="GameFieldHelpTilesText" />
                            <arrow>
                                <point x="755" y="105" />
                            </arrow>
                        </HelpWindowControl>
                    </children>
                </IfControl>
                <HelpWindowControl width="180" height="96">
                    <position x="100" y="462" />
                    <text resourceName="GamePlayHelpEye" />
                    <arrow>
                        <point x="32" y="566" />
                    </arrow>
                </HelpWindowControl>
                <HelpWindowControl width="200" height="230">
                    <position x="402" y="216" />
                </HelpWindowControl>
                <FixedChildrenListControl>
                    <position x="302" y="116" />
                    <children>
                        <ZoomControl zoom="0.81">
                            <position x="20" y="10" />
                            <children>
                                <ExtendedWaterPlantControl simple="true">
                                    <ground groundLine="0" />
                                    <disallowed centerX="0" centerY="0" />
                                    <layers>
                                        <onFishEffect name="HelpChips" x="40" y="55" minPause="4.0" maxPause="4.0" />
                                    </layers>
                                </ExtendedWaterPlantControl>
                            </children>
                        </ZoomControl>
                        <StaticTextControl>
                            <position x="104" y="65" />
                            <div fontName="White_14" resourceName="GameFieldHelpMatchesText" />
                        </StaticTextControl>
                    </children>
                </FixedChildrenListControl>
                <MessageTransparentControl>
                    <message receiver="lua:HelpFunc" value="hide" />
                </MessageTransparentControl>
            </children>
        </InOutAlphaChangeControl>
    </Template>
</FinalTemplateCollection>
