- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
if isSpecies?(:WISHIWASHI) && self.ability == :SCHOOLING
if @level>=20 && @hp>@totalhp/4
if @form!=1
@battle.pbShowAbilitySplash(self,true)
@battle.pbHideAbilitySplash(self)
pbChangeForm(1,_INTL("{1} formed a school!",pbThis))
end
elsif @form!=0
@battle.pbShowAbilitySplash(self,true)
@battle.pbHideAbilitySplash(self)
pbChangeForm(0,_INTL("{1} stopped schooling!",pbThis))
end
end
That's the code Wishiwashi uses to determine if it's Wishiwashi and if it has the ability Schooling.
I had this idea where the code could then check if the user is NOT Wishiwashi but has this ability anyway, and if that's the case, boost the user's stats. And if the user's HP drops to the point where Wishiwashi's Schooling ability would deactivate, remove the boosted stat effect. It'd have to be a less severe stat boost, but I can playtest the numbers and figure out how reduced the stat-buff should be once the code works.
if @level>=20 && @hp>@totalhp/4
if @form!=1
@battle.pbShowAbilitySplash(self,true)
@battle.pbHideAbilitySplash(self)
pbChangeForm(1,_INTL("{1} formed a school!",pbThis))
end
elsif @form!=0
@battle.pbShowAbilitySplash(self,true)
@battle.pbHideAbilitySplash(self)
pbChangeForm(0,_INTL("{1} stopped schooling!",pbThis))
end
end
That's the code Wishiwashi uses to determine if it's Wishiwashi and if it has the ability Schooling.
I had this idea where the code could then check if the user is NOT Wishiwashi but has this ability anyway, and if that's the case, boost the user's stats. And if the user's HP drops to the point where Wishiwashi's Schooling ability would deactivate, remove the boosted stat effect. It'd have to be a less severe stat boost, but I can playtest the numbers and figure out how reduced the stat-buff should be once the code works.
Last edited: