From dbc28c87fefbceb4eaec522b535f9034b05fe3f2 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 4 Mar 2021 22:11:34 -0500 Subject: Started "Claus falls off ladder" scene --- res/scripts/global.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'res/scripts/global.lua') diff --git a/res/scripts/global.lua b/res/scripts/global.lua index 48084c8..8eddf55 100644 --- a/res/scripts/global.lua +++ b/res/scripts/global.lua @@ -5,3 +5,17 @@ function global.no_problem_here() DisplayMessage("* No problem here.", "", SpeakerType.NONE) HideCutsceneBars() end + +-- for testing the claus joined route +function global.test_join_claus() + CreateAnimatedSpriteAtPosition("join_claus", "claus", 0, 0, "still", Direction.DOWN, SpriteLayer.NORMAL) + + local clausId = getSpriteByAlias("join_claus") + character():addSpriteToParty(getPlayerSprite(), clausId) + + local clausSprite = getSprite(clausId) + clausSprite.persistent = true + + gamestate.claus_joined = true + gamestate.still_has_claus = true +end -- cgit 1.4.1