init 999 python: import re class CompareTrue: def __eq__(self, other): return True COMPARE_OBJ = CompareTrue() GALLERY_CHOOSE_SCREEN_RE = re.compile(ur"(?:gallery|extra)(?:_\d+)?$") GALLERY_CHARACTER_SCREEN_RE = re.compile(ur"\w+gallery(?:_\d+)?$") PERSISTENT_CONDITION_RE = re.compile(ur"\w\d+") EXTRA_CHARACTER_SCREEN_RE = re.compile(ur"\w+extra(?:_\d+)?$") EXTRA_MATERIAL_SCREEN_RE = re.compile(ur"extra_material(?:_\d+)?$") GALLERY_CHOOSE_SCREENS = [] GALLERY_CHARACTER_SCREENS = [] EXTRA_CHARACTER_SCREENS = [] EXTRA_MATERIAL_SCREENS = [] for screen in renpy.display.screen.screens_by_name: if GALLERY_CHOOSE_SCREEN_RE.match(screen): GALLERY_CHOOSE_SCREENS.append(screen) if GALLERY_CHARACTER_SCREEN_RE.match(screen): GALLERY_CHARACTER_SCREENS.append(screen) if EXTRA_CHARACTER_SCREEN_RE.match(screen): EXTRA_CHARACTER_SCREENS.append(screen) if EXTRA_MATERIAL_SCREEN_RE.match(screen): EXTRA_MATERIAL_SCREENS.append(screen) _m1_00gallery__GalleryButton.check_unlock = lambda _: True _m1_00gallery__GalleryImage.check_unlock = lambda *_: True Replay.locked = property(lambda _: False, lambda *_: None) original_getattribute = type(persistent).__getattribute__ def patched_getattribute(self, name): if ( renpy.get_screen(GALLERY_CHOOSE_SCREENS) is not None and u"locked" in name or renpy.get_screen(GALLERY_CHARACTER_SCREENS) is not None and PERSISTENT_CONDITION_RE.match(name) or renpy.get_screen(u"achievements_rewards") is not None and (u"achievement" in name or u"reward" in name) or renpy.get_screen(EXTRA_CHARACTER_SCREENS) is not None and u"anime" in name or renpy.get_screen(EXTRA_MATERIAL_SCREENS) is not None and u"misc" in name or renpy.get_screen(u"first_sex") is not None and u"first_sex" in name ): return COMPARE_OBJ return original_getattribute(self, name) type(persistent).__getattribute__ = patched_getattribute # Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc