summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-13 06:04:52 +0100
committerTreeki <treeki@gmail.com>2013-02-13 06:04:52 +0100
commita9d6e00e80065676a243c9a3033e47009488059d (patch)
treeb0eb86ac813174258a9963b68d50bab34ad00b13 /src/koopatlas/core.cpp
parent2686a59694b209fda5297a7bf8003c3210e9ed29 (diff)
downloadkamek-a9d6e00e80065676a243c9a3033e47009488059d.tar.gz
kamek-a9d6e00e80065676a243c9a3033e47009488059d.zip
add W7 to W8 cutscene
Diffstat (limited to '')
-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;