##############
##Characters##
##############

define elise = Character(None, what_prefix="\"", what_suffix="\"")
define katya = Character(None, what_prefix="\"", what_suffix="\"")
define mika = Character(None, what_prefix="\"", what_suffix="\"")
define rosemarie= Character(None, what_prefix="\"", what_suffix="\"")
define sadie = Character(None, what_prefix="\"", what_suffix="\"")
define tisha = Character(None, what_prefix="\"", what_suffix="\"",image="tisha")

define spirit = Character(None, what_prefix="\"", what_suffix="\"")

###########
##Sprites##
###########

##Elise##
image elise lecture = "images/char/elise/lecture.png"
image elise scared = "images/char/elise/scared.png"
image elise serious = "images/char/elise/serious.png"
image elise smile = "images/char/elise/smile.png"
image elise startled = "images/char/elise/startled.png"
image elise uncertain = "images/char/elise/uncertain.png"

##Katya##
image katya annoyed = "images/char/katya/annoyed.png"
image katya big_smile = "images/char/katya/big_smile.png"
image katya fake_sigh = "images/char/katya/fake_sigh.png"
image katya serious = "images/char/katya/serious.png"
image katya smile = "images/char/katya/smile.png"
image katya thoughtful = "images/char/katya/thoughtful.png"

##Mika##
image mika frown = "images/char/mika/frown.png"
image mika glare = "images/char/mika/glare.png"
image mika reluctant = "images/char/mika/reluctant.png"
image mika serious = "images/char/mika/serious.png"
image mika smile = "images/char/mika/smile.png"

##Rosemarie
image rosemarie awkward = "images/char/rosemarie/awkward.png"
image rosemarie awkward_smile = "images/char/rosemarie/awkward_smile.png"
image rosemarie disappointed = "images/char/rosemarie/disappointed.png"
image rosemarie smile = "images/char/rosemarie/smile.png"
image rosemarie startled = "images/char/rosemarie/startled.png"
image rosemarie uncertain = "images/char/rosemarie/uncertain.png"
image rosemarie worried = "images/char/rosemarie/worried.png"

##Sadie##
image sadie annoyed = "images/char/sadie/annoyed.png"
image sadie grin = "images/char/sadie/grin.png"
image sadie scoff = "images/char/sadie/scoff.png"
image sadie serious = "images/char/sadie/serious.png"
image sadie smile = "images/char/sadie/smile.png"

##Tisha##
image side tisha curious = "images/char/tisha/side_curious.png"
image side tisha groan = "images/char/tisha/side_groan.png"
image side tisha sad_smile = "images/char/tisha/side_sad_smile.png"
image side tisha serious = "images/char/tisha/side_serious.png"
image side tisha smile = "images/char/tisha/side_smile.png"
image side tisha startled = "images/char/tisha/side_startled.png"
image side tisha suspicious = "images/char/tisha/side_suspicious.png"
image side tisha very_suspicious = "images/char/tisha/side_very_suspicious.png"

###############
##Backgrounds##
###############

##Ballroom##
image bg ballroom night = "images/back/inn_ballroom.jpg"

##Beach##
image bg beach night = "images/back/beach_night.jpg"

##Beach Path##
image bg beach path night = "images/back/beach_path_night.jpg"

##Courtyard##
image bg inn courtyard night = "images/back/inn_courtyard.jpg"

##Hallway##
image bg inn hallway night = "images/back/inn_hallway.jpg"

##Inn##
image bg inn evening = "images/back/inn_evening.jpg"
image bg inn night = "images/back/inn_night.jpg"

##Lobby##
image bg inn lobby night = "images/back/inn_lobby.jpg"

##Rooms##
image bg inn rooms night = "images/back/inn_rooms.jpg"

##Sky##
image bg sky day = "images/back/sky/day.jpg"
image bg sky evening = "images/back/sky/evening.jpg"
image bg sky night = "images/back/sky/night.jpg"

