• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[PBS Question] Alternate Form Cherrim Ability Problem

  • 4
    Posts
    3
    Years
    • Seen Dec 12, 2022
    I previously posted this in the wrong place, so if there is a better place to post this please tell me and I will inquire elsewhere.


    Hello!

    I'm currently very new to Pokemon essentials and I'm not the best at understanding where to find everything. I'm currently having trouble with the functioning of Cherrim. I've made an alternative form (think alolan/galarian) that is a different type with a different ability. It should function exactly the same as normal cherrim, just under a terrain instead of sun. I will call it "alolan Cherrim" to distinguish it.

    I've already created the new ability using a helpful video by the Strange Druid. This helped me double the ability and change what it did under this new terrain. I simply have two problems with executing it.

    Whenever my test Cherrim is sent out into battle, it reverts into a normal cherrim, with normal grass typing and normal flower gift ability, NOT my new ability. I THINK that the following line of code is doing this:
    Code:
    MultipleForms.register(:CHERRIM,{
      "getFormOnLeavingBattle" => proc { |pkmn,battle,usedInBattle,endBattle|
        next 0
      }
    })

    I've tried various things like renaming the alternate form, copying this code and using it separately under a CHERRIM_2, renaming this code CHERRIM_0, etc. None of it worked. Every time it battles my "alolan cherrim" will convert into a normal one.

    My second concern is that even if I'm able to figure this out, I'm unable to find how Cherrim actually changes its form. I can't guarantee that my ability will even succeed in physically changing my "alolan cherrim's" form. That is to say, how can I get my CHERRIM_2 to change into CHERRIM_3 under my terrain?

    I'm so sorry if I've missed something. Internet searches don't pull up things close to this problem, and I just wanted to see if someone might be able to help.
     
    I haven't tested this yet, but give this a try.

    Code:
    MultipleForms.register(:CHERRIM,{
      "getFormOnLeavingBattle" => proc { |pkmn,battle,usedInBattle,endBattle|
        next 2 if pkmn.form >= 2
        next 0
      }
    })

    Don't have the time right now to work out the transformation part, but you can find the script that allows Cherrim to change for in Battler_ChangeSelf around line 168.
     
    Last edited:
    Yes, that solved one of the problems I was having. That looks like it was painfully obvious, so sorry for asking something so simple.

    I did also figure out my other question about form changing. It was located elsewhere and I simply didn't look hard enough.

    Thank you so much for your time!
     
    Back
    Top