From e82064ef6bef9a2afe8873bb341904e1b13583b8 Mon Sep 17 00:00:00 2001 From: Map Date: Thu, 3 Oct 2024 07:22:12 -0500 Subject: [PATCH] slightly better documentation for storyline.rpy --- game/src/storyline.rpy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/src/storyline.rpy b/game/src/storyline.rpy index cce1556..029e3eb 100644 --- a/game/src/storyline.rpy +++ b/game/src/storyline.rpy @@ -1,4 +1,4 @@ -init -1 python: +init python: def ending_image(): #0b0000, DCBA, flash the bits with |=, check with & endings = 0b0000 @@ -10,8 +10,7 @@ init -1 python: persistent.old_endings = persistent.endings persistent.endings = endings - -init python: + # Sequences through the chapter_list list with chapter_list_index as a pointer def next_story_chapter(): global chapter_list_index, current_chapter, chapter_list, ending_route_number, chapter_list_length, ending_chapters_determined @@ -33,6 +32,7 @@ init python: else: renpy.call("lending") + # Adds ending chapters to chapter_list and sets the ending number def setup_ending(ending): global ending_route_number, chapter_list, chapter_list_length, ending_chapters_determined