• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

MegaEvolution not reverting after battles

  • 36
    Posts
    9
    Years
    • Seen Sep 28, 2017
    Hi guys! Sorry for my english, i'm an italian guy.
    Well, this is the problem: I've set the megaevolution in my project and it works but If i started a new battle the pokemon backsprite is still megaevoluted. I've tried also with the preimposted Venusaur and the problem is the same. What should i do?
    Thanks. Cricco. :)
     
    What have you changed in the scripts or added, if you could tell it would be of great help for us to help you.
     
    I've implemented the "Elite Battle 2015" by Luka-SJ!
    And the script for the mega evolution is the preset of essentials!

    MultipleForms.register(:VENUSAUR,{
    "getMegaForm"=>proc{|pokemon|
    next 1 if isConst?(pokemon.item,PBItems,:VENUSAURITE)
    next
    },
    "getUnmegaForm"=>proc{|pokemon|
    next 0
    },
    "getMegaName"=>proc{|pokemon|
    next _INTL("Mega Venusaur") if pokemon.form==1
    next
    },
    "getBaseStats"=>proc{|pokemon|
    next [80,100,123,80,122,120] if pokemon.form==1
    next
    },
    "ability"=>proc{|pokemon|
    next getID(PBAbilities,:THICKFAT) if pokemon.form==1
    next
    },
    "height"=>proc{|pokemon|
    next 24 if pokemon.form==1
    next
    },
    "weight"=>proc{|pokemon|
    next 1555 if pokemon.form==1
    next
    },
    "onSetForm"=>proc{|pokemon,form|
    pbSeenForm(pokemon)
    }
    })
     
    the script looks good to me it might be that the lukasj battle scripts are causing your dilema
     
    I really don't know... When start another battle after the megaevolution only the sprite of the pokemon is megaevoluted... i can re-click the button for the megaevolution without any change!
     
    I'm really sorry for the double post but i've discovered that the pokemon remais megaevoluted only when i megaevolve with a wild pokèmon. When i fight with a trainer is all normal!
     
    Without looking at the data i cant really be of help but be patient probably maruno or lukas will see this post and know what to do sorry and good luck
     
    There's several places the un-mega-ing occurs, def pbWildBattle for instance. I'm fairly certain you've edited something else, as I've not had this problem with Luka's system. The un-mega-ing code looks like this
    Code:
    for i in $Trainer.party; (i.makeUnmega rescue nil); end
     
    In the script of the trainer i've this code, i've checked now!
    where should I add it to so that it works even for the wild ?
     
    It should already be there. What have you changed? Bearing in mind that you must have changed something.
     
    Back
    Top