summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/endingMgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/endingMgr.cpp b/src/endingMgr.cpp
index ef40613..09dfc3c 100644
--- a/src/endingMgr.cpp
+++ b/src/endingMgr.cpp
@@ -47,6 +47,11 @@ int dEndingMgr_c::onCreate() {
}
int dEndingMgr_c::onDelete() {
+ nw4r::snd::SoundHandle *fanfare = (nw4r::snd::SoundHandle*)
+ (((u32)SoundRelatedClass) + 0x900);
+ if (fanfare->Exists())
+ fanfare->Stop(60);
+
daBossDemo_c::onDelete();
WLClass::instance->disableDemoControl(true);
return true;
@@ -216,6 +221,7 @@ void dEndingMgr_c::executeState_ThanksPeach() {
if (peach->stage == 1 && peachSt == &peach->StateID_Turn) {
timer++;
if (timer == 1) {
+ // This plays the Peach harp fanfare
sub_8019C390(_8042A788, 6);
}
if (timer > 20) {