So if you lose a battle in the tournament, wouldn't you respawn with your party still at level 50, and the random battle/disabled items/disabled exp. gain flags active? Did you add a level script to every possible healing place or something? Not sure how I could fix that otherwise.
Also, I've made a table that lists everything past 97 (151) to 19C. That includes the 25 ??? Pokemon in between gen 2 and gen 3, and bad egg. Where are the unown formes?