summary refs log tree commit diff stats
path: root/res/scripts/hallucination_hot_spring.lua
blob: 5251ab6a2d2c6b53312eed9e503bba98de355ad5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
hallucination_hot_spring = {}

function hallucination_hot_spring.init()
  ShowExpression("water_ionia", "surprise")
end

function hallucination_hot_spring.off_right()
  ChangeMap("hallucination_cliff", "fromLeft")
end

function hallucination_hot_spring.testing_lucas_submerge()
  StartCutscene(CutsceneOptions.DO_NOT_CHANGE_ANIMATION)
  ShowExpression("lucas", "surprise")
  Delay(1000)
  RemoveExpression("lucas")
  Delay(2000)
  SetAnimation("lucas", "submerge!")
  Delay(200)
  PlaySound("splash_submerge.wav")
  WaitForAnimation("lucas")
end

function hallucination_hot_spring.testing_lucas_resurface()
  SetAnimation("lucas", "drown")
  Delay(3000)
  SetAnimation("lucas", "resurface!")
  PlaySound("splash_resurface.wav")
  WaitForAnimation("lucas")
end