2024-04-26 23:41:38 +00:00
|
|
|
# NOTE: This entire file will be scrapped once the new map is added.
|
2022-05-16 23:48:22 +00:00
|
|
|
default map_animated = "once"
|
|
|
|
|
|
|
|
define map_scale = 0.35
|
2024-04-26 23:41:38 +00:00
|
|
|
define map_ani_time = 0.8
|
2023-11-15 23:13:42 +00:00
|
|
|
|
2022-05-16 23:48:22 +00:00
|
|
|
transform map_fadein:
|
|
|
|
alpha 0
|
|
|
|
pause (map_ani_time)
|
|
|
|
linear 1 alpha 1
|
|
|
|
|
|
|
|
image map_unfold:
|
|
|
|
"interface/map/anim/map_03.webp"
|
|
|
|
pause map_ani_time/3
|
|
|
|
"interface/map/anim/map_02.webp" with Dissolve(map_ani_time/3)
|
|
|
|
pause map_ani_time/3
|
|
|
|
"interface/map/anim/map_01.webp" with Dissolve(map_ani_time/3)
|
|
|
|
pause map_ani_time/3
|
|
|
|
"interface/map/map.webp" with Dissolve(1)
|
|
|
|
pause 1
|
|
|
|
"interface/map/map.webp"
|
|
|
|
|
2024-04-26 23:41:38 +00:00
|
|
|
label map:
|
|
|
|
call update_character_map_locations
|
|
|
|
call screen map
|
|
|
|
|
|
|
|
$ renpy.dynamic(__choice = _return)
|
|
|
|
|
|
|
|
if __choice == "Close":
|
|
|
|
jump main_room_menu
|
|
|
|
else:
|
|
|
|
call gen_chibi("stand", "desk", "base")
|
|
|
|
with d3
|
|
|
|
call gen_walk(action="leave", speed=1.5)
|
|
|
|
|
|
|
|
jump expression __choice
|
|
|
|
|
|
|
|
screen map():
|
2022-05-16 23:48:22 +00:00
|
|
|
tag map
|
|
|
|
zorder 4
|
|
|
|
|
2024-04-26 23:41:38 +00:00
|
|
|
use close_button_background(keysym="game_menu")
|
|
|
|
|
2022-05-16 23:48:22 +00:00
|
|
|
# Default avoids changing the screen if the animation is toggled quickly
|
|
|
|
default unfold = map_animated
|
|
|
|
|
|
|
|
# Disable animation after first time (can still be toggled)
|
|
|
|
if map_animated == "once":
|
|
|
|
timer map_ani_time+1 action SetVariable("map_animated", False)
|
|
|
|
|
|
|
|
fixed:
|
2024-04-26 23:41:38 +00:00
|
|
|
fit_first True
|
|
|
|
align (0.5, 0.5)
|
2023-11-16 00:34:38 +00:00
|
|
|
|
2022-05-16 23:48:22 +00:00
|
|
|
if unfold:
|
2023-11-16 00:34:38 +00:00
|
|
|
add "map_unfold" zoom map_scale # 588x420
|
|
|
|
else:
|
|
|
|
add "interface/map/map.webp" zoom map_scale # 588x420
|
|
|
|
|
|
|
|
fixed:
|
|
|
|
if unfold:
|
|
|
|
at map_fadein
|
|
|
|
use map_buttons
|
|
|
|
use map_screen_characters
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
screen map_buttons():
|
|
|
|
tag map
|
|
|
|
zorder 4
|
|
|
|
#Office
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 112
|
|
|
|
ypos 234
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_office_idle.webp"
|
|
|
|
hover "interface/map/room_office_hover.webp"
|
|
|
|
action Return("main_room_menu")
|
|
|
|
|
|
|
|
#Gryffindor
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 148
|
|
|
|
ypos 214
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_gryffindor_idle.webp"
|
|
|
|
|
|
|
|
#Ravenclaw
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 286
|
|
|
|
ypos 256
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_ravenclaw_idle.webp"
|
|
|
|
|
|
|
|
#Hufflepuff
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 76
|
|
|
|
ypos 295
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_hufflepuff_idle.webp"
|
|
|
|
|
|
|
|
#Slytherin
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 214
|
|
|
|
ypos 136
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_slytherin_idle.webp"
|
|
|
|
|
|
|
|
#Weasley Store 15 x 15
|
|
|
|
if not item_store_intro_done:
|
2023-11-16 00:34:38 +00:00
|
|
|
add "interface/achievements/glow.webp" xycenter (246, 231) offset (15, 15) zoom 0.15 alpha 0.5 at rotate_circular
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 246
|
|
|
|
ypos 231
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_weasley_store_idle.webp"
|
|
|
|
hover "interface/map/room_weasley_store_hover.webp"
|
|
|
|
action Return("item_store")
|
2024-04-26 23:41:38 +00:00
|
|
|
tooltip "Weasley's Store"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
#Clothing Store
|
|
|
|
if not clothing_store_intro_done:
|
2023-11-16 00:34:38 +00:00
|
|
|
add "interface/achievements/glow.webp" xycenter (462, 231) offset (15, 15) zoom 0.15 alpha 0.5 at rotate_circular
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 462
|
|
|
|
ypos 231
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_clothing_store_idle.webp"
|
|
|
|
hover "interface/map/room_clothing_store_hover.webp"
|
|
|
|
action Return("clothing_store")
|
2024-04-26 23:41:38 +00:00
|
|
|
tooltip "Mafkin's Emporium"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
# Snape's Office
|
2023-04-02 23:48:38 +00:00
|
|
|
if not states.map.snape_office.visited:
|
2023-11-16 00:34:38 +00:00
|
|
|
add "interface/achievements/glow.webp" xycenter (314, 331) offset (15, 15) zoom 0.15 alpha 0.5 at rotate_circular
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 314
|
|
|
|
ypos 331
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_potions_idle.webp"
|
|
|
|
hover "interface/map/room_potions_hover.webp"
|
|
|
|
action Return("snape_office")
|
2024-04-26 23:41:38 +00:00
|
|
|
tooltip "Snape's Office"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
#Room of Requirement
|
2023-03-31 22:41:48 +00:00
|
|
|
if states.map.seventh_floor.unlocked:
|
2023-04-02 23:48:38 +00:00
|
|
|
if not states.map.room_of_requirement.intro_e1:
|
2023-11-16 00:34:38 +00:00
|
|
|
add "interface/achievements/glow.webp" xycenter (116, 160) offset (15, 15) zoom 0.15 alpha 0.5 at rotate_circular
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 116
|
|
|
|
ypos 160
|
2022-05-16 23:48:22 +00:00
|
|
|
action Return("seventh_floor")
|
2023-03-31 22:41:48 +00:00
|
|
|
if not states.map.seventh_floor.visited:
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_ror_empty_idle.webp"
|
|
|
|
hover "interface/map/room_ror_empty_hover.webp"
|
|
|
|
else:
|
|
|
|
idle "interface/map/room_ror_idle.webp"
|
|
|
|
hover "interface/map/room_ror_hover.webp"
|
2024-04-26 23:41:38 +00:00
|
|
|
tooltip "Seventh Floor"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
#Lake
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 131
|
|
|
|
ypos 367
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_boat_house_idle.webp"
|
|
|
|
|
|
|
|
#Forest
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 103
|
|
|
|
ypos 12
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_north_courtyard_idle.webp"
|
|
|
|
|
|
|
|
#Attic
|
2023-03-31 22:41:48 +00:00
|
|
|
if states.her.ev.sealed_scroll.examined:
|
|
|
|
if not states.her.ev.sealed_scroll.sample:
|
2023-11-16 00:34:38 +00:00
|
|
|
add "interface/achievements/glow.webp" xycenter (340, 226) offset (15, 15) zoom 0.15 alpha 0.5 at rotate_circular
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 340
|
|
|
|
ypos 226
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_attic_closed_idle.webp"
|
|
|
|
hover "interface/map/room_attic_closed_hover.webp"
|
|
|
|
action Return("map_attic")
|
2024-04-26 23:41:38 +00:00
|
|
|
tooltip "???"
|
2022-05-16 23:48:22 +00:00
|
|
|
else:
|
|
|
|
imagebutton:
|
2023-11-16 00:34:38 +00:00
|
|
|
xpos 340
|
|
|
|
ypos 226
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/room_attic_open_idle.webp"
|
|
|
|
hover "interface/map/room_attic_open_hover.webp"
|
|
|
|
action Return("map_attic")
|
2024-04-26 23:41:38 +00:00
|
|
|
tooltip Attic
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
# Map animation toggle
|
|
|
|
textbutton "Animation":
|
|
|
|
style gui.theme("check_button")
|
2023-11-16 00:34:38 +00:00
|
|
|
pos (470, 380)
|
2022-05-16 23:48:22 +00:00
|
|
|
selected map_animated
|
|
|
|
tooltip "Toggles map folding animation"
|
|
|
|
action ToggleVariable("map_animated", True, False)
|
|
|
|
|
2023-11-15 23:49:14 +00:00
|
|
|
label set_all_map_locations:
|
|
|
|
call set_her_map_location()
|
|
|
|
call set_lun_map_location()
|
|
|
|
call set_cho_map_location()
|
|
|
|
call set_ast_map_location()
|
|
|
|
call set_sus_map_location()
|
|
|
|
|
|
|
|
call update_character_map_locations
|
|
|
|
return
|
|
|
|
|
2022-05-16 23:48:22 +00:00
|
|
|
label set_her_map_location(location=""):
|
|
|
|
|
|
|
|
if location != "":
|
|
|
|
if location == "library":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.her.map_location = "library"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location in ["gryffindor_room","gryff_room","room_g"]:
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.her.map_location = "room_g"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location in ["slytherin_room","slyth_room","room_s"]:
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.her.map_location = "room_s"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location == "great_hall":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.her.map_location = "great_hall"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location == "courtyard":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.her.map_location = "courtyard"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
else: #Random
|
2023-03-31 22:41:48 +00:00
|
|
|
if states.her.level < 11:
|
2024-04-26 23:41:38 +00:00
|
|
|
$ states.her.map_location = states.env.random.choice(("library", "library", "great_hall", "room_g", "room_g"))
|
2022-05-16 23:48:22 +00:00
|
|
|
else:
|
2024-04-25 19:15:36 +00:00
|
|
|
if states.her.status.blowjob == True and states.env.weather in ("clear", "cloudy") and not states.env.daytime and not states.her.busy:
|
2023-11-15 23:13:42 +00:00
|
|
|
$ states.her.map_location = "forest"
|
|
|
|
|
|
|
|
elif states.her.public_level < 12:
|
2024-04-26 23:41:38 +00:00
|
|
|
$ states.her.map_location = states.env.random.choice(("great_hall", "courtyard", "room_g", "room_g", "room_g"))
|
2023-11-15 23:13:42 +00:00
|
|
|
else:
|
2024-04-26 23:41:38 +00:00
|
|
|
$ states.her.map_location = states.env.random.choice(("room_s", "courtyard", "room_g", "room_g", "room_g"))
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2023-11-15 23:49:14 +00:00
|
|
|
if location:
|
|
|
|
call update_character_map_locations
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
label set_lun_map_location(location = ""):
|
|
|
|
|
|
|
|
if location != "":
|
|
|
|
if location == "greenhouse":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.lun.map_location = "greenhouse"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location == "forest":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.lun.map_location = "forest"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location in ["ravenclaw_room","raven_room","room_r"]:
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.lun.map_location = "room_r"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
else: #Random
|
2024-04-26 23:41:38 +00:00
|
|
|
$ states.lun.map_location = states.env.random.choice(("greenhouse", "forest", "forest", "room_r", "room_r"))
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2023-11-15 23:49:14 +00:00
|
|
|
if location:
|
|
|
|
call update_character_map_locations
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
label set_ast_map_location(location = ""):
|
|
|
|
if location != "":
|
|
|
|
if location == "courtyard":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.ast.map_location = "courtyard"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location in ["slytherin_room","slyth_room","room_s"]:
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.ast.map_location = "room_s"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location in ["defense_classroom"]:
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.ast.map_location = "defense"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
else: #Random
|
2024-04-26 23:41:38 +00:00
|
|
|
$ states.ast.map_location = states.env.random.choice(("courtyard", "courtyard", "room_s", "room_s", "room_s"))
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2023-11-15 23:49:14 +00:00
|
|
|
if location:
|
|
|
|
call update_character_map_locations
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
label set_sus_map_location(location = ""):
|
|
|
|
if location != "":
|
|
|
|
if location == "great_hall":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.sus.map_location = "great_hall"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location in ["hufflepuff_room","huffl_room","room_h"]:
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.sus.map_location = "room_r"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
else: #Random
|
2024-04-26 23:41:38 +00:00
|
|
|
$ states.sus.map_location = states.env.random.choice(("great_hall", "great_hall", "room_h", "room_h", "room_h"))
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2023-11-15 23:49:14 +00:00
|
|
|
if location:
|
|
|
|
call update_character_map_locations
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
label set_cho_map_location(location = ""):
|
|
|
|
if location != "":
|
|
|
|
if location == "training_grounds":
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.cho.map_location = "training_grounds"
|
2022-05-16 23:48:22 +00:00
|
|
|
elif location in ["ravenclaw_room","raven_room","room_r"]:
|
2023-04-02 23:48:38 +00:00
|
|
|
$ states.cho.map_location = "room_r"
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
else: #Random
|
2024-04-26 23:41:38 +00:00
|
|
|
$ states.cho.map_location = states.env.random.choice(("training_grounds", "training_grounds", "room_r", "room_r", "room_r"))
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2023-11-15 23:49:14 +00:00
|
|
|
if location:
|
|
|
|
call update_character_map_locations
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
label update_character_map_locations:
|
2023-11-15 23:13:42 +00:00
|
|
|
if states.her.map_location == "library":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ her_map_xpos = 455
|
2022-05-16 23:48:22 +00:00
|
|
|
$ her_map_ypos = 94
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.her.map_location == "room_g":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ her_map_xpos = 110
|
2022-05-16 23:48:22 +00:00
|
|
|
$ her_map_ypos = 212
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.her.map_location == "room_s":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ her_map_xpos = 210
|
2022-05-16 23:48:22 +00:00
|
|
|
$ her_map_ypos = 184
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.her.map_location == "great_hall":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ her_map_xpos = 70
|
2022-05-16 23:48:22 +00:00
|
|
|
$ her_map_ypos = 240
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.her.map_location == "courtyard":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ her_map_xpos = 444
|
2022-05-16 23:48:22 +00:00
|
|
|
$ her_map_ypos = 216
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.her.map_location == "forest":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ her_map_xpos = 60
|
2022-05-16 23:48:22 +00:00
|
|
|
$ her_map_ypos = 40
|
|
|
|
|
|
|
|
#Luna
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.lun.map_location == "room_r":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ lun_map_xpos = 306
|
2022-05-16 23:48:22 +00:00
|
|
|
$ lun_map_ypos = 242
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.lun.map_location == "forest":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ lun_map_xpos = 200
|
2022-05-16 23:48:22 +00:00
|
|
|
$ lun_map_ypos = 50
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.lun.map_location == "greenhouse":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ lun_map_xpos = 450
|
2022-05-16 23:48:22 +00:00
|
|
|
$ lun_map_ypos = 320
|
|
|
|
|
|
|
|
#Astoria
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.ast.map_location == "room_s":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ ast_map_xpos = 246
|
2022-05-16 23:48:22 +00:00
|
|
|
$ ast_map_ypos = 118
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.ast.map_location == "courtyard":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ ast_map_xpos = 404
|
2022-05-16 23:48:22 +00:00
|
|
|
$ ast_map_ypos = 254
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.ast.map_location == "defense": #Event
|
2023-11-16 00:34:38 +00:00
|
|
|
$ ast_map_xpos = 300
|
2022-05-16 23:48:22 +00:00
|
|
|
$ ast_map_ypos = 190
|
|
|
|
|
|
|
|
#Susan
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.sus.map_location == "room_h":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ sus_map_xpos = 130
|
2022-05-16 23:48:22 +00:00
|
|
|
$ sus_map_ypos = 320
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.sus.map_location == "great_hall":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ sus_map_xpos = 70
|
2022-05-16 23:48:22 +00:00
|
|
|
$ sus_map_ypos = 280
|
|
|
|
|
|
|
|
#Cho
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.cho.map_location == "room_r":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ cho_map_xpos = 264
|
2022-05-16 23:48:22 +00:00
|
|
|
$ cho_map_ypos = 276
|
2023-11-15 23:13:42 +00:00
|
|
|
elif states.cho.map_location == "training_grounds":
|
2023-11-16 00:34:38 +00:00
|
|
|
$ cho_map_xpos = 520
|
2022-05-16 23:48:22 +00:00
|
|
|
$ cho_map_ypos = 50
|
|
|
|
|
|
|
|
#Tonks
|
2023-11-16 00:34:38 +00:00
|
|
|
$ ton_map_xpos = 318
|
2022-05-16 23:48:22 +00:00
|
|
|
$ ton_map_ypos = 156
|
|
|
|
|
|
|
|
#Snape
|
2024-04-25 18:49:09 +00:00
|
|
|
if states.env.daytime:
|
2023-11-16 00:34:38 +00:00
|
|
|
$ sna_map_xpos = 365
|
2022-05-16 23:48:22 +00:00
|
|
|
$ sna_map_ypos = 270
|
|
|
|
else:
|
2023-11-16 00:34:38 +00:00
|
|
|
$ sna_map_xpos = 368
|
2022-05-16 23:48:22 +00:00
|
|
|
$ sna_map_ypos = 348
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
screen map_screen_characters():
|
|
|
|
tag map
|
|
|
|
zorder 5
|
|
|
|
|
|
|
|
#Hermione
|
2023-03-31 22:41:48 +00:00
|
|
|
if states.her.unlocked:
|
2023-11-15 23:13:42 +00:00
|
|
|
if states.her.map_location == "forest": # Mark forest event.
|
2023-11-16 00:34:38 +00:00
|
|
|
add "interface/achievements/glow.webp" xycenter (her_map_xpos, her_map_ypos) zoom 0.15 alpha 0.5 at rotate_circular
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2024-03-25 14:57:36 +00:00
|
|
|
xcenter her_map_xpos
|
|
|
|
ycenter her_map_ypos
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/name_hermione.webp"
|
|
|
|
hover "interface/map/name_hermione_hover.webp"
|
2024-04-26 23:41:38 +00:00
|
|
|
action (Return("hermione_map_BJ") if states.her.map_location else None)
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
#Luna
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.lun.unlocked:
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2024-03-25 14:57:36 +00:00
|
|
|
xcenter lun_map_xpos
|
|
|
|
ycenter lun_map_ypos
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/name_luna.webp"
|
|
|
|
hover "interface/map/name_luna_hover.webp"
|
|
|
|
|
|
|
|
#Astoria
|
2023-03-31 23:28:37 +00:00
|
|
|
if states.ast.unlocked:
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2024-03-25 14:57:36 +00:00
|
|
|
xcenter ast_map_xpos
|
|
|
|
ycenter ast_map_ypos
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/name_astoria.webp"
|
|
|
|
hover "interface/map/name_astoria_hover.webp"
|
|
|
|
|
|
|
|
#Susan
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.sus.unlocked:
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2024-03-25 14:57:36 +00:00
|
|
|
xcenter sus_map_xpos
|
|
|
|
ycenter sus_map_ypos
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/name_susan.webp"
|
|
|
|
hover "interface/map/name_susan_hover.webp"
|
|
|
|
|
|
|
|
#Cho
|
2023-03-31 22:41:48 +00:00
|
|
|
if states.cho.unlocked:
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2024-03-25 14:57:36 +00:00
|
|
|
xcenter cho_map_xpos
|
|
|
|
ycenter cho_map_ypos
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/name_cho.webp"
|
|
|
|
hover "interface/map/name_cho_hover.webp"
|
|
|
|
|
|
|
|
#Snape
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.sna.unlocked:
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2024-03-25 14:57:36 +00:00
|
|
|
xcenter sna_map_xpos
|
|
|
|
ycenter sna_map_ypos
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/name_snape.webp"
|
|
|
|
hover "interface/map/name_snape_hover.webp"
|
|
|
|
|
|
|
|
#Tonks
|
2023-04-02 23:48:38 +00:00
|
|
|
if states.ton.unlocked:
|
2022-05-16 23:48:22 +00:00
|
|
|
imagebutton:
|
2024-03-25 14:57:36 +00:00
|
|
|
xcenter ton_map_xpos
|
|
|
|
ycenter ton_map_ypos
|
2022-05-16 23:48:22 +00:00
|
|
|
idle "interface/map/name_tonks.webp"
|
|
|
|
hover "interface/map/name_tonks_hover.webp"
|