The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Alternate Form Cherrim Ability Problem

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old August 7th, 2021 (6:26 PM).
Recxi06 Recxi06 is offline
 
Join Date: Aug 2021
Posts: 4
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.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 8th, 2021 (1:43 AM).
Asith's Avatar
Asith Asith is offline
Uwao
 
Join Date: Nov 2020
Posts: 204
This... isn't rom hacking?
Rom hacking is a completely different game-making approach.
Try asking in the Essentials forum.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 8th, 2021 (6:17 AM).
Recxi06 Recxi06 is offline
 
Join Date: Aug 2021
Posts: 4
Sorry guy. Thought it would be considered that and thought this was the place to post the question. My apologies
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:16 AM.