summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-03-14 15:38:02 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2021-03-14 15:38:02 -0400
commit68c2e17714e7c1cd7b47f65a08933ddff9e5fa2a (patch)
tree2853d53be1e07111b00e29d4c397b490b37572e3 /res/scripts
parent4c8e15722822d0e5e872f872838a8d71af84e1d4 (diff)
downloadtanetane-68c2e17714e7c1cd7b47f65a08933ddff9e5fa2a.tar.gz
tanetane-68c2e17714e7c1cd7b47f65a08933ddff9e5fa2a.tar.bz2
tanetane-68c2e17714e7c1cd7b47f65a08933ddff9e5fa2a.zip
Added Magic (DCMC) to hallucination_interior
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)