From f51f3a30a192f92361ae0e69ff7c8bc8a7fb7e14 Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Tue, 14 Nov 2023 23:53:14 +0100 Subject: [PATCH] Use the call screen statement in this case this particular syntax is very precisely documented in the screens page --- game/scripts/rooms/main_room/objects/desk.rpy | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/game/scripts/rooms/main_room/objects/desk.rpy b/game/scripts/rooms/main_room/objects/desk.rpy index e78fb7d4..4ca2d5fe 100644 --- a/game/scripts/rooms/main_room/objects/desk.rpy +++ b/game/scripts/rooms/main_room/objects/desk.rpy @@ -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: