summaryrefslogtreecommitdiff
path: root/graphics/sprites
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sprites')
-rw-r--r--graphics/sprites/monsters/pet-black-cat.xml52
-rw-r--r--graphics/sprites/monsters/pet-cat.xml8
-rw-r--r--graphics/sprites/monsters/pet-dog.xml11
3 files changed, 6 insertions, 65 deletions
diff --git a/graphics/sprites/monsters/pet-black-cat.xml b/graphics/sprites/monsters/pet-black-cat.xml
index 37d0874e..393128c6 100644
--- a/graphics/sprites/monsters/pet-black-cat.xml
+++ b/graphics/sprites/monsters/pet-black-cat.xml
@@ -2,55 +2,5 @@
<sprite>
<imageset name="base" src="graphics/sprites/monsters/pet-black-cat.png" width="32" height="32" />
- <action name="stand" imageset="base">
- <animation direction="down">
- <sequence start="19" end="19" delay="25" offsetX="-30" />
- </animation>
- <animation direction="left">
- <sequence start="22" end="22" delay="25" offsetX="-30" />
- </animation>
- <animation direction="up">
- <sequence start="13" end="13" delay="25" offsetX="-30" />
- </animation>
- <animation direction="right">
- <sequence start="16" end="16" delay="25" offsetX="-30" />
- </animation>
- </action>
- <action name="attack" imageset="base">
- <animation direction="down">
- <sequence start="19" end="19" delay="150" offsetX="-30" />
- <end />
- </animation>
- <animation direction="left">
- <sequence start="22" end="22" delay="150" offsetX="-30" />
- <end />
- </animation>
- <animation direction="up">
- <sequence start="13" end="13" delay="150" offsetX="-30" />
- <end />
- </animation>
- <animation direction="right">
- <sequence start="16" end="16" delay="150" offsetX="-30" />
- <end />
- </animation>
- </action>
- <action name="walk" imageset="base">
- <animation direction="down">
- <sequence start="18" end="20" delay="150" offsetX="-30" />
- <frame index="19" delay="150" offsetX="-30" />
- </animation>
- <animation direction="left">
- <sequence start="21" end="23" delay="100" offsetX="-30" />
- <frame index="22" delay="150" offsetX="-30" />
- </animation>
- <animation direction="up">
- <sequence start="12" end="14" delay="100" offsetX="-30" />
- <frame index="13" delay="150" offsetX="-30" />
- </animation>
- <animation direction="right">
- <sequence start="15" end="17" delay="100" offsetX="-30" />
- <frame index="16" delay="150" offsetX="-30" />
- </animation>
-
- </action>
+ <include file="graphics/sprites/monsters/pet-cat.xml"/>
</sprite>
diff --git a/graphics/sprites/monsters/pet-cat.xml b/graphics/sprites/monsters/pet-cat.xml
index 34546af2..bf569cad 100644
--- a/graphics/sprites/monsters/pet-cat.xml
+++ b/graphics/sprites/monsters/pet-cat.xml
@@ -4,16 +4,16 @@
<action name="stand" imageset="base">
<animation direction="down">
- <sequence start="19" end="19" delay="25" offsetX="-30" />
+ <frame index="19" delay="25" offsetX="-30"/>
</animation>
<animation direction="left">
- <sequence start="22" end="22" delay="25" offsetX="-30" />
+ <frame index="22" delay="25" offsetX="-30"/>
</animation>
<animation direction="up">
- <sequence start="13" end="13" delay="25" offsetX="-30" />
+ <frame index="13" delay="25" offsetX="-30"/>
</animation>
<animation direction="right">
- <sequence start="16" end="16" delay="25" offsetX="-30" />
+ <frame index="16" delay="25" offsetX="-30"/>
</animation>
</action>
<action name="attack" imageset="base">
diff --git a/graphics/sprites/monsters/pet-dog.xml b/graphics/sprites/monsters/pet-dog.xml
index bdb8e439..e793df39 100644
--- a/graphics/sprites/monsters/pet-dog.xml
+++ b/graphics/sprites/monsters/pet-dog.xml
@@ -58,16 +58,7 @@
</action>
<action name="dead" imageset="base">
- <animation direction="down">
- <frame index="24" offsetX="-32"/>
- </animation>
- <animation direction="left">
- <frame index="24" offsetX="-32"/>
- </animation>
- <animation direction="up">
- <frame index="24" offsetX="-32"/>
- </animation>
- <animation direction="right">
+ <animation direction="default">
<frame index="24" offsetX="-32"/>
</animation>
</action>