workarounds to custom error
This commit is contained in:
parent
0868bfbeb7
commit
bc0041c987
|
@ -1916,8 +1916,10 @@ label start:
|
|||
$ next_label = "classroom"
|
||||
jump day_transition
|
||||
else:
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug."
|
||||
$ raise Exception("Impossible day " + day + " for location")
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug. Doing workaround..."
|
||||
$ day = 0
|
||||
jump
|
||||
$ raise Exception("Impossible day " + str(day) + " for location")
|
||||
return
|
||||
|
||||
label classroom:
|
||||
|
@ -2334,8 +2336,10 @@ label start:
|
|||
jump hallway
|
||||
return
|
||||
else:
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug."
|
||||
$ raise Exception("Impossible day " + day + " for location")
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug. Doing workaround..."
|
||||
$ day = 1
|
||||
jump classroom
|
||||
$ raise Exception("Impossible day " + str(day) + " for location")
|
||||
return
|
||||
|
||||
# TODO: SKIPPING THE YUUKA PART OF THE STAGE DIRECTIONS IN THIS AREA FOR NOW
|
||||
|
@ -4749,6 +4753,8 @@ label faculty:
|
|||
show alice angry
|
||||
|
||||
alice "Right. Forgiving."
|
||||
|
||||
jump exam_cancel_check
|
||||
"The students":
|
||||
|
||||
yuuka "Thinking about it, I don't even need to talk to the teachers do I?"
|
||||
|
@ -4786,6 +4792,8 @@ label faculty:
|
|||
show yuuka amused
|
||||
|
||||
yuuka "Stick in a mud as usual, Alice. Don't worry, I'll handle everything."
|
||||
|
||||
jump exam_cancel_check
|
||||
else:
|
||||
|
||||
show yuuka neutral
|
||||
|
@ -4930,8 +4938,10 @@ label faculty:
|
|||
|
||||
jump hallway
|
||||
else:
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug."
|
||||
$ raise Exception("Impossible day " + day + " for location")
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug. Doing workaround..."
|
||||
$ day = 2
|
||||
jump faculty
|
||||
$ raise Exception("Impossible day " + str(day) + " for location")
|
||||
return
|
||||
|
||||
label exam:
|
||||
|
@ -5099,8 +5109,10 @@ label exam:
|
|||
|
||||
jump penultimate_presentation
|
||||
else:
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug."
|
||||
$ raise Exception("Impossible day " + day + " for location")
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug. Doing workaround..."
|
||||
$ day = 3
|
||||
jump exam
|
||||
$ raise Exception("Impossible day " + str(day) + " for location")
|
||||
return
|
||||
|
||||
label penultimate_presentation:
|
||||
|
@ -5722,8 +5734,10 @@ label penultimate_presentation:
|
|||
|
||||
jump ending
|
||||
else:
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug."
|
||||
$ raise Exception("Impossible day " + day + " for location")
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug. Doing workaround..."
|
||||
$ day = 4
|
||||
jump penultimate_presentation
|
||||
$ raise Exception("Impossible day " + str(day) + " for location")
|
||||
return
|
||||
|
||||
label finale:
|
||||
|
@ -6224,12 +6238,14 @@ label day_transition:
|
|||
|
||||
# TODO: Test if this works in this context and still lets us time travel out
|
||||
|
||||
show text "There's nothing here. RETURN to where you came."
|
||||
|
||||
jump pause_loop
|
||||
|
||||
return
|
||||
else:
|
||||
"Day is currently set to [day]. This should be impossible. You've likely encountered a bug."
|
||||
$ raise Exception("Impossible day " + day + " for location")
|
||||
$ raise Exception("Impossible day " + str(day) + " for location")
|
||||
return
|
||||
|
||||
$ renpy.jump(next_label)
|
||||
|
|
Loading…
Reference in New Issue