- 6
- Posts
- 6
- Years
- Seen Sep 12, 2020
I'm using 16.x (I don't know if 17.x has an elite battle system equivalent, if it does please tell me so I can switch)
I do not know why or how, but some IF lines in my essentials are making the conditions true before checking said contidions. and it even modifies pokemon.PBS when I run the game.
for example:
if pokemon.ballused = 26
makes the pokemon's ballused value 26 and then checks if the value is 26.
and also
if opponent.hasWorkingAbility(:STURDY)
replaces the pokemon in question's ability for sturdy before checking, modifying the pokemon.PBS
this wrecked my PBS file and I had to remake it, please halp u.u
I do not know why or how, but some IF lines in my essentials are making the conditions true before checking said contidions. and it even modifies pokemon.PBS when I run the game.
for example:
if pokemon.ballused = 26
makes the pokemon's ballused value 26 and then checks if the value is 26.
and also
if opponent.hasWorkingAbility(:STURDY)
replaces the pokemon in question's ability for sturdy before checking, modifying the pokemon.PBS
this wrecked my PBS file and I had to remake it, please halp u.u