mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Disallow encounter edge case moves when battleversion reset
This commit is contained in:
parent
8db21c2bd0
commit
3bb4553b24
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ namespace PKHeX.Core
|
|||
|
||||
private static void AddEdgeCaseMoves(List<int> moves, IEncounterable encounter, PKM pkm)
|
||||
{
|
||||
if (pkm is IBattleVersion {BattleVersion: not 0})
|
||||
return;
|
||||
|
||||
switch (encounter)
|
||||
{
|
||||
case EncounterStatic8N r when r.IsDownLeveled(pkm): // Downleveled Raid can happen for shared raids and self-hosted raids.
|
||||
|
|
Loading…
Reference in a new issue