From b844c6186a108d9b9ffce49950c969e916cf2745 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 28 Feb 2021 12:17:14 -0500 Subject: Added pink shell door opening (and fixed the sprite) Door doesn't go anywhere yet though. --- res/maps/hallucination_cliff.tmx | 10 +++++++++- res/scripts/hallucination_cliff.lua | 4 ++++ res/sprites/entryway.png | Bin 3050 -> 3100 bytes 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/res/maps/hallucination_cliff.tmx b/res/maps/hallucination_cliff.tmx index 8159d54..92dccbb 100644 --- a/res/maps/hallucination_cliff.tmx +++ b/res/maps/hallucination_cliff.tmx @@ -1,5 +1,5 @@ - + @@ -125,6 +125,14 @@ + + + + + + + + diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua index 412ff03..8538ee4 100644 --- a/res/scripts/hallucination_cliff.lua +++ b/res/scripts/hallucination_cliff.lua @@ -7,3 +7,7 @@ end function hallucination_cliff.off_left() ChangeMap("hallucination_hot_spring", "fromRight") end + +function hallucination_cliff.enter_door() + CreateAnimatedSpriteAtWarpPoint("entryway", "entryway", "entryway_appear", "pink_shell", Direction.DOWN, SpriteLayer.NORMAL) +end diff --git a/res/sprites/entryway.png b/res/sprites/entryway.png index d93b535..09c1fea 100644 Binary files a/res/sprites/entryway.png and b/res/sprites/entryway.png differ -- cgit 1.4.1