diff --git a/src/debug.c b/src/debug.c index a2d7acb834..6ac93e3fa4 100644 --- a/src/debug.c +++ b/src/debug.c @@ -4911,6 +4911,8 @@ static void DebugAction_Party_BattleSingle(u8 taskId) CreateNPCTrainerPartyFromTrainer(gEnemyParty, GetDebugAiTrainer(), FALSE, BATTLE_TYPE_TRAINER); gBattleTypeFlags = BATTLE_TYPE_TRAINER; + if (sDebugTrainers[DIFFICULTY_NORMAL][DEBUG_TRAINER_AI].battleType == TRAINER_BATTLE_TYPE_DOUBLES) + gBattleTypeFlags |= BATTLE_TYPE_DOUBLE; gDebugAIFlags = sDebugTrainers[DIFFICULTY_NORMAL][DEBUG_TRAINER_AI].aiFlags; gIsDebugBattle = TRUE; gBattleEnvironment = BattleSetup_GetEnvironmentId();