<?xml version="1.0"?>
<!DOCTYPE sequence SYSTEM "sidewalkdtd">
<sequence
    name="ghost-black-phase.xml"
    source="*.png">
    <img
        regx="111"
        regy="232"
        name="ghost-black-phase.png"
        w="0"
        h="0">
    </img>
    <framelist>
        <frame
            regx="25"
            regy="91"
            x="0"
            y="0"
            w="49"
            h="55"
            name="black-ghost-phase0001.png">
        </frame>
        <frame
            regx="27"
            regy="99"
            x="49"
            y="0"
            w="53"
            h="63"
            name="black-ghost-phase0002.png">
        </frame>
        <frame
            regx="29"
            regy="107"
            x="102"
            y="0"
            w="56"
            h="71"
            name="black-ghost-phase0003.png">
        </frame>
        <frame
            regx="30"
            regy="115"
            x="158"
            y="0"
            w="59"
            h="78"
            name="black-ghost-phase0004.png">
        </frame>
        <frame
            regx="30"
            regy="121"
            x="217"
            y="0"
            w="59"
            h="78"
            name="black-ghost-phase0005.png">
        </frame>
        <frame
            regx="32"
            regy="115"
            x="276"
            y="0"
            w="63"
            h="86"
            name="black-ghost-phase0006.png">
        </frame>
        <frame
            regx="33"
            regy="109"
            x="339"
            y="0"
            w="65"
            h="94"
            name="black-ghost-phase0007.png">
        </frame>
        <frame
            regx="35"
            regy="103"
            x="404"
            y="0"
            w="69"
            h="102"
            name="black-ghost-phase0008.png">
        </frame>
        <frame
            regx="37"
            regy="105"
            x="473"
            y="0"
            w="72"
            h="129"
            name="black-ghost-phase0009.png">
        </frame>
        <frame
            regx="38"
            regy="107"
            x="545"
            y="0"
            w="75"
            h="143"
            name="black-ghost-phase0010.png">
        </frame>
        <frame
            regx="40"
            regy="109"
            x="620"
            y="0"
            w="78"
            h="144"
            name="black-ghost-phase0011.png">
        </frame>
        <frame
            regx="41"
            regy="111"
            x="698"
            y="0"
            w="81"
            h="145"
            name="black-ghost-phase0012.png">
        </frame>
        <frame
            regx="43"
            regy="113"
            x="779"
            y="0"
            w="84"
            h="146"
            name="black-ghost-phase0013.png">
        </frame>
        <frame
            regx="45"
            regy="93"
            x="863"
            y="0"
            w="88"
            h="125"
            name="black-ghost-phase0014.png">
        </frame>
        <frame
            regx="32"
            regy="83"
            x="951"
            y="0"
            w="63"
            h="113"
            name="black-ghost-phase0015.png">
        </frame>
        <frame
            regx="31"
            regy="56"
            x="1014"
            y="0"
            w="60"
            h="85"
            name="black-ghost-phase0016.png">
        </frame>
        <frame
            regx="30"
            regy="50"
            x="1074"
            y="0"
            w="58"
            h="78"
            name="black-ghost-phase0017.png">
        </frame>
        <frame
            regx="28"
            regy="45"
            x="1132"
            y="0"
            w="55"
            h="72"
            name="black-ghost-phase0018.png">
        </frame>
        <frame
            regx="27"
            regy="40"
            x="1187"
            y="0"
            w="53"
            h="66"
            name="black-ghost-phase0019.png">
        </frame>
        <frame
            regx="26"
            regy="35"
            x="1240"
            y="0"
            w="51"
            h="60"
            name="black-ghost-phase0020.png">
        </frame>
        <frame
            regx="25"
            regy="29"
            x="1291"
            y="0"
            w="49"
            h="53"
            name="black-ghost-phase0021.png">
        </frame>
        <frame
            regx="24"
            regy="24"
            x="1340"
            y="0"
            w="47"
            h="47"
            name="black-ghost-phase0022.png">
        </frame>
    </framelist>
    <script
        luascript="&#10;&#10;local framerate = 60&#10;&#10;function interpframes(framelist)&#10;    xsrc = xSrcPosition&#10;    ysrc = ySrcPosition&#10;    ydst = yDstPosition&#10;&#10;    count = table.getn(framelist);&#10;&#10;    for i = 1,count do&#10;        frame = framelist[i]&#10;        if (alphacount ~= 0) then&#10;            alpha = alpha + alphadelta&#10;            SetAlpha(alpha)&#10;            alphacount = alphacount - 1&#10;            if (alphacount == 0) then&#10;                alphadelta = 0&#10;            end&#10;        end&#10;        t = i / count&#10;        y = (1-t)*ysrc + t*ydst&#10;        SetChildOffset(id, xsrc, y)&#10;        SetCurrentFrame(frame-1)&#10;        WaitLuaNextFrame(framerate)&#10;    end&#10;end&#10;&#10;function DoAnim()&#10;    delay(60)&#10;    frames{1}&#10;&#10;    interpframes{2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}&#10;&#10;    Enable(true)&#10;    done()&#10;&#10;end&#10;&#10;">
    </script>
</sequence>
