summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/core.cpp')
-rw-r--r--src/koopatlas/core.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index c86c696..810c25d 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -414,6 +414,13 @@ int dScKoopatlas_c::onCreate() {
isAfter8Castle = true;
}
+ isEndingScene = (settings & 0x20000000);
+ if (isEndingScene) {
+ currentMapID = 0;
+ save->current_world = 0;
+ save->current_path_node = 0;
+ }
+
somethingAboutSound(_8042A788);
return true;