init 999 python hide:
    GALLERY_LABELS = {label for label in renpy.get_all_labels() if label.startswith(("gallery", "sexbattle"))}
    original_seen_label = renpy.seen_label
    def patched_seen_label(label):
        if _last_label_ in GALLERY_LABELS:
            return True
        return original_seen_label(label)
    renpy.seen_label = patched_seen_label
    o_callback = config.label_callback
    def log_label(name, abnormal):
        store._last_label_ = name
        if o_callback is not None:
            o_callback(name, abnormal)
    config.label_callback = log_label
    Replay.locked = property(lambda _: False, lambda *_: 0)
