summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClownacy <fred.arnold101@googlemail.com>2015-05-09 14:23:49 +0100
committerClownacy <fred.arnold101@googlemail.com>2015-05-09 14:23:49 +0100
commit66a43d9f8bcbaa0f7afa8059abfd90f33a13d068 (patch)
treef14ac4ab9a97f18c9dc2b066b28fba49f17026e1
parenta310ff0d8f7cc6b36b5db01c3d7fa81c24850513 (diff)
SonLVL - Correcting how the Switch displays
-rw-r--r--SonLVL INI Files/Common/Switch.xml16
-rw-r--r--SonLVL INI Files/MZ/Switch.xml16
-rw-r--r--SonLVL INI Files/obj.ini5
-rw-r--r--SonLVL INI Files/objLZ.ini2
-rw-r--r--SonLVL INI Files/objMZ.ini2
-rw-r--r--SonLVL INI Files/objSYZ.ini2
6 files changed, 38 insertions, 5 deletions
diff --git a/SonLVL INI Files/Common/Switch.xml b/SonLVL INI Files/Common/Switch.xml
new file mode 100644
index 0000000..731435e
--- /dev/null
+++ b/SonLVL INI Files/Common/Switch.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<ObjDef xmlns="http://www.sonicretro.org" Name="Switch" Image="switch">
+ <Images>
+ <ImageFromMappings id="switch">
+ <ArtFile filename="../artnem/Switch.bin" offset="-128" />
+ <MapFile type="ASM" filename="../_maps/Button.asm" frame="0" startpal="0"/>
+ </ImageFromMappings>
+ </Images>
+ <Display>
+ <DisplayOption>
+ <ImageRef image="switch">
+ <Offset Y="3" />
+ </ImageRef>
+ </DisplayOption>
+ </Display>
+</ObjDef> \ No newline at end of file
diff --git a/SonLVL INI Files/MZ/Switch.xml b/SonLVL INI Files/MZ/Switch.xml
new file mode 100644
index 0000000..ff26f53
--- /dev/null
+++ b/SonLVL INI Files/MZ/Switch.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<ObjDef xmlns="http://www.sonicretro.org" Name="Switch" Image="switch">
+ <Images>
+ <ImageFromMappings id="switch">
+ <ArtFile filename="../artnem/MZ Switch.bin"/>
+ <MapFile type="ASM" filename="../_maps/Button.asm" frame="0" startpal="2"/>
+ </ImageFromMappings>
+ </Images>
+ <Display>
+ <DisplayOption>
+ <ImageRef image="switch">
+ <Offset Y="3" />
+ </ImageRef>
+ </DisplayOption>
+ </Display>
+</ObjDef> \ No newline at end of file
diff --git a/SonLVL INI Files/obj.ini b/SonLVL INI Files/obj.ini
index 23e7a66..73ad89a 100644
--- a/SonLVL INI Files/obj.ini
+++ b/SonLVL INI Files/obj.ini
@@ -13,11 +13,6 @@ codefile=Common/Ring.cs
codetype=S1ObjectDefinitions.Common.Ring
[26]
xmlfile=Common/Monitor.xml
-[32]
-name=Switch
-art=../artnem/Switch.bin
-mapasm=../_maps/Button.asm
-frame=1
[36]
xmlfile=Common/Spikes.xml
[3E]
diff --git a/SonLVL INI Files/objLZ.ini b/SonLVL INI Files/objLZ.ini
index c5f0caa..1211360 100644
--- a/SonLVL INI Files/objLZ.ini
+++ b/SonLVL INI Files/objLZ.ini
@@ -18,6 +18,8 @@ mapasm=../_maps/Burrobot.asm
frame=2
pal=0
rememberstate=true
+[32]
+xmlfile=Common/Switch.xml
[52]
name=Moving Block
art=../artnem/LZ 32x16 Block.bin
diff --git a/SonLVL INI Files/objMZ.ini b/SonLVL INI Files/objMZ.ini
index e3986f5..896ea84 100644
--- a/SonLVL INI Files/objMZ.ini
+++ b/SonLVL INI Files/objMZ.ini
@@ -13,6 +13,8 @@ art=../artnem/MZ Green Glass Block.bin
mapasm=../_maps/MZ Large Green Glass Blocks.asm
frame=0
pal=2
+[32]
+xmlfile=MZ/Switch.xml
[33]
name=Movable Block
art=../artnem/MZ Green Pushable Block.bin
diff --git a/SonLVL INI Files/objSYZ.ini b/SonLVL INI Files/objSYZ.ini
index 8f40736..1d5f71c 100644
--- a/SonLVL INI Files/objSYZ.ini
+++ b/SonLVL INI Files/objSYZ.ini
@@ -12,6 +12,8 @@ mapasm=../_maps/Buzz Bomber.asm
frame=0
pal=0
rememberstate=True
+[32]
+xmlfile=Common/Switch.xml
[43]
name=Roller
art=../artnem/Enemy Roller.bin