mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Set gen3 count ribbons appropriately
ty anubis
This commit is contained in:
parent
7e6edbaded
commit
7cbf8d0fcf
1 changed files with 4 additions and 1 deletions
|
@ -204,7 +204,10 @@ namespace PKHeX.Core
|
|||
ReflectUtil.SetValue(pk, rib, value * (pk.Gen4 ? 20 : 40));
|
||||
break;
|
||||
default:
|
||||
ReflectUtil.SetValue(pk, rib, value != 0);
|
||||
if (rib.StartsWith("RibbonCountG3"))
|
||||
ReflectUtil.SetValue(pk, rib, value * 4);
|
||||
else
|
||||
ReflectUtil.SetValue(pk, rib, value != 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue