Set gen3 count ribbons appropriately

ty anubis
This commit is contained in:
Kurt 2020-01-11 15:51:25 -08:00
parent 7e6edbaded
commit 7cbf8d0fcf

View file

@ -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;
}
}