From 254ecd9527c105a8e15174bbddf13dc1fb4f554a Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 22 Feb 2021 18:26:46 -0500 Subject: 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 --- res/scripts/hallucination_beach.lua | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 res/scripts/hallucination_beach.lua (limited to 'res/scripts/hallucination_beach.lua') 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 @@ +hallucination_beach = {} + +function hallucination_beach.script0001() + StartCutscene() + SetAnimation("boney", "barking") + local barkingNoise = LoopSound("barking_at_hallucination.wav") + + SetAnimation("flint", "talk") + 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) + ShowChoice("Yes", "No") + WaitForEndOfMessage() + + SetAnimation("boney", "crouch") + StopSound(barkingNoise) + PlaySound("boney_growl.wav") + + if GetChoiceSelection() == 0 then + 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) + else + 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) + end + + WaitForEndOfMessage() + SetAnimation("flint", "still") + HideCutsceneBars() +end + +function hallucination_beach.off_right() + ChangeMap("hallucination_interior", "fromLeft") +end + +function hallucination_beach.test_trigger() + StartCutscene() + PlaySound("boney_growl.wav") + DisplayMessage("* Hi! Welcome to the funky zone.", "", SpeakerType.NONE) + WaitForEndOfMessage() + HideCutsceneBars() +end -- cgit 1.4.1