• 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.

[Scripting Question] Change temporaly Shiny rate of all pokémon to 50% with switch

  • 18
    Posts
    7
    Years
    • Seen Sep 26, 2023
    Good morning/afternoon/night, I want to know how to change temporaly the shiny rate of all pokemon to 50% with a switch. I searched a lot and i don't get the solution to my problem. Can someone help me in this problem.
     
    Look in PField_EncounterModifiers
     
    i already looked there, but i dont't know how to add the rate for that switch. I searched in some parts of pokecommunity and nothing helps me really. Also saying me to see that don't tell me how to add the switch's own shiny rate. Can someone tell me seriosly how to do it, and don't say see in that script section, not all of us know about scripting at all. Only say the script and where it goes or explain it step by step of how to add it.
     
    Last edited:
    Hey there,
    I assume you are using essentials version 18. In "PField_EncounterModifiers" you can find this:
    Spoiler:
    Changing it to this will get your wanted result:
    Spoiler:

    Additionally don't be thrown off, if somebody doesn't tell you the exact way of implementing a feature. Part of creating a game is learning about new things and the best way to do that, is by yourself. Of course it's fine to ask for help if you don't know how to pull something off, but maybe try to really push yourself first. Learning by doing. :) I think Golisopod User had the same on their mind when they only gave you a hint on how to adress your problem.
    Also I'd recommend you to dive into the basics of Ruby before starting to code. A good place for this is:https://www.tutorialspoint.com/ruby/index.htm
    Good luck with your fan game :)
     
    Back
    Top