The Pokeball records a code to tell how the Pokemon should be
reassembled. Without this code the Pokemon would come out as a
horrible oozing crime again nature blob of organ; A failsafe
releases the Pokemon up on damage to the Pokeball to prevent this.
When a Pokeball is thrown at a pokiemon, it immediately
encodes the Pokemon and tries to hold it. The Pokemon
however, struggles against the ball, and can short out of
the chip and Escape, rendering the ball useless. upon
successful capture the ball rewrites the pokiemon' s code
to render it more docile and obedient. it also includes a
bit that prevents the Pokemon from being recaptured by
another possibile when released the Pokemon will have
these new traits with no other noticeable difference.
Stronger Pokemon require stronger because they
have more data, more personality and can physically struggle
against the ball more. Legendaries are especially difficult to
capture because they are " rare that the Pokeball has no
basic template to base their code on, and must write it from
scratch in the brief moment before the Pokemon Escapes.