• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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]

55
Posts
4
Years
    • Seen today
    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