Compare commits

...

2 Commits

Author SHA1 Message Date
Gouvernathor 39fc0c8a76 Use the call screen statement in this case
this particular syntax is very precisely documented in the screens page
2023-11-14 23:53:14 +01:00
Gouvernathor 5925a9298c Better None syntax 2023-11-14 23:52:38 +01:00
1 changed files with 4 additions and 7 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:
@ -241,7 +238,7 @@ screen crystal_ball():
zorder 8
add "interface/desk/crystal_ball.webp" xpos 268 ypos 0
if not ball_hint == None:
if ball_hint is not None:
add "interface/desk/hints/glow.webp" xpos 268+40
add "interface/desk/hints/"+str(ball_hint)+ ".webp" xpos 268+125 xanchor 0.5