Skip to content

Commit 25950d4

Browse files
fix(minigames): set hypnosis slider target to the center
1 parent 07bf179 commit 25950d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

game/story/minigames/hypnosis.rpy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ init python:
4545
width_max = 1000
4646
self.xsize = width
4747
self.xsize_max = width_max
48-
self.xpos_target = renpy.random.randint(0, width_max - width - self.PADDING)
48+
self.xpos_target = (width_max - width - self.PADDING) // 2
4949
self.speed = speed
5050
self.xpos_current = 0
5151
self.direction = 1

game/story/sessions/session3.rpy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ label session3_hypnosis1:
366366
voice "voice/eden/exhale.ogg"
367367
ryohei "... and out."
368368

369-
ryohei "Match my breathing."
369+
ryohei "Match my breathing.{w=0.3} And try to hit the target at the center."
370370

371371
$ slider.start(speed=10, win="hypnosis_minigame_win1", lose="hypnosis_minigame_lose")
372372

0 commit comments

Comments
 (0)