summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-03-11 22:33:04 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2021-03-11 22:33:04 -0500
commita10c90788847c67c4dc65197088608a7ed44342b (patch)
treedeab4d6400a815856f2c2d14a4dab6a8833c0599
parente76b9cb3a64f414ee2e11a28f3d421f6efeb06a6 (diff)
downloadtanetane-a10c90788847c67c4dc65197088608a7ed44342b.tar.gz
tanetane-a10c90788847c67c4dc65197088608a7ed44342b.tar.bz2
tanetane-a10c90788847c67c4dc65197088608a7ed44342b.zip
"switch_claus" event pans to focus on Claus
-rw-r--r--res/scripts/hallucination_interior.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/scripts/hallucination_interior.lua b/res/scripts/hallucination_interior.lua index a7bb4ee..9754de3 100644 --- a/res/scripts/hallucination_interior.lua +++ b/res/scripts/hallucination_interior.lua
@@ -281,6 +281,9 @@ function hallucination_interior.lets_switch_places()
281 FaceTowardSprite("switch_claus", "lucas") 281 FaceTowardSprite("switch_claus", "lucas")
282 FacePartyTowardSprite("lucas", "switch_claus") 282 FacePartyTowardSprite("lucas", "switch_claus")
283 Halt("switch_claus") 283 Halt("switch_claus")
284 PanToSprite("switch_claus", 500)
285 WaitForPan()
286
284 SetAnimation("switch_claus", "talk") 287 SetAnimation("switch_claus", "talk")
285 288
286 DisplayMessage("* Let's switch places.\n\f* Let's switch places.\n\f* Lucas. Lucas\nLet's switch places.", "Claus", SpeakerType.MAN) 289 DisplayMessage("* Let's switch places.\n\f* Let's switch places.\n\f* Lucas. Lucas\nLet's switch places.", "Claus", SpeakerType.MAN)