summary refs log tree commit diff stats
path: root/res/scripts/hallucination_interior.lua
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-22 22:46:44 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-22 22:46:44 -0500
commit3ecf5bbc1c81908bfd3355999a37e8e96e15b8b5 (patch)
tree3cb83a80a1f315fb8bc3a918782be2f02d2799ce /res/scripts/hallucination_interior.lua
parent5e8522258412d05994cc5efa678a1d713cdae718 (diff)
downloadtanetane-3ecf5bbc1c81908bfd3355999a37e8e96e15b8b5.tar.gz
tanetane-3ecf5bbc1c81908bfd3355999a37e8e96e15b8b5.tar.bz2
tanetane-3ecf5bbc1c81908bfd3355999a37e8e96e15b8b5.zip
Generalized upper/lower layer map rendering
Map layers can have a flag on them that specifies that they should be rendered as part of the upper set (rendered above the normal sprite layer but below the above sprite layer).

Also added map connections between hallucination_interior and hallucination_cliff. And named the layers in the map files bc why not.
Diffstat (limited to 'res/scripts/hallucination_interior.lua')
-rw-r--r--res/scripts/hallucination_interior.lua4
1 files changed, 4 insertions, 0 deletions
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)