##Tower##
image bg inn tower night = "images/back/inn_tower.jpg"

##Flat Colors##
image bg black = "#000000"
image bg white = "#FFFFFF"


####################
#Custom Trasitions##
####################
##Custom Dissolve Transitions##
define super_fast_dissolve = Dissolve(0.1)
define fast_dissolve = Dissolve(0.3)
define slow_dissolve = Dissolve(1.0)
define super_slow_dissolve = Dissolve(1.5)

##Door Open/Close Transitions##
define dooropen = ImageDissolve("images/sys/door_open.png", 1.0, 100)
define doorclose = ImageDissolve("images/sys/door_open.png", 1.0, 100, reverse=True)

##Eye Open/Close Transition##
define eyeopen = ImageDissolve("images/sys/eyeopen.png", 1.0, 100)
define eyeopenfast = ImageDissolve("images/sys/eyeopen.png", 0.3, 100)

define eyeclose = ImageDissolve(im.MatrixColor("images/sys/eyeopen.png", im.matrix.invert()), 1.0, 100)
define eyeclosefast = ImageDissolve(im.MatrixColor("images/sys/eyeopen.png", im.matrix.invert()), 0.3, 100)

##Wipe Transitions##
define nice_wipeup = ImageDissolve("images/sys/dissolve_vertical.png", 1.0, 100, reverse=True)
define slow_nice_wipeup = ImageDissolve("images/sys/dissolve_vertical.png", 1.5, 100, reverse=True)

define nice_wipedown = ImageDissolve("images/sys/dissolve_vertical.png", 1.0, 100)

define nice_wiperight = ImageDissolve("images/sys/dissolve_horizontal.png", 1.0, 100)

define nice_wipeleft = ImageDissolve("images/sys/dissolve_horizontal.png", 1.0, 100, reverse=True)
define nice_wipeleft_fast = ImageDissolve("images/sys/dissolve_horizontal.png", 0.5, 100, reverse=True)

##Flashbulb Transitions##
define flash = Fade(0.1, 0.0, 0.5, color="#fff")

####################
##Custom Positions##
####################

define far_left = Transform(xpos=60)
define mid_left = Transform(xpos=260)
define near_left = Transform(xpos=360)
define near_right = Transform(xpos=940)
define mid_right = Transform(xpos=1160)
define far_right = Transform(xpos=15400)


## The game starts here.

label start:
    
    $ seen_lobby_level01 = False
    $ seen_ballroom_level01 = False
    $ seen_courtyard_level01 = False
    
    $ seen_NW_Room_level01 = False
    $ seen_MW_Room_level01 = False
    $ seen_NE_Room_level01 = False
    $ seen_ME_Room_level01 = False
    $ seen_SE_Room_level01 = False
    $ seen_tower_room_level01 = False
    $ seen_hallway_level01 = False
    
    $ seen_lobby_level02 = False
    $ seen_ballroom_level02 = False
    $ seen_courtyard_level02 = False
    
    $ seen_NW_Room_level02 = False
    $ seen_MW_Room_level02 = False
    $ seen_NE_Room_level02 = False
    $ seen_ME_Room_level02 = False
    $ seen_SE_Room_level02 = False
    $ seen_tower_room_level02 = False
    $ seen_hallway_level02 = False
    
    $ seen_ballroom_level03 = False
    $ seen_courtyard_level03 = False
    $ seen_NW_Room_level03 = False
    $ seen_NE_Room_level03 = False
    $ seen_SE_Room_level03 = False
    
    $ in_Lobby = False
    $ in_Ballroom = False
    $ in_Courtyard = False
    
    $ in_Hallway = False
    $ in_NW_Room = False
    $ in_MW_Room = False
    $ in_NE_Room = False
    $ in_ME_Room = False
    $ in_SE_Room = False
    $ in_Tower_Room = False
    
    $ has_Elise = False
    $ has_Sadie = False
    $ has_Rosemarie = False
    $ has_Mika = False

    jump intro_001

    return
