To get around this I've been trying to make it so a hide_window function can only be triggered if the say, nvl, or choice window is actually on-screen, but I have been having no luck with this.
- renpy.get_screen("say") is an example given in the documentation, but it always seems to return None, even when say dialogue is on-screen.
- This thread recommends renpy.has_screen but I'm pretty sure that checks if a screen is defined, not on-screen.
- renpy.current_screen().screen_name[0] seems to be the most functional method, but sometimes it returns something other than say/etc despite being on-screen, thus they can't be assured to be at [0].
Can anyone give any suggestions as to either detect the dialogue screens, or another way to make sure the window toggling function doesn't cause graphical glitches?