mingot said:Thanks Mingot, this should do it =)Here is an easy way to figure it:
TargetNumber = InitialOffset - 13;
Happiness = TargetNumber / 12 (Integer math, round down)
CoinToss = TargetNumber MOD 12
This does break for numbers 12 and below, though, so the easy thing to do for those is:
CoinToss = InitialOffset-1;
SO
--------------------------------------------
If(InitialOffset < 13)
---CoinToss = InitialOffset-1;
Else
---TargetNumber = InitialOffset - 13;
---Happiness = TargetNumber / 12 (Integer math, round down)
---CoinToss = TargetNumber MOD 12Click to expand... Click to collapse...
EDIT: Where does the IntialOffset come from?
LightningFusion said:lol Vlie I made my own calculator thing for this too. Mine works for divisible by 12 numbers :P lol LOL, it works for every frame, but not for 12 and 24 =P
Vlie, can you add an option that converts the PID of the shiny to nature and maybe gender and ability. I'm already working on this! Shouldn't be taking long!Click to expand... Click to collapse...









