diff options
author | Treeki <treeki@gmail.com> | 2013-04-09 02:14:21 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-04-09 02:14:21 +0200 |
commit | 24cd30d1451222d4bd524d165a7470ec9c9e7eec (patch) | |
tree | dd70afd3b50cf58f27077e38431b1c3a77bedf67 /src/koopatlas/core.cpp | |
parent | 33e22f774923bd4b8be3ffe8c62dd28c455790db (diff) | |
download | kamek-24cd30d1451222d4bd524d165a7470ec9c9e7eec.tar.gz kamek-24cd30d1451222d4bd524d165a7470ec9c9e7eec.zip |
add final ending scene; save game and return to title afterwards
Diffstat (limited to 'src/koopatlas/core.cpp')
-rw-r--r-- | src/koopatlas/core.cpp | 7 |
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; |