From 24cd30d1451222d4bd524d165a7470ec9c9e7eec Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 9 Apr 2013 02:14:21 +0200 Subject: add final ending scene; save game and return to title afterwards --- src/koopatlas/core.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/koopatlas/core.cpp') 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; -- cgit v1.2.3