I was looking into the mechanics of Poké balls, and there's a lot of conflicting information about how the bonus from timer balls is calculated.
Earlier than Gen 5, everywhere agrees that the bonus starts at 1 and increases by 1 every 10 turns, to a maximum of 4 at t = 30
.
Bulbapedia gives a continuous formula:
C = (10 + T) / 10
but it's not clear whether that's supposed to be rounded down to the nearest integer.
From Gen 5 onwards, some places claim the calculation has changed to:
C = (1 + X * 1229/4096)
However, the majority of sites only mention the other formula.
So are these two formulae correct for their respective generations? Are either of them rounded?