Use the call screen statement in this case

this particular syntax is very precisely documented in the screens page
This commit is contained in:
Gouvernathor 2023-11-14 23:53:14 +01:00
parent 8d4216a476
commit f51f3a30a1
1 changed files with 3 additions and 6 deletions

View File

@ -44,14 +44,11 @@ label desk:
#Screens
play sound "sounds/scroll.ogg"
show screen desk_menu
with d1
$ renpy.dynamic(__choice = ui.interact())
hide screen desk_menu
call screen desk_menu(_with_none=False) with d1
#Do NOT add a transition here!
$ renpy.dynamic(__choice = _return)
#Hermione
if __choice == "hermione" and states.her.busy: