• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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.

Breaking Mega Evolution Limit?

Allgamesdude

The Creator of the WIP game, Pokémon Cosmic. Looki
  • 283
    Posts
    12
    Years
    As the title states, how would break the rule of single mega evolution for a specific trainer? My champion in my game has more than one mega, possibly even a whole team(I know it sounds super rigged, but when you play the game, you'll find out why he has so many mega keystones.) I want this for only certain trainers. Would this be possible at all? The player is still limited to one Mega.(There will be a shop that sells key stones, for one pokedollar more than the max amount.(IM SO EVIL!)
     
    When you set up which Pokemon a trainer has you can set the Pokemon's form. Any Pokemon with a mega evolution you could just put form 1 or 2 and they'll send it out.
     
    Hmm... how would one break the rule of one Mega Evolution, period? Everyone gets as many Megas as they want, including the player?
     
    No... They mega evolve each pokemon seperately. And no, the player can mega evolve once. The Champion has unlocked the "secret" of mega evolution, and can mega evolve an infinite amount of times.
     
    I was thinking in general, not just for your game. Disabling the 'one Mega per battle' limit is an idea I could use myself, and so I would be interested in figuring out how to do it.
     
    ohh alright. So yeah. Now ESCRaven and I need help on this topic.
     
    Untested, but probably something like this. In PokeBattle_Battle, you find this, add the red part (to taste).

    Code:
    def pbCanMegaEvolve?(index)
        return false if $game_switches[NO_MEGA_EVOLUTION]
        return false if !@battlers[index].hasMega?
        return false if pbBelongsToPlayer?(index) && !$PokemonGlobal.megaRing
        side=(pbIsOpposing?(index)) ? 1 : 0
        owner=pbGetOwnerIndex(index)
        [COLOR="Red"]if $game_switches[XX]
          return false if (@megaEvolution[side][owner]!=-1 && owner==@player)
        else[/COLOR]
          return false if @megaEvolution[side][owner]!=-1
        [COLOR="red"]end[/COLOR]
        return true
      end

    Should stop the player from being able to do more than one, but let the opponent if a chosen switch is on. In theory.
     
    Code:
        return false if @megaEvolution[side][owner]!=-1

    Would removing the quoted line allow the use of multiple Megas per battle, regardless of whose side it's on? If I'm reading it right, it looks like it checks to see if there are any other activated Megas on the owner's team. I'd test it myself, but I'm not in a position to do so right now.
     
    Would removing the quoted line allow the use of multiple Megas per battle, regardless of whose side it's on? If I'm reading it right, it looks like it checks to see if there are any other activated Megas on the owner's team. I'd test it myself, but I'm not in a position to do so right now.
    That is correct.
     
    Back
    Top