Jump to content

Debug Mega Form


YoruV

Recommended Posts

How can I keep a Mega form permanent? 

I tried debugging the form and setting it to 1, but after every battle the pokemon reverts back to its default form.

I've tried messing with PokemonMultipleForms and having the form change tied to an item, but I'm not familiar enough with coding and it didn't work

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

So for anyone who is wondering what the codes you need to change are for V19.5 there are actually 2 you need to remove. In the Scripts sub-folder of Reborn open both of these files in a text editor, notepad works fine.

The first is Battle.rb and remove the line:
"i.makeUnmega if i.isMega?"

Then go into the Pokemon.rb file and remove the code:
"def makeUnmega
    if !self.originalForm && $Trainer.party.include?(self)
      print "this mon's original form was not set, somehow. please report this: species:#{@species} form:#{$cache.pkmn[@species].forms[self.form]} thx <3"
    end
    self.form = self.originalForm ? self.originalForm : 0
    self.ability = self.originalAbility if self.originalAbility
    self.originalAbility = nil
    self.originalForm = nil
  end"

Easiest way to find these is by searching "unmega" they should be the only results. If you only remove one of them it won't work and will revert back to the base form at the end of a battle. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...