summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-01-25 23:59:01 +0100
committerTreeki <treeki@gmail.com>2013-01-25 23:59:01 +0100
commit319f1ae65bafed165e2a9a3bb5a7433ba9b0b301 (patch)
treed1c0d68730e1224fa90b17ec676922f1101d0be4 /src/koopatlas/core.cpp
parent508fa70b67208ad8481c8673057b6463da2f3cf2 (diff)
downloadkamek-319f1ae65bafed165e2a9a3bb5a7433ba9b0b301.tar.gz
kamek-319f1ae65bafed165e2a9a3bb5a7433ba9b0b301.zip
fixes to the starman handling
Diffstat (limited to '')
-rw-r--r--src/koopatlas/core.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index f130359..c67226e 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -328,8 +328,6 @@ DoStartLevel(GetGameMgr(), &sl);
void dScKoopatlas_c::startMusic() {
dKPMusic::play(GetSaveFile()->GetBlock(-1)->currentMapMusic);
- if (Player_Flags[0] & 1)
- dKPMusic::playStarMusic();
}
@@ -519,6 +517,10 @@ void dScKoopatlas_c::executeState_Normal() {
pathManager.unlockAllPaths(2);
} else if (nowPressed & WPAD_A) {
pathManager.unlockAllPaths(0);
+ SaveBlock *save = GetSaveFile()->GetBlock(-1);
+ for (int w = 0; w < 6; w++)
+ for (int l = 0; l < 6; l++)
+ save->SetLevelCondition(w, l, COND_COIN_ALL);
}
}