summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/hallucination_interior.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/res/scripts/hallucination_interior.lua b/res/scripts/hallucination_interior.lua index 9754de3..8851d2d 100644 --- a/res/scripts/hallucination_interior.lua +++ b/res/scripts/hallucination_interior.lua
@@ -12,6 +12,25 @@ function hallucination_interior.off_right()
12 ChangeMap("hallucination_mirror", "fromLeft") 12 ChangeMap("hallucination_mirror", "fromLeft")
13end 13end
14 14
15function hallucination_interior.talk_to_magic()
16 StartCutscene()
17 SetAnimation("magic_dcmc", "talk")
18 DisplayMessage("* Blah blah blah you should come to the show!", "Magic", SpeakerType.MAN)
19 WaitForEndOfMessage()
20
21 SetAnimation("magic_dcmc", "still")
22 Delay(1000)
23
24 UnpauseSprite("magic_dcmc")
25 SetMovementSpeed("magic_dcmc", 1)
26 DirectSpriteToLocation("magic_dcmc", "magic_walkaway", PathfindingOptions.CARDINAL_DIRECTIONS_ONLY)
27 WaitForSpritePath("magic_dcmc")
28
29 DisableSprite()
30
31 HideCutsceneBars()
32end
33
15function hallucination_interior.mailbox1() 34function hallucination_interior.mailbox1()
16 StartCutscene() 35 StartCutscene()
17 DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) 36 DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE)