From 91b67c1e4758033e6fc98e23c781c688e702cf70 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 16 Aug 2021 10:25:55 -0300 Subject: Start refactoring preference screen navigation (To make room for summoning gallery) --- game/screens.rpy | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/game/screens.rpy b/game/screens.rpy index 3eb145b..9a3c5e6 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -385,10 +385,13 @@ screen navigation(): if main_menu: textbutton _("Start") action Start() - else: + elif story_mode or hud_interface: textbutton _("History") action ShowMenu("history") - textbutton _("Preferences") action ShowMenu("preferences") + if not debug: + textbutton _("Preferences") action ShowMenu("preferences") + else: + textbutton _("Prefs") action ShowMenu("preferences") if _in_replay: textbutton _("End Replay") action EndReplay(confirm=True) @@ -396,9 +399,10 @@ screen navigation(): elif not main_menu and (debug or config.developer): textbutton _("Main Menu") action SpheresMainMenu() - textbutton _("About") action ShowMenu("about") + if main_menu or story_mode or hud_interface: + textbutton _("About") action ShowMenu("about") - if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")): + if (renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile"))) and (main_menu or story_mode or hud_interface): ## Help isn't necessary or relevant to mobile devices. textbutton _("Help") action ShowMenu("help") -- cgit v1.2.3-60-g2f50