• 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.

Evolution Triggered by Status Ailment

Sporefame19

Amateur Cartographer
  • 24
    Posts
    12
    Years
    My friend had an idea for a Pokemon who evolves when leveling up and its evolution depends on the status ailment inflicted on it during the last battle. I'm not sure if this is possible. Thanks in advance! :D

    Here is the idea:
    Spoiler:
     
    Well if you want evolved:
    Then go to PokemonEvolution section:
    And change:
    Code:
        when 26 # Custom 1
          # Add code for custom evolution type 1
    to
    Code:
        when 26 # Evolves if has status ailment
          return poke if pokemon.status==level

    Then for in pokemon.txt
    Add the evolution
    Evolutions=IVYSAUR,Custom1,AILMENT (VALUE)

    View section PBStatuses for the values of the ailment

    To change the name of the evolution type, go to section Compiler
    and find:
    Code:
         "Evolutions"=>[0,"*ses",nil,["Unknown",
            "Happiness","HappinessDay","HappinessNight","Level","Trade",
            "TradeItem","Item","AttackGreater","AtkDefEqual","DefenseGreater",
            "Silcoon","Cascoon","Ninjask","Shedinja","Beauty",
            "ItemMale","ItemFemale","DayHoldItem","NightHoldItem","HasMove",
            "HasInParty","LevelMale","LevelFemale","Location","TradeSpecies",
            "Custom1","Custom2","Custom3","Custom4","Custom5","Custom6","Custom7"]],
    Just change Custom1 to whatever you prefer... probably "status" lol.
    but dont forget to change it in pokemon.txt

    For forms, like your friend described, I am unsure as of now.
     
    Thanks again Black. XD Sorry if I'm asking too much. My friend just have weird ideas. Thank :D You really did help. ALOT.
     
    Thanks again Black. XD Sorry if I'm asking too much. My friend just have weird ideas. Thank :D You really did help. ALOT.

    No problem, I need the practice. must get better at scripting lol.
    I have compiled a basic understanding of how the code works so far.
     
    Back
    Top