diff --git a/game/script.rpy b/game/script.rpy index 138b3bf..e912a17 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -22,20 +22,22 @@ init -1 python: init python: # extra music channel so we can do crossfade instead of fadeout followed by fadein - # TODO: function for stopping both channels with optional fadeout so we don't have to keep track of which channel is playing renpy.music.register_channel("music1","music",True,tight=True) renpy.music.register_channel("music2","music",True,tight=True) + # allows playing looped ambience alongside music renpy.music.register_channel("ambient","sfx",True,tight=True) renpy.music.register_channel("ambient1","sfx",True,tight=True) renpy.music.register_channel("ambient2","sfx",True,tight=True) renpy.music.register_channel("ambient3","sfx",True,tight=True) + # No idea what this does if persistent.scroll == True: config.keymap['dismiss'].append('mousedown_4') elif persistent.scroll == None: persistent.scroll = False + # Set vars for bonus chapter completion if persistent.bonus_chapters == None: if renpy.seen_image("big ending"): #for returning players persistent.bonus_chapters = 0b111111111 @@ -44,6 +46,7 @@ init python: persistent.bonus_chapters = 0b0 persistent.old_bonus_chapters = 0b0 + # Randomizes the placement of choice boxes when a choice menu appears def randomize_choices(choices): # fine for size of 2 if (renpy.random.randint(0, 1)):