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.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index 98c329d..9a24f82 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -405,9 +405,15 @@ int dScKoopatlas_c::onCreate() {
// Prepare this first
SaveBlock *save = GetSaveFile()->GetBlock(-1);
currentMapID = save->current_world;
-
isFirstPlay = (currentMapID == 0) && (settings & 0x80000000);
+ // Are we coming from Kamek cutscene? If so, then do.. some stuff!
+ isAfterKamekCutscene = (settings & 0x40000000);
+ if (isAfterKamekCutscene) {
+ currentMapID = 6; // KoopaPlanet
+ save->current_world = 6;
+ }
+
somethingAboutSound(_8042A788);
return true;