• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

How does Mega Evolution work in v17?

Rinkoou

Awful-Pun Master
  • 54
    Posts
    8
    Years
    After screwing around with v17 of Essentials, I've noticed that Mega Evolution changed and I don't understand it. In my game, I have two forms of Lycanroc, Midday being base and Midnight being form 1 in pokemonforms.txt. While battling a trainer with Lycanroc Midday, the Lycanroc Mega Evolved to Midnight form, which confused me a ton. What was more confusing is that when I Mega Evolved a Venusaur, it said I used Contact Lenses, which is an item before the defined Mega Ring. If anybody could help, that'll be great. Extremely confused.
     
    Did you get the update to v17.1? That fixes the issue with Pok?mon mefa evolving if they dont have a mega evolution.
    And did you set up Venusaur correct? And also how did you set up the mega ring?
     
    I was using v17, just updated to v17.1 and now Venusaur won't mega evolve anymore.
    Heres my Mega Ring:
    Code:
    527,MEGARING,Ultra Ring,Ultra Rings,8,0,"This ring contains an untold power that somehow enables Pok?mon carrying Mega Stones to Mega Evolve in battle.",0,0,6,
    And Venusaur:
    Code:
    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)
    }
    })
     
    I was using v17, just updated to v17.1 and now Venusaur won't mega evolve anymore.
    Heres my Mega Ring:
    Code:
    527,MEGARING,Ultra Ring,Ultra Rings,8,0,"This ring contains an untold power that somehow enables Pok?mon carrying Mega Stones to Mega Evolve in battle.",0,0,6,
    And Venusaur:
    Code:
    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)
    }
    })

    I think the best way to add Mega Evos is to use the pokemonforms.txt.
    I already uploaded a complete one (with all mega evolutions) here
     
    It works, but I forgot to show how the contact lenses were set up. They are just supposed to be a useless key item but instead act like Mega Ring?
    Code:
    527,CONTACTS,Contact Lenses,Contact Lenses,8,0,"A pair of contact lenses.",0,0,0,
     
    Last edited:
    Change the ID. Both, your Mega Ring and the contact lenses, have the same ID (527). That should fix it
     
    Back
    Top