• 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.
  • There is an important update regarding account security and 2FA. Please click here for more information.
  • Our Witching Week events are now on! If you'd like to participate in some fun activities with the community, check out the list of events!
  • 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.
  • Imgur has blocked certain regions from viewing any images uploaded to their site. If you use Imgur, please consider replacing any image links/embeds you may have on PokéCommunity so everyone can see your images. Click here to learn more.

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