Use the call screen statement in this case
this particular syntax is very precisely documented in the screens page
(cherry picked from commit f51f3a30a1
)
This commit is contained in:
parent
d3a2929b6c
commit
415c90d11c
@ -44,14 +44,11 @@ label desk:
|
|||||||
|
|
||||||
#Screens
|
#Screens
|
||||||
play sound "sounds/scroll.ogg"
|
play sound "sounds/scroll.ogg"
|
||||||
show screen desk_menu
|
call screen desk_menu(_with_none=False) with d1
|
||||||
with d1
|
|
||||||
|
|
||||||
$ renpy.dynamic(__choice = ui.interact())
|
|
||||||
|
|
||||||
hide screen desk_menu
|
|
||||||
#Do NOT add a transition here!
|
#Do NOT add a transition here!
|
||||||
|
|
||||||
|
$ renpy.dynamic(__choice = _return)
|
||||||
|
|
||||||
|
|
||||||
#Hermione
|
#Hermione
|
||||||
if __choice == "hermione" and states.her.busy:
|
if __choice == "hermione" and states.her.busy:
|
||||||
|
Loading…
Reference in New Issue
Block a user