diff --git a/game/scripts/events/labels.rpy b/game/scripts/events/labels.rpy index 3e50bb10..88a78b2f 100644 --- a/game/scripts/events/labels.rpy +++ b/game/scripts/events/labels.rpy @@ -141,18 +141,24 @@ label teleport(position_=None, effect=True, poof_label=None): with d1 hide screen blkfade - show screen heal_animation(teleport_pos, teleport_zorder) + show heal_ani onlayer screens zorder teleport_zorder: + anchor (0.5, 1.0) + pos teleport_pos + zoom 0.5 with d3 #stop music fadeout 1 - hide screen heal_animation + hide heal_animation onlayer screens if poof_label is not None: call expression poof_label - show screen teleport_animation(teleport_pos, teleport_zorder) + show teleport_ani onlayer screens zorder teleport_zorder: + anchor (0.5, 0.7) + pos teleport_pos + zoom 0.5 with d5 - hide screen teleport_animation + hide teleport_animation onlayer screens with d5 if effect: @@ -160,14 +166,6 @@ label teleport(position_=None, effect=True, poof_label=None): return -screen teleport_animation(pos, zorder): - add "teleport_ani" anchor (0.5, 0.7) pos pos zoom 0.5 - zorder zorder - -screen heal_animation(pos, zorder): - add "heal_ani" anchor (0.5, 1.0) pos pos zoom 0.5 - zorder zorder - # Dummy labels. To prevent crashes. # TODO: Remove later. default hermione_action = None