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-03-09 13:49:03 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-03-09 13:49:03 -0500
commitaac3b1bc1ba48b6e50f661b97326ef191cce3e6c (patch)
treedff16d2e26332a09576ff4965d0126070efa1b63 /res/scripts/hallucination_interior.lua
parent032f60bc2686364f4df5bfb6c9faf86b84de31a6 (diff)
downloadtanetane-aac3b1bc1ba48b6e50f661b97326ef191cce3e6c.tar.gz
tanetane-aac3b1bc1ba48b6e50f661b97326ef191cce3e6c.tar.bz2
tanetane-aac3b1bc1ba48b6e50f661b97326ef191cce3e6c.zip
switch_claus starts talking when he gets ya
Kumatora, Duster, and Boney had to be given hitboxes, but they are not considered solid.

#10
Diffstat (limited to 'res/scripts/hallucination_interior.lua')
-rw-r--r--res/scripts/hallucination_interior.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/res/scripts/hallucination_interior.lua b/res/scripts/hallucination_interior.lua index 96b90a6..c265a46 100644 --- a/res/scripts/hallucination_interior.lua +++ b/res/scripts/hallucination_interior.lua
@@ -270,6 +270,7 @@ end
270function hallucination_interior.lets_switch_places() 270function hallucination_interior.lets_switch_places()
271 StartCutscene() 271 StartCutscene()
272 272
273 FaceTowardSprite("switch_claus", "lucas")
273 FacePartyTowardSprite("lucas", "switch_claus") 274 FacePartyTowardSprite("lucas", "switch_claus")
274 Halt("switch_claus") 275 Halt("switch_claus")
275 SetAnimation("switch_claus", "talk") 276 SetAnimation("switch_claus", "talk")
@@ -280,9 +281,13 @@ function hallucination_interior.lets_switch_places()
280 281
281 if GetChoiceSelection() == 0 then 282 if GetChoiceSelection() == 0 then
282 DisplayMessage("* You'd like that, wouldn't you?\n\f* ...no. That's too easy.\n\fI'm not letting you off that easy.\n\f* It should've been you, right?\nYou feel guilty, right?\n\f* Well guess what, Lucas?\n\fYou're going to live with that for the rest of your life.\n\f* You know why?\n\f* Because you're going to live, Lucas!\n\fYOU'RE. GOING. TO. LIVE!", "Claus", SpeakerType.MAN) 283 DisplayMessage("* You'd like that, wouldn't you?\n\f* ...no. That's too easy.\n\fI'm not letting you off that easy.\n\f* It should've been you, right?\nYou feel guilty, right?\n\f* Well guess what, Lucas?\n\fYou're going to live with that for the rest of your life.\n\f* You know why?\n\f* Because you're going to live, Lucas!\n\fYOU'RE. GOING. TO. LIVE!", "Claus", SpeakerType.MAN)
283 SetAnimation("switch_claus", "still")
284 HideCutsceneBars() 284 HideCutsceneBars()
285
286 SetAnimation("switch_claus", "still")
285 else 287 else
286 -- TODO: let's switch places 288 -- TODO: let's switch places
287 end 289 end
290
291 -- Just so we can get away, for now.
292 hallucination_interior.switch_claus_lose_interest()
288end 293end