I want to turn on and off the quick menu according to the conditions. The same script is used in two places: in gameplay and in scene replay.
During game play, the quick menu must be TRUE, and at the end of the scene replay, it must be FALSE.
Can I use the if statement to give the condition at the end of the script, "If it's scene replay, make the quick menu FALSE"?
This is my script's end part.
If it's a scene replay, I'd like to make the quick menu FALSE at the end of the script.
Code: Select all
...........
stop music fadeout 2.0
stop sound
scene black with fadescene
pause 1.0
" if replay()~ "
$ renpy.end_replay()
$ persistent.s000_00h = True
$ persistent.h01a = True
$ persistent.h01b = True
$ persistent.h01c = True
$ persistent.h01d = True
jump s001_00
Thank you so much in advance.