From ed933607765a6e010689aaaf85184053ff6e8a2b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 13 Feb 2021 12:14:58 -0500 Subject: Added non-looping animations Lucas can get electrocuted now. --- res/scripts/map2.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'res/scripts/map2.lua') diff --git a/res/scripts/map2.lua b/res/scripts/map2.lua index 1b55072..3bc9eff 100644 --- a/res/scripts/map2.lua +++ b/res/scripts/map2.lua @@ -23,3 +23,17 @@ function map2.mailbox1() HideCutsceneBars() end + +function map2.mailbox_lightning() + StartCutscene() + DisplayMessage("* ...?", "", SpeakerType.NONE) + WaitForEndOfMessage() + + SetDirection("lucas", Direction.DOWN) + SetAnimation("lucas", "electrocute!") + WaitForAnimation("lucas") + + DisplayMessage("* It was lightning.\n\fAh.", "", SpeakerType.NONE) + WaitForEndOfMessage() + HideCutsceneBars() +end -- cgit 1.4.1