From 1cf3ccd05b193e6090c3a61c0e2f54524e1a4ba7 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 23 Feb 2021 10:14:36 -0500 Subject: Added connection between hallucination_cliff and hallucination_hot_spring --- res/maps/hallucination_cliff.tmx | 10 +++++++++- res/maps/hallucination_hot_spring.tmx | 12 +++++++++++- res/scripts/hallucination_cliff.lua | 4 ++++ res/scripts/hallucination_hot_spring.lua | 5 +++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 res/scripts/hallucination_hot_spring.lua (limited to 'res') diff --git a/res/maps/hallucination_cliff.tmx b/res/maps/hallucination_cliff.tmx index c7cf718..e6bd65e 100644 --- a/res/maps/hallucination_cliff.tmx +++ b/res/maps/hallucination_cliff.tmx @@ -1,5 +1,5 @@ - + @@ -114,6 +114,14 @@ + + + + + + + + diff --git a/res/maps/hallucination_hot_spring.tmx b/res/maps/hallucination_hot_spring.tmx index b2d9b31..7de1c87 100644 --- a/res/maps/hallucination_hot_spring.tmx +++ b/res/maps/hallucination_hot_spring.tmx @@ -1,5 +1,5 @@ - + @@ -21,6 +21,16 @@ 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,462,463,7,7,14,15,14,15,15,14,1,1,14 + + + + + + + + + + diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua index f351e1e..412ff03 100644 --- a/res/scripts/hallucination_cliff.lua +++ b/res/scripts/hallucination_cliff.lua @@ -3,3 +3,7 @@ hallucination_cliff = {} function hallucination_cliff.off_bottom() ChangeMap("hallucination_interior", "fromTop") end + +function hallucination_cliff.off_left() + ChangeMap("hallucination_hot_spring", "fromRight") +end diff --git a/res/scripts/hallucination_hot_spring.lua b/res/scripts/hallucination_hot_spring.lua new file mode 100644 index 0000000..0abd63e --- /dev/null +++ b/res/scripts/hallucination_hot_spring.lua @@ -0,0 +1,5 @@ +hallucination_hot_spring = {} + +function hallucination_hot_spring.off_right() + ChangeMap("hallucination_cliff", "fromLeft") +end -- cgit 1.4.1