summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-18 22:24:15 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-18 22:24:15 -0300
commit402a8c38d48fd824b56f85a00b84e09e52df49f0 (patch)
tree8a19017de9f737a8d2f8ebe504d49a090ef25e41
parent4a4017c5d360d09e3f098cb678dc791d86de2728 (diff)
downloadrenpy-402a8c38d48fd824b56f85a00b84e09e52df49f0.tar.gz
renpy-402a8c38d48fd824b56f85a00b84e09e52df49f0.tar.bz2
renpy-402a8c38d48fd824b56f85a00b84e09e52df49f0.tar.xz
renpy-402a8c38d48fd824b56f85a00b84e09e52df49f0.zip
Move some definitions from renpy.rpy to a new file
-rw-r--r--game/atl.rpy34
-rw-r--r--game/renpy.rpy13
2 files changed, 40 insertions, 7 deletions
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: