- 34
- Posts
- 10
- Years
- Seen Oct 1, 2014
(Sorry, I'm a half tard. Please bear with my utter stupidity. Because as Einstein said. It is infinite)
I've recently implemented FL's random egg generator into my game to give the player a random egg. But I wanted to make it sort of like the egg given in pokemon crystal with a significantly higher chance to be shiny. How would I go about changing the shiny rate to about 1/32 (Which I believe would be setting the value in settings to 2048) before the egg is handed over, and changing it back as soon as the egg is given?
(I don't want this to be implemented into the Random egg generator code. As I want to be able to call upon it later, for instance if I wanted it to trigger when I entered a certain area. (So I could just set it as an invisible event that would trigger on touch)).
I've recently implemented FL's random egg generator into my game to give the player a random egg. But I wanted to make it sort of like the egg given in pokemon crystal with a significantly higher chance to be shiny. How would I go about changing the shiny rate to about 1/32 (Which I believe would be setting the value in settings to 2048) before the egg is handed over, and changing it back as soon as the egg is given?
(I don't want this to be implemented into the Random egg generator code. As I want to be able to call upon it later, for instance if I wanted it to trigger when I entered a certain area. (So I could just set it as an invisible event that would trigger on touch)).