• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Red, Kris, May - which Pokémon protagonist is your favorite? Let us know by voting in our semifinal favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Essentials Castform like Fakemon

  • 1
    Posts
    2
    Years
    • Seen Jan 1, 2024
    I'm trying to add a Pokemon that changes forms in rain and heavy rain, like Cherrim. However, I also want the Pokemon to have different stats and change type. I've already defined the form and tried to alter the code for Forecast and Flower Gift to fit my needs. The ability is activating, but somehow the stats and type aren't changing. Could anybody give me tips on what I'm doing wrong?


    What I currently have is:

    if isSpecies?(:PSYCHROB)
    if hasActiveAbility?(:WATERPRESSURE)
    newForm = 0
    case effectiveWeather
    when :Rain, :HeavyRain then newForm = 1
    end
    if @form != newForm
    @battle.pbShowAbilitySplash(self, true)
    @battle.pbHideAbilitySplash(self)
    pbChangeForm(newForm, _INTL("{1} transformed!", pbThis))
    end
    else
    pbChangeForm(0, _INTL("{1} transformed!", pbThis))
    end
    end
     
    Back
    Top