2
0
Fork 0
mirror of https://github.com/kwsch/PKHeX synced 2025-03-07 08:47:21 +00:00

GO: Separate Mythical encounters depending on HUD visibility

Also add in details for Shadow Raids now that they're known
This commit is contained in:
sora10pls 2023-05-23 17:18:29 -04:00
parent 2c0f4d0e91
commit 61fbdfe5f6

View file

@ -33,6 +33,9 @@ public enum PogoType : byte
ResearchP,
/// <summary> Ultra Beasts captured after completing Field Research. Only Beast Balls can be used. </summary>
ResearchUB,
/// <summary> Mythical Pokémon captured after completing Field Research. No HUD is visible during these encounters. </summary>
/// <remarks> Under normal circumstances, only Poké Balls can be used, but Great Balls and Ultra Balls can be used with the Remember Last-Used Poké Ball setting. </remarks>
ResearchNH,
/// <summary> Pokémon captured from the GO Battle League. </summary>
GBL = 30,
@ -73,17 +76,19 @@ public static class PogoTypeExtensions
PogoType.Raid => 20,
PogoType.RaidM => 20,
PogoType.RaidUB => 20,
PogoType.RaidS => 20,
PogoType.Research => 15,
PogoType.ResearchM => 15,
PogoType.ResearchP => 15,
PogoType.ResearchUB => 15,
PogoType.ResearchNH => 15,
PogoType.GBL => 20,
PogoType.GBLM => 20,
PogoType.GBLD => 20,
PogoType.Shadow => 8,
PogoType.Research269 => 15,
PogoType.Research269M => 15,
_ => 1,
_ => 1, // Wild, Egg
};
/// <summary>
@ -97,6 +102,7 @@ public static class PogoTypeExtensions
PogoType.RaidM => 10,
PogoType.ResearchM => 10,
PogoType.ResearchP => 10,
PogoType.ResearchNH => 10,
PogoType.GBLM => 10,
PogoType.GBLD => 0,
PogoType.Research269M => 10,
@ -129,6 +135,7 @@ public static class PogoTypeExtensions
PogoType.Raid => Ball.Premier,
PogoType.RaidM => Ball.Premier,
PogoType.RaidUB => Ball.Beast,
PogoType.RaidS => Ball.Premier,
PogoType.ResearchP => Ball.Poke,
PogoType.ResearchUB => Ball.Beast,
PogoType.Shadow => Ball.Premier,