Hello all,
I want to ask if it possible to replace the current moveset of a pokemon for a predetermined moveset, when he transforms into a new form?
This is what Im using to change the form:
I want to ask if it possible to replace the current moveset of a pokemon for a predetermined moveset, when he transforms into a new form?
This is what Im using to change the form:
Ruby:
class Battle::Move::HealAndChangeErenForm < Battle::Move
def pbEndOfMoveUsageEffect(user, targets, numHits, switchedBattlers)
return if numHits == 0 return if user.fainted? || user.effects[PBEffects::Transform]
return if !user.isSpecies?(:EREN)
user.effects[PBEffects::AquaRing] = true # Gives healing every turn
user.pbChangeForm(1, _INTL("{1} transformed into the Attack Titan!", user.pbThis))
end
end