• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

[Script] Reversing Shiny Odds?

  • 1
    Posts
    2
    Years
    • Seen Aug 1, 2022
    Hi there, I recently got into ROM hacking and wanted to make a simple rom that reverses shiny odds, switching them with the non-shiny's. (i.e a non-shiny has a 1/8192 chance). The aim of this rom would be to make a full team of non-shiny pokemon.
    If there is a way to reverse the shiny odds and you kind people can inform me, that would be fantastic!
     
    Hi there, I recently got into ROM hacking and wanted to make a simple rom that reverses shiny odds, switching them with the non-shiny's. (i.e a non-shiny has a 1/8192 chance). The aim of this rom would be to make a full team of non-shiny pokemon.
    If there is a way to reverse the shiny odds and you kind people can inform me, that would be fantastic!

    Couldn't you just challenge yourself to catch 6 shinies in the vanilla game?

    Anyways it should be pretty easy to reverse the shiny odds if you use the decomp. You just need to change the value of the SHINY_ODDS constant.
    Changing it to:
    Code:
    #define SHINY_ODDS 65528
    Should give you 65528/65536 = 8191/8192 chance to find a shiny and 1/8192 to find a non-shiny.
     
    Back
    Top