YoruV Posted May 26, 2024 Share Posted May 26, 2024 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 Quote Link to comment Share on other sites More sharing options...
nocturnegal Posted June 5, 2024 Share Posted June 5, 2024 Remove the code that reverts mega change after battle. Quote Link to comment Share on other sites More sharing options...
Yerochasc Posted Wednesday at 01:05 AM Share Posted Wednesday at 01:05 AM 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.