diff options
Diffstat (limited to 'Manifold Garden.asl')
-rw-r--r-- | Manifold Garden.asl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Manifold Garden.asl b/Manifold Garden.asl index 517f55b..14f9ed3 100644 --- a/Manifold Garden.asl +++ b/Manifold Garden.asl | |||
@@ -161,6 +161,7 @@ init { | |||
161 | vars.Helper["gravity"] = gameMan.Make<int>("playerController", rigidCon["_gravityDirection"]); | 161 | vars.Helper["gravity"] = gameMan.Make<int>("playerController", rigidCon["_gravityDirection"]); |
162 | 162 | ||
163 | current.onStartScreen = false; | 163 | current.onStartScreen = false; |
164 | current.onMandalaScene = false; | ||
164 | 165 | ||
165 | return true; | 166 | return true; |
166 | }); | 167 | }); |
@@ -201,7 +202,6 @@ update { | |||
201 | 202 | ||
202 | current.level = vars.Helper.Scenes.Active.Index; | 203 | current.level = vars.Helper.Scenes.Active.Index; |
203 | current.isLoadingGameFromUI = vars.Helper["isLoadingGameFromUI"].Current; | 204 | current.isLoadingGameFromUI = vars.Helper["isLoadingGameFromUI"].Current; |
204 | current.gravity = vars.Helper["gravity"].Current; | ||
205 | 205 | ||
206 | if (!vars.doneFirstLook) { | 206 | if (!vars.doneFirstLook) { |
207 | vars.doneFirstLook = true; | 207 | vars.doneFirstLook = true; |
@@ -225,6 +225,10 @@ update { | |||
225 | } else { | 225 | } else { |
226 | if (current.level != old.level) { | 226 | if (current.level != old.level) { |
227 | current.onStartScreen = vars.startScreens.Contains(vars.Helper.Scenes.Active.Name); | 227 | current.onStartScreen = vars.startScreens.Contains(vars.Helper.Scenes.Active.Name); |
228 | current.onMandalaScene = vars.mandalaScenes.Contains(vars.Helper.Scenes.Active.Name); | ||
229 | } | ||
230 | if (!current.onMandalaScene) { | ||
231 | current.gravity = vars.Helper["gravity"].Current; | ||
228 | } | 232 | } |
229 | if (!vars.studioScreenDone) { | 233 | if (!vars.studioScreenDone) { |
230 | vars.studioScreenDone = !current.isLoadingGameFromUI; | 234 | vars.studioScreenDone = !current.isLoadingGameFromUI; |