• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Pokemon Contests Script 1.6 [18.dev]

Great to see this being worked on but i have a question have you figured out how to fix the random aspect of who wins?

I haven't been able to replicate the random winner bug anymore since the move values were fixed.

If you want to double check, the winner is decided in lines 2477 and 2478 of the script
Random part of the score is determined in pbPreliminaryScene (where it deals with scarves, shinies, etc).
The scarf and stat value for ai is randomized since they can't have scarves/stats otherwise. Below that is a flat random aspect.
These random values should all draw correctly however, in the preliminary round.
 
Back
Top