Kael
Deity
Sureshot said:one thing about that code, doesnt it lend itself to the possibility of never ending loops if the RNG is mean (i.e. keeps picking the same number)?
might be better to do the while loops with "rnd2 = rnd2+1" inside to guarrantee a maximum of two loops for the first one and three for the second, unless you're a gambler lol
If the rng keeps picking the same number the game is already broke as all battles, events and ai choices will become consistent.