about summary refs log tree commit diff stats
path: root/AnodyneArchipelago
diff options
context:
space:
mode:
Diffstat (limited to 'AnodyneArchipelago')
-rw-r--r--AnodyneArchipelago/Plugin.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/AnodyneArchipelago/Plugin.cs b/AnodyneArchipelago/Plugin.cs index 0fb7b60..d5dba43 100644 --- a/AnodyneArchipelago/Plugin.cs +++ b/AnodyneArchipelago/Plugin.cs
@@ -198,7 +198,7 @@ namespace AnodyneArchipelago
198 { 198 {
199 if (__instance.Type.FullName == "AnodyneSharp.Entities.Interactive.DungeonStatue") 199 if (__instance.Type.FullName == "AnodyneSharp.Entities.Interactive.DungeonStatue")
200 { 200 {
201 __result.Position = __instance.Position; 201 __result.Position = __instance.Position + new Vector2(1f, 32f);
202 202
203 string eventName = "StatueMoved_"; 203 string eventName = "StatueMoved_";
204 Facing moveDir = Facing.RIGHT; 204 Facing moveDir = Facing.RIGHT;
@@ -216,12 +216,10 @@ namespace AnodyneArchipelago
216 eventName += "Mountain"; 216 eventName += "Mountain";
217 } 217 }
218 218
219 if (GlobalState.events.GetEvent(eventName) == 0) 219 if (GlobalState.events.GetEvent(eventName) > 0)
220 { 220 {
221 return; 221 __result.Position += Entity.FacingDirection(moveDir) * 32f;
222 } 222 }
223
224 __result.Position += Entity.FacingDirection(moveDir) * 32f;
225 } 223 }
226 else if (__instance.Type.FullName.StartsWith("AnodyneSharp.Entities.Decorations.RedCave")) 224 else if (__instance.Type.FullName.StartsWith("AnodyneSharp.Entities.Decorations.RedCave"))
227 { 225 {