This uses the actual formula used for capturing Pokemon, but this is given random values, just for testing purposes. How accurate is it? If the pokeball darkens, then the Pokemon is caught. [Please don't hate on anything bad or wrong about this, I just made this quick project when I was bored.]