summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/hallucination_cliff.lua5
-rw-r--r--res/scripts/hallucination_interior.lua4
2 files changed, 9 insertions, 0 deletions
diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua new file mode 100644 index 0000000..f351e1e --- /dev/null +++ b/res/scripts/hallucination_cliff.lua
@@ -0,0 +1,5 @@
1hallucination_cliff = {}
2
3function hallucination_cliff.off_bottom()
4 ChangeMap("hallucination_interior", "fromTop")
5end
diff --git a/res/scripts/hallucination_interior.lua b/res/scripts/hallucination_interior.lua index 941f0a1..bd075f1 100644 --- a/res/scripts/hallucination_interior.lua +++ b/res/scripts/hallucination_interior.lua
@@ -4,6 +4,10 @@ function hallucination_interior.off_left()
4 ChangeMap("hallucination_beach", "fromRight") 4 ChangeMap("hallucination_beach", "fromRight")
5end 5end
6 6
7function hallucination_interior.off_top()
8 ChangeMap("hallucination_cliff", "fromBottom")
9end
10
7function hallucination_interior.mailbox1() 11function hallucination_interior.mailbox1()
8 StartCutscene() 12 StartCutscene()
9 DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) 13 DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE)