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!
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.
in PokeBattle_Battle search for # Trick Room
Place this code above:
Code:
if self.isMega? && @megaturns > 0
@megaturns=megaturns
if @megaturns=0
@pokemon.makeUnmega
Kernel.pbMessage("The Power of Mega Evolution faded away!")
end
end
Then, do a search for:
Code:
@extramoney = 0
Right below that line, add
Code:
@megaturns = 0
We're almost done! We just have one last step. Do a search for:
Code:
def pbMegaEvolve(index)
Scroll down until you see something along the lines of 'has mega evolved into {2}'. On the line below that, add:
Code:
@megaturns = 3
And you're all set! What this does is creates a variable (megaturns), and sets it to three. Then, at the end of the turn, the variable will count down, if the player's mon is mega evolved. Once the variable hits zero, they will revert to their normal form. If you have any questions, or need clarification on some part, please feel free to ask. I hope this helps.