IceGod64
In the Lost & Found bin!
- 624
- Posts
- 16
- Years
- Castelia City
- Seen Sep 26, 2021
Lol, I make little syntax errors like that all the time. Makes programming more difficult than it has to be. Anyways, I tried removing the @opponent && and it didn't catch the pokemon. That should have fixed it. When you said re-breaks, what exactly does it do? When I made that little change, it ignores the ball throw animation (just like in trainer battles in the kit), and the wild pokemon keeps fighting.
Okay, so imagine you try to catch a pokemon - Regardless of whether the switch is on or off. You select the pokeball, and it'll say "Trainer threw one pokeball!" and then without playing any animation or anything else, it'll go right back to the fight menu. If you try to use a move, switch pokemon, etc., everything else still works.