From 402a8c38d48fd824b56f85a00b84e09e52df49f0 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Sat, 18 Dec 2021 22:24:15 -0300
Subject: Move some definitions from renpy.rpy to a new file

---
 game/atl.rpy   | 34 ++++++++++++++++++++++++++++++++++
 game/renpy.rpy | 13 ++++++-------
 2 files changed, 40 insertions(+), 7 deletions(-)
 create mode 100644 game/atl.rpy

diff --git a/game/atl.rpy b/game/atl.rpy
new file mode 100644
index 0000000..febca65
--- /dev/null
+++ b/game/atl.rpy
@@ -0,0 +1,34 @@
+#################################################################################
+#     This file is part of Mana Launcher.
+#     Copyright (C) 2021  Jesusalva <jesusalva@tmw2.org>
+#
+#     Distributed under the MIT license.
+#################################################################################
+# Contains definitions and animations
+
+image TMW2 = "images/TMW2.png"
+image MLP  = "images/mirrorlake.png"
+image DKSD = "images/darkshadow.png"
+image DKBG = "#210"
+#image Aether = "images/aether.png"
+
+define evil = Character("???", color="#f00")
+
+image aethyr1:
+    "aether"
+    alpha 0.6
+    parallel:
+        xalign 0.0
+        linear 15.0 xalign 1.0
+        linear 15.0 xalign 0.0
+        repeat
+
+    parallel:
+        yalign 0.0
+        linear 15.0 yalign 1.0
+        linear 15.0 yalign 0.0
+        repeat
+
+transform bgobj:
+    alpha 0.7
+
diff --git a/game/renpy.rpy b/game/renpy.rpy
index 9cdb545..1c56755 100644
--- a/game/renpy.rpy
+++ b/game/renpy.rpy
@@ -4,13 +4,6 @@
 #
 #     Distributed under the MIT license.
 #################################################################################
-
-image TMW2 = "images/TMW2.png"
-image MLP  = "images/mirrorlake.png"
-image DKSD = "images/darkshadow.png"
-image DKBG = "#210"
-define evil = Character("???", color="#f00")
-
 screen loading():
     zorder 100
 
@@ -194,6 +187,12 @@ label load_world:
                 traceback.print_exc()
                 _return=-1
             MLP_DEST=None
+
+        ## We may need to do a cutscene, first
+        if not persistent.firstlake:
+            call ch1lake
+            $ persistent.firstlake = True
+
         ## Internal Sanitization
         $ stdout("WID Target: %d" % (_return))
         if _return > 0:
-- 
cgit v1.2.3-70-g09d2