diff --git a/game/src/extra_chapters_menu.rpy b/game/src/extra_chapters_menu.rpy index 4701476..55e5529 100644 --- a/game/src/extra_chapters_menu.rpy +++ b/game/src/extra_chapters_menu.rpy @@ -14,16 +14,8 @@ init python: ] ex_chapters_menu = ex_chapters.copy() - #0b0000, ABCD, flash the bits with |=, check with & if persistent.endings is None: - endings = 0b0000 - #seen image for legacy saves/playthroughs, ending image - _e = 0b1 - for i in range(1, 5): - fn = str(i)+"of4.png" - endings |= (_e * renpy.seen_image(fn)) - _e = _e << 0b1 - persistent.endings = endings + ending_image() pass diff --git a/game/storyline.rpy b/game/storyline.rpy index f80610d..fab4826 100644 --- a/game/storyline.rpy +++ b/game/storyline.rpy @@ -1,5 +1,6 @@ -init python: +init -1 python: def ending_image(): + #0b0000, ABCD, flash the bits with |=, check with & endings = 0b0000 _e = 0b1 for i in range(1, 5):