diff --git a/src/battle_anim.c b/src/battle_anim.c index f53e424a4d..77ee730c0c 100644 --- a/src/battle_anim.c +++ b/src/battle_anim.c @@ -793,6 +793,10 @@ static void Cmd_end(void) if (!continuousAnim) // May have been used for debug? { + // Debugging - ensure no hanging mon bg tasks + if (FuncIsActiveTask(Task_UpdateMonBg)) + DebugPrintf("Move %d animation still has Task_UpdateMonBg active at the end!", gAnimMoveIndex); + m4aMPlayVolumeControl(&gMPlayInfo_BGM, TRACKS_ALL, 256); if (!IsContest()) {