summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--res/scripts/hallucination_hot_spring.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/scripts/hallucination_hot_spring.lua b/res/scripts/hallucination_hot_spring.lua index 4e3ca44..c432eb3 100644 --- a/res/scripts/hallucination_hot_spring.lua +++ b/res/scripts/hallucination_hot_spring.lua
@@ -16,7 +16,7 @@ end
16function hallucination_hot_spring.enter_hot_spring() 16function hallucination_hot_spring.enter_hot_spring()
17 if gamestate.ionia_in_water then 17 if gamestate.ionia_in_water then
18 -- Soft cutscene start; don't show bars but do take away control 18 -- Soft cutscene start; don't show bars but do take away control
19 getSprite(getPlayerSprite()).controllable = false 19 DisablePlayerControl()
20 character():halt(getPlayerSprite()) 20 character():halt(getPlayerSprite())
21 21
22 -- Leave the rest of the party behind and have Lucas wade into the hot spring 22 -- Leave the rest of the party behind and have Lucas wade into the hot spring
@@ -48,10 +48,10 @@ function hallucination_hot_spring.enter_hot_spring()
48 SetPosition("duster", -100, -100) 48 SetPosition("duster", -100, -100)
49 SetPosition("boney", -100, -100) 49 SetPosition("boney", -100, -100)
50 ChangeMap("underwater_start", "spawn", ChangeMapOptions.DO_NOT_FADE) 50 ChangeMap("underwater_start", "spawn", ChangeMapOptions.DO_NOT_FADE)
51 getSprite(getPlayerSprite()).controllable = false 51 DisablePlayerControl()
52 Delay(500) 52 Delay(500)
53 RemoveFadeout(1000) 53 RemoveFadeout(1000)
54 getSprite(getPlayerSprite()).controllable = true 54 EnablePlayerControl()
55 end 55 end
56end 56end
57 57