From fcd97d5989f3d87425c1d39c4d79ea3cb696dc99 Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 6 Dec 2021 00:01:13 -0800 Subject: [PATCH] Don't add TR moves as possible for BDSP origin --- .../Encounters/Generator/Moveset/EncounterMovesetGenerator.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Encounters/Generator/Moveset/EncounterMovesetGenerator.cs b/PKHeX.Core/Legality/Encounters/Generator/Moveset/EncounterMovesetGenerator.cs index fc51a3cec..e630f5e46 100644 --- a/PKHeX.Core/Legality/Encounters/Generator/Moveset/EncounterMovesetGenerator.cs +++ b/PKHeX.Core/Legality/Encounters/Generator/Moveset/EncounterMovesetGenerator.cs @@ -202,7 +202,8 @@ namespace PKHeX.Core moves = moves.Concat(MoveEgg.GetSharedEggMoves(pk, generation)); // TR moves -- default logic checks the TR flags, so we need to add all possible ones here. - moves = moves.Concat(MoveTechnicalMachine.GetAllPossibleRecords(pk.Species, pk.Form)); + if (!pk.BDSP) + moves = moves.Concat(MoveTechnicalMachine.GetAllPossibleRecords(pk.Species, pk.Form)); } if (pk.Species == (int)Species.Shedinja) {