summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-25 22:15:04 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-25 22:15:04 -0500
commit88530b61ff77b4e9af38dcd5673d311738f54578 (patch)
treef8c96f4b2244591c8c2f8f9fbd58031892ab6d99 /res/scripts
parentc6c0c1a5a553c66796418b07077465c0c7a89069 (diff)
downloadtanetane-88530b61ff77b4e9af38dcd5673d311738f54578.tar.gz
tanetane-88530b61ff77b4e9af38dcd5673d311738f54578.tar.bz2
tanetane-88530b61ff77b4e9af38dcd5673d311738f54578.zip
Lucas wades into hot spring alone when Ionia is there
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/hallucination_hot_spring.lua30
1 files changed, 20 insertions, 10 deletions
diff --git a/res/scripts/hallucination_hot_spring.lua b/res/scripts/hallucination_hot_spring.lua index 6713e0c..df4084c 100644 --- a/res/scripts/hallucination_hot_spring.lua +++ b/res/scripts/hallucination_hot_spring.lua
@@ -13,16 +13,26 @@ function hallucination_hot_spring.off_right()
13 ChangeMap("hallucination_cliff", "fromLeft") 13 ChangeMap("hallucination_cliff", "fromLeft")
14end 14end
15 15
16function hallucination_hot_spring.testing_lucas_submerge() 16function hallucination_hot_spring.enter_hot_spring()
17 StartCutscene(CutsceneOptions.DO_NOT_CHANGE_ANIMATION) 17 if gamestate.ionia_in_water then
18 ShowExpression("lucas", "surprise") 18 StartCutscene(CutsceneOptions.DO_NOT_CHANGE_ANIMATION)
19 Delay(1000) 19 character():breakUpParty(getPlayerSprite())
20 RemoveExpression("lucas") 20 getSprite(getPlayerSprite()).paused = false
21 Delay(2000) 21 character():moveInDirection(getPlayerSprite(), Direction.UP)
22 SetAnimation("lucas", "submerge!") 22 Delay(500)
23 Delay(200) 23 character():stopDirecting(getPlayerSprite())
24 PlaySound("splash_submerge.wav") 24 getSprite(getPlayerSprite()).paused = true
25 WaitForAnimation("lucas") 25 SetDirection("lucas", Direction.DOWN)
26 Delay(1000)
27 ShowExpression("lucas", "surprise")
28 Delay(1000)
29 RemoveExpression("lucas")
30 Delay(2000)
31 SetAnimation("lucas", "submerge!")
32 Delay(200)
33 PlaySound("splash_submerge.wav")
34 WaitForAnimation("lucas")
35 end
26end 36end
27 37
28function hallucination_hot_spring.testing_lucas_resurface() 38function hallucination_hot_spring.testing_lucas_resurface()