Add setup_ending. Endings are now determined and setup the moment branching is required.

This commit is contained in:
2024-10-02 07:27:34 -05:00
parent 3059d469f2
commit c3e365d01c
3 changed files with 26 additions and 21 deletions

View File

@ -447,10 +447,11 @@ label chapter_11:
#Naser Drama
#THIS SECTION IS SCORE DEPENDENT
# Determine ending and set up ending chapters
$ setup_ending(get_ending())
# Doomer ending skips this segment
$ ending_score = get_ending()
if ending_score == 2:
if ending_route_number == 2:
stop music fadeout 3
pause 2
jump lPromAnnouncement
@ -586,9 +587,9 @@ label chapter_11:
Nas "Dont take it the wrong way, but my mind just screamed at me worst case scenario."
pause .5
if ending_score == 4: # Golden
if ending_route_number == 4: # Golden
jump lSortingThings
elif ending_score == 3: # tradwife
elif ending_route_number == 3: # tradwife
jump lMendingThings
else:
jump lBreakingThings # All else fails, go to shooter.
@ -5212,7 +5213,7 @@ label chapter_11:
pause .5
if ending_score == 3: # tradwife
if ending_route_number == 3: # tradwife
"Things are going pretty well. When we discount Trishs weekly attempt to talk with Fang."
@ -5467,7 +5468,7 @@ label chapter_11:
"{cps=*.1}...{/cps}"
# skip this segment if we're doing ending 1
if ending_score == 1: #shooter
if ending_route_number == 1: #shooter
$ next_story_chapter()
# the following segment makes sense in the context of 11B+11C+11D