YOU HAVE TO RE-COMPILE AND START A NEW GAME AFTER THIS UPDATE, AS IT CHANGES IT'S BEHAVIOR A BIT
Fixed an error when you tried to run the game without the PBS folder, so publishing your project or releasing a beta was impossible. Without the PBS files at least.
Added the dependency of Moduler...
Sonicover updated Innate Abilities (Yet Another "All Abilities Mutation" mod) with a new update entry:
Publishing fix and some other errors
Read the rest of this update entry...
Yes, this seems to be a HUGE oversight from my part. The Innate compiler checks fot a hard-coded path to load the innates constantly.
I'll need to tweak it some more to load them only on compiling and then load the sets straight from there instead of constantly cheking for the PBS folder
Lol, I'm glad you did notice. Even so, it's on part my fault for not adding a validation check on compiling that throws an error in case it tries to compile an undefined or wrongly defined ID to avoid those confutions on the first place.
It shouldn't be an issue with the level cap because locked innates are down right not loaded into the battler.
Edit:
For ease of debug, does the problem happens only with the level caps?
It seems to be a problem with the code of the handler itself but it's very odd that it happens sometimes...
I haven't been able to replicate this error. Let's go by steps
What did you do?
Mega evolve the pokemon > check summary > revert mega evolution > check summary again
I've tried that and the innates rebert back. I've tried switching and checking the summary and they revert back. I've tried...
That's annoying. But I think I also know exactly what to modify since I use twice the instance of original_innates in the code so perhaps that's modifying things that it shouldn't. And since I made the code to revert Mega innates before the one that reverts all form changes maybe it's messing...
Odd that I haven't got that error nor any reports about it. But on the other hand yes I should have add it as a dependency. Can't belive I forgot about that line in the meta lol.
I'll update it later when I get home
Compatibility wise? Nothing, it works like a charm
Is just I can't figure out how to add handlers for the opportunist ability, and the check for guard dog. It's driving me crazy, specially opportunist since it uses a new handler and I cant properly add it to the AAM
The legend himself. I just wanted to say thank you for the amazing script that let this one even exist.
I hope you update your AAM plugin to v21 and gen 9 someday. I'll love to see how it's handled by someone that actually knows what it's doing lol.
Seems like an oversight on my part, since the abilities were stored as an array but changed to be stored as a symbol after I made the transition to the innate_sets.txt file. Thanks for the repport! I'll update it tomorrow
Depends on how did you integrate the code. But after giving it a shot myelf it's better to define it in Pokemon as a method to be called if !pbOwnedbyPlayer, since it's during the pokemon class that the Innate sets gets mixed with the ability set. But yeah, the wrong arguments error it's because...
You were on the right track but overshoot a bit. Since this code is defined in the Class Battle::Battler, theres no need to add the battler in if (!battler.pbOwnedByPlayer?), as the code is basically looking for another method defined battler in the battler class. A whole battleception, which is...
Before we go any further: No, i'm not adding Hidden Innates.
That being said thats rather tricky to implement. Evolution remains consisten because of ability index, yes, so I'll have to re-writte some of the code to make the innate sets be considered indexes. Perhaps they can be considered each...
I tried using your innate_sets file, with the surprise that it actually loads properly, and tried removing the file completely from the PBS folder, resulting in a different error than yours.
I basically haven't been able to recreate your error, specially after the update. The error results...
Sorry for the late reply. I needed to be in my pc for it. Sure, feel free to modify as much of my script as you want, and dont' worry, the project won't be retired nor I will stop adding features to it, I just don't want to neglect my game for now
The bit of code that you are trying to modify...
...well. I see the problem
You copied and pasted EVERYTHING lol.
Delete everything that is not the [Pokemon] and the Innates =. Those are the only 2 things the innate_sets should contain per pokemon