mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
parent
44c8e772a3
commit
db0b77c493
1 changed files with 6 additions and 1 deletions
|
@ -16,11 +16,16 @@ public static class RibbonVerifierCommon7
|
|||
|
||||
var pk = args.Entity;
|
||||
if (inhabited7 && RibbonRules.IsAllowedBattleFrontier(args.History.Gen7[0].Species))
|
||||
{
|
||||
// Great ribbon is only available in US/UM.
|
||||
if (r.RibbonBattleTreeGreat && pk.IsUntraded && !pk.USUM)
|
||||
list.Add(BattleTreeGreat);
|
||||
return; // Can have all 3 ribbons.
|
||||
}
|
||||
|
||||
if (r.RibbonBattleRoyale)
|
||||
list.Add(BattleRoyale);
|
||||
if (r.RibbonBattleTreeGreat && pk.IsUntraded && !pk.USUM)
|
||||
if (r.RibbonBattleTreeGreat)
|
||||
list.Add(BattleTreeGreat);
|
||||
if (r.RibbonBattleTreeMaster)
|
||||
list.Add(BattleTreeMaster);
|
||||
|
|
Loading…
Reference in a new issue