summaryrefslogtreecommitdiff
path: root/src/cutScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cutScene.cpp')
-rw-r--r--src/cutScene.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cutScene.cpp b/src/cutScene.cpp
index cac1f10..c872dd7 100644
--- a/src/cutScene.cpp
+++ b/src/cutScene.cpp
@@ -96,6 +96,7 @@ int dScCutScene_c::onExecute() {
int nsmbwMovieType = settings & 3;
switch (nsmbwMovieType) {
case 0:
+ SaveGame(0, false);
DoSceneChange(WORLD_MAP, 0x80000000, 0);
break;
case 1:
@@ -116,6 +117,12 @@ int dScCutScene_c::onExecute() {
return true;
}
+ frameOffset++;
+
+ if (nowPressed & WPAD_ONE) {
+ OSReport("Currently: Scene %d; Frame %d\n", currentScene, frameOffset);
+ }
+
layout->execAnimations();
layout->update();
}
@@ -168,6 +175,7 @@ int dScCutScene_c::onExecute() {
OSReport("Loaded scene %d\n", currentScene);
nextScene = -1;
+ frameOffset = 0;
}
}