Move back global variables to storyline

This commit is contained in:
2024-08-20 22:09:17 -03:00
parent 2d793f86af
commit afee5de501

View File

@ -11,6 +11,15 @@ define ending_routes = {
1: ["chapter_11A", "chapter_12A", "chapter_12_5D", "chapter_13A", "chapter_14A"]
}
# Chapter related variables
default chapter_list_length = len(chapter_list) - 1
default chapter_list_index = 0 # Index number for the current position of the chapter_list array
default current_chapter = chapter_list[chapter_list_index] # Store the name of the label as a string
# Ending related variables
default ending_route_number = None
default is_end_reached = False # consider moving variables out of here
init -1 python:
def ending_image():