• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Eventing Question] is there any event that pokemon can evolve by merge?

etique

etique
  • 266
    Posts
    7
    Years
    • Seen Oct 30, 2022
    is there any event that pokemon can evolve by merge? in the anime slowpoke evolves after shellder bites its tail. [PokeCommunity.com] is there any event that pokemon can evolve by merge?
     
    I don't think there is code for that yet. Depending on how exactly you want it to work out you either implement it as an evolution method or as an overworld thing (meaning an NPC, an item, in the summary screen etc.)
     
    In 'Pokemon_Evolution'

    1) In line 33 and 46, replace 'Custom1' to 'MergeEvo'

    2) In line 62, change the first '1' to '4'

    3) In line 930, replace

    Code:
      when PBEvolution::Custom1
        # Add code for custom evolution type 1

    with

    Code:
      when PBEvolution::MergeEvo
        for i in $Trainer.party.length
          if $Trainer.party[i].species==level
            $Trainer.party.delete_at(i)
            return poke 
          end
        end

    4) Then now you can use 'MergeEvo' as new Evolutions Method
    Code:
    SLOWBRO,MergeEvo,SHELLDER
     
    Last edited:
    my idea of ​​evolution of a serious issue like the two pokémons in the same party would appear an option to evolve or not, and if it confirms the shellder it disappears equal to its video
     
    So what you are saying is that you want the evolution to be started in the party screen. Is that right?
     
    I do not speak English, I'll try to explain what I want, slowpoke evolves lv 31, but I want another way to evolve this pokemon, the idea is independent of the slowpoke lv at the moment I capture a shellder and this is in mine party, a msg that because of the two pokémon together there will be an evolution and the player will choose whether or not to evolve (and if you save the shellder or slowpoke in the pc and put in the party again will appear again the option to evolve or not) this it's possible?
     
    Alright, I made a script for that which results in the following

    Spoiler:


    To make this work

    1) Change the evolution method for Slowpoke to "HasInParty". Do that via the PBS files. The evolution line should look like this:
    Code:
    Evolutions=SLOWBRO,HasInParty,SHELLDER,SLOWKING,TradeItem,KINGSROCK

    In PScreen_Party
    2) Find
    Code:
    elsif cmdDebug>=0 && command==cmdDebug
            pbPokemonDebug(pkmn,pkmnid)
    and add the following after it
    Code:
    # Evolve Slowpoke
          elsif cmdEvolve>=0 && command==cmdEvolve
            if newspecies>0
              pbFadeOutInWithMusic(99999){
                evo = PokemonEvolutionScene.new
                evo.pbStartScreen(pkmn,newspecies)
                evo.pbEvolution
                evo.pbEndScreen
                for i in @party
                  if isConst?(i.species,PBSpecies,:SHELLDER)
                    pbRemovePokemonAt(@party.index(i))
                    break
                  end
                end
                @party.compact!
                pbHardRefresh
                }
            end

    3) find
    Code:
    cmdSummary = -1
    and below it add
    Code:
    cmdEvolve  = -1 # Evolve Slowpoke
    4) next find
    Code:
    commands[cmdDebug = commands.length]        = _INTL("Debug") if $DEBUG
    and below that add the following
    Code:
     # let Slowpoke evolve if there is a Shellder in party
          # evolution method needs to be set to hasinparty
          if isConst?(pkmn.species,PBSpecies,:SLOWPOKE)
            newspecies = Kernel.pbCheckEvolution(pkmn) 
            commands[cmdEvolve = commands.length]      = _INTL("Evolve") if newspecies > 0
          end
     
    Are you giving me the error, can you send the complete Screen Party script?
     
    Here is the complete PScreen_Party Script.
    If you changed anything in the that script for your game, you should use the above instruction, otherwise all changes will be lost

    Spoiler:
     
    Apparantly you are using Essentials v16, which would have been an important detail for the complete script. In thatcase you really are better of implementing it step by step as I showed above.

    You can try and change line 804
    Code:
    class PokemonPartyScreen
    to
    Code:
    class PokemonScreen
    I don't know whether this will fix the issue or not. If it doesn't I recommend resetting the Party Screen script to the original and making the changes manually

    Original Code:
    Spoiler:
     
    Nope, the script I send you is working fine with v17 of Essentials. I'm pretty sure you are using v16 and would need to make some adjustments
     
    Back
    Top