summary refs log tree commit diff stats
path: root/res/scripts/underwater.lua
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts/underwater.lua')
-rw-r--r--res/scripts/underwater.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/scripts/underwater.lua b/res/scripts/underwater.lua index 0b62ff5..f0dd29f 100644 --- a/res/scripts/underwater.lua +++ b/res/scripts/underwater.lua
@@ -12,6 +12,20 @@ function underwater.leave()
12 SetAnimationSlowdown("lucas", 1) 12 SetAnimationSlowdown("lucas", 1)
13end 13end
14 14
15function underwater.exit_area()
16 ExitAreaTransition()
17 underwater.leave()
18 ChangeMap("hallucination_hot_spring", "exit_area_from_underwater", ChangeMapOptions.DO_NOT_FADE)
19 MoveSpriteToWarp("kuma", "exit_area_from_underwater")
20 MoveSpriteToWarp("duster", "exit_area_from_underwater")
21 MoveSpriteToWarp("boney", "exit_area_from_underwater")
22 character():addSpriteToParty(getPlayerSprite(), getSpriteByAlias("kuma"))
23 character():addSpriteToParty(getPlayerSprite(), getSpriteByAlias("duster"))
24 character():addSpriteToParty(getPlayerSprite(), getSpriteByAlias("boney"))
25 RemoveFadeout(1000)
26 EnablePlayerControl()
27end
28
15function underwater.fish2() 29function underwater.fish2()
16 StartCutscene() 30 StartCutscene()
17 DisplayMessage("* What are you complaining about?\nYou're so powerful now...\n\fYou owe it all to her.", "Fish", SpeakerType.BOY) 31 DisplayMessage("* What are you complaining about?\nYou're so powerful now...\n\fYou owe it all to her.", "Fish", SpeakerType.BOY)