mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-03-13 20:19:25 +01:00
select_chapter function improvements
This commit is contained in:
parent
59c229db73
commit
233a801aa5
1 changed files with 12 additions and 2 deletions
|
@ -28,8 +28,16 @@ init python:
|
|||
def select_chapter():
|
||||
global selected_tuple, current_chapter
|
||||
|
||||
selected_tuple = renpy.display_menu(tuples_index)
|
||||
current_chapter = renpy.display_menu(selected_tuple)
|
||||
while True:
|
||||
selected_tuple = renpy.display_menu(tuples_index + [("Go Back", "go_back")])
|
||||
if selected_tuple == "go_back":
|
||||
renpy.jump("chapter_select")
|
||||
|
||||
current_chapter = renpy.display_menu(selected_tuple + [("Go Back", "go_back")])
|
||||
if current_chapter == "go_back":
|
||||
continue
|
||||
else:
|
||||
break
|
||||
|
||||
set_stats()
|
||||
|
||||
|
@ -76,6 +84,8 @@ label chapter_select:
|
|||
"Ending 4":
|
||||
$ anon_score = 4
|
||||
$ fang_score = 4
|
||||
"Exit to main menu":
|
||||
return
|
||||
|
||||
$ lock_scores = True
|
||||
call initstats(anon_score, fang_score) from _call_initstats_2
|
||||
|
|
Loading…
Reference in a new issue