Hi!
I'm writing a PHP script for a pokemon game and I would like it to be as perfect as possible resambling the original games. That's why I'm continuously looking for formulae. Some things will be very simple, but then I just don't know how it is calculated, but sometimes there are advanced formulae needed.
I hope some of you can help me out with both of these questions.
Thanks!
Eduard
My first question is how is the order of attacking in battles determined concerning your pokemon VS an enemy. Is it just the SPEED stat which must be higher or is there a random (of specified) number involved?
My next question is about the strategy the enemy uses, where is it based on? Is it random or is it a (very) complicated formula?
I'm writing a PHP script for a pokemon game and I would like it to be as perfect as possible resambling the original games. That's why I'm continuously looking for formulae. Some things will be very simple, but then I just don't know how it is calculated, but sometimes there are advanced formulae needed.
I hope some of you can help me out with both of these questions.
Thanks!
Eduard
My first question is how is the order of attacking in battles determined concerning your pokemon VS an enemy. Is it just the SPEED stat which must be higher or is there a random (of specified) number involved?
My next question is about the strategy the enemy uses, where is it based on? Is it random or is it a (very) complicated formula?