Maus/Dudun 25->100 odds

What a confusing optimization
This commit is contained in:
Kurt 2022-11-25 14:49:51 -08:00
parent 00e174d240
commit ddef07a4c2
2 changed files with 8 additions and 8 deletions

View file

@ -96,10 +96,10 @@ public readonly record struct EvolutionMethod(EvolutionType Method, ushort Speci
// Version checks come in pairs, check for any pair match
LevelUpVersion or LevelUpVersionDay or LevelUpVersionNight when ((pk.Version & 1) != (Argument & 1) && pk.IsUntraded) => skipChecks,
LevelUpKnowMoveEC25 when pk.EncryptionConstant % 25 != 0 => skipChecks,
LevelUpKnowMoveECElse when pk.EncryptionConstant % 25 == 0 => skipChecks,
LevelUpInBattleEC25 when pk.EncryptionConstant % 25 != 0 => skipChecks,
LevelUpInBattleECElse when pk.EncryptionConstant % 25 == 0 => skipChecks,
LevelUpKnowMoveEC100 when pk.EncryptionConstant % 100 != 0 => skipChecks,
LevelUpKnowMoveECElse when pk.EncryptionConstant % 100 == 0 => skipChecks,
LevelUpInBattleEC100 when pk.EncryptionConstant % 100 != 0 => skipChecks,
LevelUpInBattleECElse when pk.EncryptionConstant % 100 == 0 => skipChecks,
_ => true,
};

View file

@ -61,13 +61,13 @@ public enum EvolutionType : byte
LevelUpWalkStepsWith = 50,
LevelUpUnionCircle = 51, // Palafin
LevelUpInBattleEC25 = 52, // Maushold-0
LevelUpInBattleEC100 = 52, // Maushold-0
LevelUpInBattleECElse = 53, // Maushold-1
LevelUpCollect999 = 54, // Gimmighoul formarg 999
LevelUpDefeatEquals = 55, // Kingambit
LevelUpUseMoveSpecial = 56, // Annihilape
LevelUpKnowMoveECElse = 57, // Dudunsparce-0
LevelUpKnowMoveEC25 = 58, // Dudunsparce-1
LevelUpKnowMoveEC100 = 58, // Dudunsparce-1
LevelUpRecoilDamageMale = 59, // Basculegion-0
LevelUpRecoilDamageFemale = 60, // Basculegion-1
@ -137,13 +137,13 @@ public static class EvolutionTypeExtensions
TowerOfWaters => false,
LevelUpWalkStepsWith => true,
LevelUpUnionCircle => true,
LevelUpInBattleEC25 => true,
LevelUpInBattleEC100 => true,
LevelUpInBattleECElse => true,
LevelUpCollect999 => true,
LevelUpDefeatEquals => true,
LevelUpUseMoveSpecial => true,
LevelUpKnowMoveECElse => true,
LevelUpKnowMoveEC25 => true,
LevelUpKnowMoveEC100 => true,
LevelUpRecoilDamageMale => true,
LevelUpRecoilDamageFemale => true,
Hisui => false, // stubbed