summaryrefslogblamecommitdiff
path: root/graphics/sprites/npcs/xml/flag-small-l.xml
blob: 20326f1c566ba4a0fcb18c94b17899bbc14ee85d (plain) (tree)
































































                                                                      
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Micksha
Copyright (C) 2019 Evol Online -->

<sprite>
    <imageset name="npc"
              src="graphics/sprites/npcs/sprite/flag-small.png"
              width="32"
              height="64"/>
    <action name="stand" imageset="npc">    
        <animation direction="default">
            <label name="start"/>
            <goto label="static" rand="80"/>
            <goto label="semistatic" rand="50"/>
            <goto label="blowup" rand="100"/>
            <!-- go from static to blowing -->
            <label name="blowup"/>
                <sequence start="0" end="11" delay="150"/>
            <goto label="blowing"/>
            <!-- blowing -->
            <label name="blowing"/>
                <sequence start="6" end="11" delay="150" repeat="10"/>
            <goto label="blowdown" rand="10"/>
            <goto label="blowing-strong" rand="40"/>
            <!-- blowing strong-->
            <label name="blowing-strong"/>
                <sequence start="6" end="11" delay="90" repeat="10"/>
            <goto label="blowing" rand="75"/>
            <!-- go from blowing to blowdown -->
            <label name="blowdown"/>
                <frame index="5" delay="150"/>
                <frame index="4" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="0" delay="500"/>
            <goto label="static" rand="95"/>
            <goto label="blowup" rand="100"/>
            <!-- Static Animation - flag semi-start blowing-->
            <label name="semistatic"/>
                <frame index="0" delay="1500"/>
                <frame index="1" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="1" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="4" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="1" delay="150"/>
            <goto label="blowup" rand="50"/>
            <goto label="static" rand="10"/>
            <goto label="start" rand="50"/>
            <!-- Static Animation - flag hanging-->
            <label name="static"/>
                <frame index="0" delay="2500"/>
                <frame index="1" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="1" delay="150"/>
            <goto label="blowup" rand="20"/>
            <goto label="semistatic" rand="50"/>
            <goto label="start" rand="50"/>
        </animation>
    </action>
</sprite>