- 217
- Posts
- 15
- Years
- Seen Nov 29, 2021
So I want to add a field to Pokemon called "Primary Ability", which evolved from my attempt at a cheap, hacky work-around to the amount of work required to give pokemon two active abilities.
The basics of it, each pokemon will have an Primary Ability, that doesn't change. If it's that species, it'll have that Primary Ability. The Primary Ability can't be negated. Then the pokemon has a range of abilities as normal for its "secondary" ability.
The only thing is, it involves compiler script, and I am completely lost at that.
I also need to modify hasWorkingAbility (would hasAbility also need modifying?) to check whether the primary ability matches, but I'm assuming I can't do that until it's established in the compiler?
The basics of it, each pokemon will have an Primary Ability, that doesn't change. If it's that species, it'll have that Primary Ability. The Primary Ability can't be negated. Then the pokemon has a range of abilities as normal for its "secondary" ability.
The only thing is, it involves compiler script, and I am completely lost at that.
I also need to modify hasWorkingAbility (would hasAbility also need modifying?) to check whether the primary ability matches, but I'm assuming I can't do that until it's established in the compiler?