• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

[Script] Alternate Form Cherrim Ability Problem

  • 4
    Posts
    3
    Years
    • Seen Dec 12, 2022
    Hello!

    I'm currently very new to rom hacking 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.
     
    Sorry guy. Thought it would be considered that and thought this was the place to post the question. My apologies
     
    Back
    Top