summary refs log tree commit diff stats
path: root/res/scripts/underwater.lua
blob: f0dd29f79f442158d111cc62815da220e8adab77 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
underwater = {}

function underwater.make_lucas_underwater()
  PreventCrouching()
  StartBobbing("lucas")
  SetAnimationSlowdown("lucas", 2)
end

function underwater.leave()
  AllowCrouching()
  StopBobbing("lucas")
  SetAnimationSlowdown("lucas", 1)
end

function underwater.exit_area()
  ExitAreaTransition()
  underwater.leave()
  ChangeMap("hallucination_hot_spring", "exit_area_from_underwater", ChangeMapOptions.DO_NOT_FADE)
  MoveSpriteToWarp("kuma", "exit_area_from_underwater")
  MoveSpriteToWarp("duster", "exit_area_from_underwater")
  MoveSpriteToWarp("boney", "exit_area_from_underwater")
  character():addSpriteToParty(getPlayerSprite(), getSpriteByAlias("kuma"))
  character():addSpriteToParty(getPlayerSprite(), getSpriteByAlias("duster"))
  character():addSpriteToParty(getPlayerSprite(), getSpriteByAlias("boney"))
  RemoveFadeout(1000)
  EnablePlayerControl()
end

function underwater.fish2()
  StartCutscene()
  DisplayMessage("* What are you complaining about?\nYou're so powerful now...\n\fYou owe it all to her.", "Fish", SpeakerType.BOY)
  WaitForEndOfMessage()
  HideCutsceneBars()
end

function underwater.fish3()
  StartCutscene()
  DisplayMessage("* You wanted to become stronger, and now you're stronger. Quit crying.\n\f* Oh wait, that wasn't you.\n\fThat was Claus.\n\fYou were totally willing to stay at home and cry.", "Fish", SpeakerType.BOY)
  WaitForEndOfMessage()
  HideCutsceneBars()
end

function underwater.fish4()
  StartCutscene()
  DisplayMessage("* You think it hurt when your PSI unlocked?\n\fJust picture what it was like for Claus.", "Fish", SpeakerType.BOY)
  WaitForEndOfMessage()
  HideCutsceneBars()
end

function underwater.fish5()
  StartCutscene()
  DisplayMessage("* What did Aeolia do to your brother?\n\fStrangle him?\n\fPush him down a flight of stairs?\n\fMaybe it was in the hot spring just like you.", "Fish", SpeakerType.BOY)
  WaitForEndOfMessage()
  HideCutsceneBars()
end

function underwater.fish6()
  StartCutscene()
  DisplayMessage("* Still, you're probably eager to get your revenge. You don't fool me.\n\f* You have everyone else fooled but you can't fool yourself.", "Fish", SpeakerType.BOY)
  WaitForEndOfMessage()
  HideCutsceneBars()
end

function underwater.fish7()
  StartCutscene()
  DisplayMessage("* There's only three left.\nAnd after Mixolydia, it'll be her.", "Fish", SpeakerType.BOY)
  WaitForEndOfMessage()
  HideCutsceneBars()
end

function underwater.fish8()
  StartCutscene()
  DisplayMessage("* I bet you can't wait to wrap your hands around her needle,\n\fand\n\fpull\n\fas\n\fhard\n\fas\n\fyou\n\fcan.", "Fish", SpeakerType.BOY)
  WaitForEndOfMessage()
  HideCutsceneBars()
end