- 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:
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.
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.