• 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?".
  • 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. :)
     
    32
    Posts
    13
    Years
    • Seen Jan 13, 2016
    What have you changed in the scripts or added, if you could tell it would be of great help for us to help you.
     
    36
    Posts
    9
    Years
    • Seen Sep 28, 2017
    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)
    }
    })
     
    32
    Posts
    13
    Years
    • Seen Jan 13, 2016
    the script looks good to me it might be that the lukasj battle scripts are causing your dilema
     
    36
    Posts
    9
    Years
    • Seen Sep 28, 2017
    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!
     
    36
    Posts
    9
    Years
    • Seen Sep 28, 2017
    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!
     
    32
    Posts
    13
    Years
    • Seen Jan 13, 2016
    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
     
    1,224
    Posts
    10
    Years
  • 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
     
    36
    Posts
    9
    Years
    • Seen Sep 28, 2017
    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 ?
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    It should already be there. What have you changed? Bearing in mind that you must have changed something.
     
    Back
    Top