• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

Disable EXP Gain for Pokémon of a certain OT

Vin_Prismriver

Pokémon Cremisi Portals Game Director
  • 34
    Posts
    11
    Years
    Hi, I have a question!
    How can I disable EXP Gain for Pokémon of a certain OT? Let me explain: there's a character that gives you one of her pokémon with her OT obviously. Now, I'd like THAT only pokémon not to gain experience because it is going to be given back to her.

    I've tried looking at this tutorial on the wiki: https://pokemonessentials.wikia.com/wiki/Tutorial:Temporarily_disable_exp_gain but I can't seem to make it work. Any advice? Thanks in advance.
     
    My advice... Follow that link... Otherwise, add the red part in PokeBattle_Battle:
    Code:
                  # 1.57% increase
                  [COLOR="Red"]exp=0 if thispoke.ot=="Bob"[/COLOR]
                  growthrate=thispoke.growthrate
                  newexp=PBExperience.pbAddExperience(thispoke.exp,exp,growthrate)
                  exp=newexp-thispoke.exp
    Untested, edit accordingly.
     
    Back
    Top