- 10
- Posts
- 16
- Years
- Seen Jul 26, 2019
alright, thanks for replying so quickly :P. I will follow this and hopefully get it to work soon.
Edit: i just thought about something - if the level script I have only runs once per time in the area, then the "shiny" code will activate once, making all battles shiny until i reactivate the code, turning it off. this would be a great thing to happen for now, since i have to repeatedly reactivate the code for more shinies to appear, but what about when I want the random to kick in? if it (my level code) only runs once per time in the room, and the shiny code stays on once active, then there will be a 127/128 chance that all the battles I will fight will not be shiny, but when the code does activate, then EVERY battle will be shiny until i turn it back off. what i really need is for a way to have the script activate after every battle (the level script that is), if i can do that, then the patch you made will be sufficient for the randomness to work right.
if you know a way for the level script to activate after every random encounter, that would be great, as that is what i am having issues with. if my code starts after every encounter, then i can use random to set the 1/128 chance. if you have an example of coding that will do this, I would appreciate it. I do not know if i confused you before with my wording, but i have been really looking for a level script that would run after every wild pokemon encounter, not run and then stay on. i confuse myself sometimes <_<.
Edit: i just thought about something - if the level script I have only runs once per time in the area, then the "shiny" code will activate once, making all battles shiny until i reactivate the code, turning it off. this would be a great thing to happen for now, since i have to repeatedly reactivate the code for more shinies to appear, but what about when I want the random to kick in? if it (my level code) only runs once per time in the room, and the shiny code stays on once active, then there will be a 127/128 chance that all the battles I will fight will not be shiny, but when the code does activate, then EVERY battle will be shiny until i turn it back off. what i really need is for a way to have the script activate after every battle (the level script that is), if i can do that, then the patch you made will be sufficient for the randomness to work right.
if you know a way for the level script to activate after every random encounter, that would be great, as that is what i am having issues with. if my code starts after every encounter, then i can use random to set the 1/128 chance. if you have an example of coding that will do this, I would appreciate it. I do not know if i confused you before with my wording, but i have been really looking for a level script that would run after every wild pokemon encounter, not run and then stay on. i confuse myself sometimes <_<.
Last edited: