Fix debug battle flag never being cleared (#8357)

This commit is contained in:
FosterProgramming 2025-11-27 21:12:23 +01:00 committed by GitHub
parent b037a0eccc
commit 21c4200421
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1299,6 +1299,7 @@ static void CB2_EndTrainerBattle(void)
{
HandleBattleVariantEndParty();
gIsDebugBattle = FALSE;
if (FollowerNPCIsBattlePartner())
{
RestorePartyAfterFollowerNPCBattle();