summary refs log tree commit diff stats
path: root/res/scripts/hallucination_beach.lua
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-22 18:26:46 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-22 18:26:46 -0500
commit254ecd9527c105a8e15174bbddf13dc1fb4f554a (patch)
tree5526238166df427b25353389d67f6f5bbaf6ba1f /res/scripts/hallucination_beach.lua
parenteccebd48ac6c311023052386155d685dadfef202 (diff)
downloadtanetane-254ecd9527c105a8e15174bbddf13dc1fb4f554a.tar.gz
tanetane-254ecd9527c105a8e15174bbddf13dc1fb4f554a.tar.bz2
tanetane-254ecd9527c105a8e15174bbddf13dc1fb4f554a.zip
Re-dumped hallucination map/tileset
The hallucination cliff area and the hot spring map have also been dumped now, but they have not been tested and likely need work because they use a third layer, which is not yet supported. However these all share a tileset now, yay! I added collision and run sounds back to the tiles and hopefully it matches up with what it was before. Also the maps have nicer names now.

i.e. big change with no noticeable effects
Diffstat (limited to 'res/scripts/hallucination_beach.lua')
-rw-r--r--res/scripts/hallucination_beach.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/res/scripts/hallucination_beach.lua b/res/scripts/hallucination_beach.lua new file mode 100644 index 0000000..be9277d --- /dev/null +++ b/res/scripts/hallucination_beach.lua
@@ -0,0 +1,38 @@
1hallucination_beach = {}
2
3function hallucination_beach.script0001()
4 StartCutscene()
5 SetAnimation("boney", "barking")
6 local barkingNoise = LoopSound("barking_at_hallucination.wav")
7
8 SetAnimation("flint", "talk")
9 DisplayMessage("* Lucas. It's me, Flint. Your father.\n\f* I found Claus. He's here. After three years I've finally found your brother.\n\fAre you ready to see him again?", "Flint", SpeakerType.MAN)
10 ShowChoice("Yes", "No")
11 WaitForEndOfMessage()
12
13 SetAnimation("boney", "crouch")
14 StopSound(barkingNoise)
15 PlaySound("boney_growl.wav")
16
17 if GetChoiceSelection() == 0 then
18 DisplayMessage("* I can hear the tremor in your voice, Lucas.\n\fLies are little games a mouth plays while the person attached withers away slowly.\n\fClaus is coming, whether you like it or not.\nWill you be able to look him in the eye?", "Flint", SpeakerType.MAN)
19 else
20 DisplayMessage("* Look at me when I'm talking to you, Lucas.\n\f* When Claus gets home, we won't need you anymore.\nYou're nothing compared to him.", "Flint", SpeakerType.MAN)
21 end
22
23 WaitForEndOfMessage()
24 SetAnimation("flint", "still")
25 HideCutsceneBars()
26end
27
28function hallucination_beach.off_right()
29 ChangeMap("hallucination_interior", "fromLeft")
30end
31
32function hallucination_beach.test_trigger()
33 StartCutscene()
34 PlaySound("boney_growl.wav")
35 DisplayMessage("* Hi! Welcome to the funky zone.", "", SpeakerType.NONE)
36 WaitForEndOfMessage()
37 HideCutsceneBars()
38end