summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cutScene.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cutScene.cpp b/src/cutScene.cpp
index 32f4eb3..cac1f10 100644
--- a/src/cutScene.cpp
+++ b/src/cutScene.cpp
@@ -93,7 +93,15 @@ int dScCutScene_c::onExecute() {
if ((currentScene + 1) == data->sceneCount) {
// we're TOTALLY done!
OSReport("playback complete\n");
- DoSceneChange(WORLD_MAP, 0x80000000, 0);
+ int nsmbwMovieType = settings & 3;
+ switch (nsmbwMovieType) {
+ case 0:
+ DoSceneChange(WORLD_MAP, 0x80000000, 0);
+ break;
+ case 1:
+ StartTitleScreenStage(false, 0);
+ break;
+ }
} else {
nextScene = currentScene + 1;
OSReport("switching to scene %d\n", nextScene);