Files
IWaniHugThatGator-Demo-Public/game/00src/chapter_select.rpy
2024-04-21 13:45:17 -05:00

52 lines
1.2 KiB
Plaintext

label chapter_select:
scene black
stop ambient1
stop ambient2
stop ambient3
stop sound
stop music
stop music1
camera:
resetcamera()
yanchor 0.0 xanchor 0.0 rotate None zoom 1.0
matrixcolor None
python:
quick_menu = True
notagoodtime_ui = False
textbox_offset = 0
namebox_offset = 0
_window_alpha = 1.0
broken_phone = False
renpy.hide_screen("_phone")
renpy.set_return_stack([]) # This prevents timeloop bugs
call initstats from _call_initstats
label sel_1:
menu:
"Chapter 1":
jump ch1sel
"Chapter 2":
jump ch2sel
"Chapter 3":
jump ch3sel
"Chapter 4":
jump ch4sel
# We do this stupid label thingy so that once chapter 2 ends chapter 3 starts and so on
label ch1sel:
call chapter_1 from _call_chapter_1_1
label ch2sel:
call chapter_2 from _call_chapter_2_1
label ch3sel:
call chapter_3 from _call_chapter_3_1
label ch4sel:
call chapter_4 from _call_chapter_4_1
call end_of_demo from _call_end_of_demo
return