diff --git a/src/game/mario.c b/src/game/mario.c index 1bbfb38c..67624c0d 100644 --- a/src/game/mario.c +++ b/src/game/mario.c @@ -1599,17 +1599,20 @@ void update_mario_health(struct MarioState *m) { } } - // Play a noise to alert the player when Mario is close to drowning. - if (((m->action & ACT_GROUP_MASK) == ACT_GROUP_SUBMERGED) && (m->health < 0x300)) { - play_sound(SOUND_MOVING_ALMOST_DROWNING, gDefaultSoundArgs); - if (!gRumblePakTimer) { - gRumblePakTimer = 36; - if (is_rumble_finished_and_queue_empty()) { - queue_rumble_data_mario(m, 3, 30); + if (m->playerIndex == 0) { + // Play a noise to alert the player when Mario is close to drowning. + if (((m->action & ACT_GROUP_MASK) == ACT_GROUP_SUBMERGED) && (m->health < 0x300)) { + play_sound(SOUND_MOVING_ALMOST_DROWNING, gDefaultSoundArgs); + if (!gRumblePakTimer) { + gRumblePakTimer = 36; + if (is_rumble_finished_and_queue_empty()) { + queue_rumble_data_mario(m, 3, 30); + } } } - } else { - gRumblePakTimer = 0; + else { + gRumblePakTimer = 0; + } } } }