- Sep 26, 2018
- 3,131
- 3,195
i have a screen when I press key it play the sound when it only should play when ryan_lust2 reached 100 but plays when pressing the up and down keys
Python:
screen masturbation_move():
if masturbation_move < 30:
key 'repeat_K_UP':
action SetVariable('masturbation_move', masturbation_move + 1)
key 'K_UP':
action SetVariable('ryan_lust2', ryan_lust2 + 5)
if masturbation_move > 0:
key 'repeat_K_DOWN':
action SetVariable('masturbation_move', masturbation_move - 1)
key 'K_DOWN':
action SetVariable('ryan_lust2', ryan_lust2 + 5)
images code not included
if ryan_lust2 == 100:
$ renpy.music.play("SWFLongScream2.wav", loop = False)
add "images/masturbation/masturbation_cum.png"
timer 2.0 action Hide("masturbation_move"), Call("ryanlustreset2")