- Move variables out of utility

- Add increase_points functions
This commit is contained in:
Iggy 2024-08-20 22:09:04 -03:00
parent fb64284d84
commit 2d793f86af

View file

@ -9,15 +9,6 @@ label initstats(anon=0, fang=0):
$ fangscore = fang
$ wingStory = False
# Chapter related variables
$ chapter_list_length = len(chapter_list) - 1
$ chapter_list_index = 0 # Index number for the current position of the chapter_list array
$ current_chapter = chapter_list[chapter_list_index] # Store the name of the label as a string
# Ending related variables
$ ending_route_number = None
$ is_end_reached = False
if persistent.enable_debug_scores:
$ debug_story_variables(False)
$ debug_story_variables(True)
@ -54,3 +45,17 @@ init python:
renpy.unwatch(item)
def increase_anon_points():
global anonscore, lock_scores
if not lock_scores:
anonscore += 1
def inscrease_fang_points():
global fangscore, lock_scores
if not lock_scores:
fangscore += 1