łň
~×YKc           @   sr  d  d k  Z  d Z g  Z d Z d Z d Z g  Z d Z e	 Z
 e Z d Z d Z d Z h  Z h  Z e Z g  Z e Z e Z e Z d e f d     YZ d Z d e f d     YZ d Z d e f d     YZ d	 e f d
     YZ d e f d     YZ d e f d     YZ  d e f d     YZ! d e f d     YZ" d e f d     YZ# d  d  Z$ d   Z% d   Z& d S(   i˙˙˙˙Nt    t
   Persistentc           B   s#   e  Z d    Z d   Z d   Z RS(   c         C   s   t  |   i |  d  S(   N(   t   varst   update(   t   selft   data(    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   __setstate__e   s    c         C   s
   t  |   S(   N(   R   (   R   (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   __getstate__h   s    c         C   s   d  S(   N(   t   None(   R   t   attr(    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   __getattr__l   s    (   t   __name__t
   __module__R   R   R
   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR   c   s   		t   Preferencesc           B   s;   e  Z d  Z d   Z d   Z d   Z d   Z d   Z RS(   s<   
    Stores preferences that will one day be persisted.
    c         C   s   t  |  _ t  |  _ d |  _ d |  _ t |  _ t |  _ t |  _ d |  _	 t  |  _
 h  |  _ h  |  _ t d d d d d d d	 d
 d d  |  _ d  S(   Ni    i   t   joy_lefts   Axis 0.0 Negativet	   joy_rights   Axis 0.0 Positivet   joy_ups   Axis 0.1 Negativet   joy_downs   Axis 0.1 Positivet   joy_dismisss
   Button 0.0(   t   Falset
   fullscreent   skip_unseent   text_cpst   afm_timet   Truet
   afm_enablet   soundt   musict   transitionst   skip_after_choicest   volumest   mutet   dictt   joymap(   R   (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   reinitv   s"    											c         C   s<   | d j o t  |  i | <n t |  i | <| |  i | <d  S(   Ni    (   R   R   R   R   (   R   t   mixert   volume(    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt
   set_volume   s    c         C   s   |  i  | S(   N(   R   (   R   R#   (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt
   get_volume   s    c         C   s!   |  i    t |   i |  d  S(   N(   R"   R   R   (   R   t   state(    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR   Ą   s    
c         C   s   |  i    d  S(   N(   R"   (   R   (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   __init__Ľ   s    (   R   R   t   __doc__R"   R%   R&   R   R(   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR   r   s   	 			t   RestartExceptionc           B   s   e  Z d  Z d   Z RS(   s   
    This class will be used to convey to the system that the context has
    been changed, and therefore execution needs to be restarted.
    c         C   s   | |  _  | |  _ d  S(   N(   t   contextst   label(   R   R+   R,   (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR(   ą   s    	(   R   R   R)   R(   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR*   Ť   s   t   FullRestartExceptionc           B   s   e  Z d  Z d d  Z RS(   st   
    An exception of this type forces a hard restart, completely
    destroying the store and config and so on.
    t   end_gamec         C   s   | |  _  d  S(   N(   t   reason(   R   R/   (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR(   ť   s    (   R   R   R)   R(   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR-   ľ   s   t   UtterRestartExceptionc           B   s   e  Z d  Z RS(   st   
    An exception of this type forces an even harder restart, causing
    Ren'Py and the script to be reloaded.
    (   R   R   R)   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR0   ż   s   t   QuitExceptionc           B   s   e  Z d  Z RS(   s   
    An exception of this class will let us force a safe quit, from
    anywhere in the program. Do not pass go, do not collect $200.
    (   R   R   R)   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR1   Ĺ   s   t   JumpExceptionc           B   s   e  Z d  Z RS(   sŽ   
    This should be raised with a label as the only argument. This causes
    the current statement to terminate, and execution to be transferred
    to the named label.
    (   R   R   R)   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR2   Ë   s   t   JumpOutExceptionc           B   s   e  Z d  Z RS(   s   
    This should be raised with a label as the only argument. This exits
    the current context, and then raises a JumpException.
    (   R   R   R)   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR3   Ň   s   t   ParseErrorExceptionc           B   s   e  Z d  Z RS(   s_   
    This is raised when a parse error occurs, after it has been
    reported to the user.
    (   R   R   R)   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyR4   Ř   s   c         C   s   t  |  S(   sj   
    Return the current execution context, or the context at the
    given index if one is specified.
    (   R+   (   t   index(    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   contextŢ   s    c         O   sg   t  i i t t d  } t i |  z |  | |   SWd t i   t i o d t d i
 _ n Xd S(   sď  
    This pushes the current context, and invokes the given python
    function in a new context. When that function returns or raises an
    exception, it removes the new context, and restores the current
    context.

    Additional arguments and keyword arguments are passed to the
    callable.

    Please note that the context so created cannot execute renpy
    code. So exceptions that change the flow of renpy code (like
    the one created by renpy.jump) cause this context to terminate,
    and are handled by the next higher context.

    If you want to execute renpy code from the function, you can call
    it with renpy.call_in_new_context.

    Use this to begin a second interaction with the user while
    inside an interaction.
    i˙˙˙˙N(   t   renpyt	   executiont   ContextR   R+   t   appendt   popt	   interfacet   restart_interactionR   t   scene_listst   focused(   t   callablet   argst   kwargsR6   (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   invoke_in_new_contextć   s    

c      
   O   s,  t  i i t t d  } t i |  | o | t  i _ n d t  i _ | o t  i	 i
 |  t  i _ n d t  i _ z y? | i |   | i   t  i i } | i   t i   | SWnH t  i i j
 o6 } | i   t i   t  i i | i d   n XWd t i o d t d i _ n Xd S(   s5  
    This code creates a new context, and starts executing code from
    that label in the new context. Rollback is disabled in the
    new context. (Actually, it will just bring you back to the
    real context.)

    Use this to begin a second interaction with the user while
    inside an interaction.
    i˙˙˙˙i    N(   R7   R8   R9   R   R+   R:   t   storet   _argsR   t   pythont   RevertableDictt   _kwargst
   goto_labelt   runt   _returnt   pop_all_dynamicR;   t   gameR3   R2   RA   R<   R=   R>   R?   (   R,   RA   RB   R6   t   rvt   e(    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pyt   call_in_new_context  s*    




"
('   R7   R   t   basepatht
   searchpatht   optionst   scriptt   clean_storeR+   R<   R   t
   init_phaseR   t   lintt   logt   exception_infot   stylet   seen_sessiont	   seen_evert   after_rollbackt	   post_initt   less_memoryt   less_updatest
   less_mouset   objectR   t
   persistentR   t   preferencest	   ExceptionR*   R-   R0   R1   R2   R3   R4   R6   RC   RP   (    (    (    s2   D:\Version 1-0-7\Games\Katawa Shoujo\renpy\game.pys   <module>!   sB   7

	"