forked from Cavemanon/SnootGame
Remove unused globals
This commit is contained in:
@ -24,7 +24,7 @@ define tuples_index = [
|
||||
init python:
|
||||
|
||||
def select_chapter():
|
||||
global current_chapter, is_end_reached, quick_menu
|
||||
global current_chapter, quick_menu
|
||||
|
||||
selected_tuple = ()
|
||||
|
||||
@ -41,7 +41,7 @@ init python:
|
||||
|
||||
set_stats()
|
||||
toggle_debug()
|
||||
quick_menu = True
|
||||
quick_menu = True # Restores the bottom quick menu UI
|
||||
|
||||
renpy.call(current_chapter)
|
||||
|
||||
@ -51,7 +51,7 @@ init python:
|
||||
|
||||
|
||||
def set_stats():
|
||||
global chapter_list_length, ending_route_number, is_end_reached
|
||||
global ending_route_number, is_end_reached
|
||||
|
||||
ending_route_number = get_ending()
|
||||
|
||||
@ -89,7 +89,7 @@ label reset_chapter_list:
|
||||
|
||||
|
||||
label chapter_select:
|
||||
$ quick_menu = False
|
||||
$ quick_menu = False # Hides bottom quick menu UI
|
||||
|
||||
$ anon_points = 0
|
||||
$ fang_points = 0
|
||||
@ -126,5 +126,4 @@ label chapter_select:
|
||||
|
||||
$ select_chapter()
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user